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.0.Final, then you will need to drop the database schema
due to changes in the ODE db schema for version 1.3.4. This can be achieved using the scripts in the
${riftsaw}/conf/sql
folder, or configure the jdbc properties file in ${riftsaw}/conf/jdbc
and running:
ant -D{database} drop.riftsaw.schema
from the ${riftsaw}/conf
folder.
Unpack the JBossAS installation into the required location.
This is only required if you want to run the 'samples/esb' folder's 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.
If you intend to install the jbossesb, it must be deployed to the application server before riftsaw.
Unpack the RiftSaw distribution into a location alongside the JBossAS installation.
From the install folder, run:
ant deploy -Ddatabase=... -Dws.stack=... -Dws.version=...
to deploy RiftSaw to JBossAS, specifying a database and mandating the upgrade of the web service stack for JBossAS. The list of available databases, and how they should be configured, is explained in the next sub-section; the list of options for update of the web service stack is discussed in the one following it.
Please note that RiftSaw should not be deployed while JBoss AS is running.
User Guide
's RiftSaw Clustering Support chapter.
To de-install the RiftSaw distribution,
From the install folder, run:
ant undeploy -Ddatabase=....
to remove RiftSaw from JBossAS. The database option should specify the same value used during installation of RiftSaw.
$JBossAS/server/${config}/lib
folder and remove it manually.
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}/conf/jdbc
folder. These properties need to be
specified before executing the ant deploy -Ddatabase=...
command.
Upgrading the web service stack for JBoss AS is now required. The following command:
ant deploy -Ddatabase=... -Dws.stack=... -Dws.version=... -Dorg.jboss.as.config=...
will help you download the web service stack, and then upgrade it for JBoss AS, while deploying RiftSaw.
OR you could go to the jbossws download page http://jboss.org/jbossws/downloads.html to get the specific distro that you want, and doing the upgrade according to $jbossws/docs/Install.txt