JBoss.orgCommunity Documentation
This chapter provides details of the pre-requisites for using the RiftSaw BPEL project, and how to install the engine into a JBossAS environment.
The examples distributed with RiftSaw are split into two categories, quickstarts that are pure BPEL that can run directly in the JBossAS server, and ESB based examples that require JBossESB. If you only want to use the pure BPEL examples, then JBossESB will not be required.
If you have previously installed RiftSaw-2.0-M1, then you will need to undeploy this version using the
ant undeploy command from the install
folder of the M1
distribution. This is due to database schema changes.
Unpack the JBossAS installation into the required location.
This is only required if you want to run the ESB/BPEL examples.
Unpack the JBossESB installation into a location alongside the JBossAS installation. Then follow the instructions in the JBossESB installation (install/readme.txt), to deploy JBossESB into the JBossAS environment.
Unpack the RiftSaw distribution into a location alongside the JBossAS installation.
ant deploy -Ddatabase=....
to deploy
RiftSaw to JBossAS. The list of available databases, and how they should be configured,
is explained in the following sub-section.
ant deploy-esb-examples
to
install the BPEL/ESB examples into the JBossESB samples/quickstart folder.
To de-install the RiftSaw distribution,
ant undeploy -Ddatabase=....
to remove
RiftSaw from JBossAS. The database option should specify the same value used
during installation of RiftSaw.
ant undeploy-esb-examples
to
remove the BPEL/ESB examples from the JBossESB samples/quickstart folder.
The following "in-memory" databases are available. If just evaluating the capabilities of RiftSaw, it is recommended that one of these options is used to reduce the time taken to get RiftSaw up and running.
Other databases available, that require further configuration details, include:
The configuration properties for these database options can be found in the
${RiftSaw}/db/jdbc
folder. These properties need to be
specified before executing the ant deploy -Ddatabase=...
command.
If you want to upgrade the web service stack for JBoss AS, in the ${RiftSaw}/install folder, just run command as following:
ant deploy -Ddatabase=... -Dws.stack=... -Dws.version=...
It will help you download the web service stack, and then upgrade it for JBoss AS.