| Oracle® SOA Suite Installation Guide for JBoss Application Server 10g Release 3 (10.1.3.3) for UNIX and Microsoft Windows Part Number E12536-01 |
|
|
View PDF |
This chapter provides the requirements and procedures for installing Oracle SOA Suite with JBoss Application Server (JBoss).
This chapter contains the following topics:
See Also:
The following documents after completing installation:Oracle BPEL Process Manager Quick Start Guide
Oracle BPEL Process Manager Order Booking Tutorial
Oracle BPEL Process Manager Developer's Guide
Oracle Application Server Adapter for Files, FTP, Databases, and Enterprise Messaging User's Guide
Oracle Application Server Adapter Concepts
You can install and use Oracle SOA Suite with JBoss.
JBoss enables you to set up, operate, and integrate e-business applications across multiple computing platforms using Web technologies. JBoss includes both the run-time components and the tools to develop and design applications.
Oracle SOA Suite provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite enables services to be created, managed, and orchestrated into composite applications and business processes. Composites enable you to easily assemble multiple technology components into one SOA composite application. Oracle SOA Suite plugs into heterogeneous IT infrastructures and enables enterprises to incrementally adopt SOA.
Oracle Business Rules (Business Rules) and Oracle Adapters plug into the Service Infrastructure, a normalized transport infrastructure, make up the Enterprise Service Bus (ESB). With the addition of Oracle BPEL Process Manager (BPEL) and Human Workflow service components, the suite forms a complete Business Process Management (BPM) platform.
The following components comprise Oracle SOA Suite:
Oracle Enterprise Service Bus (ESB)
Oracle BPEL Process Manager (BPEL)
Human Workflow
Oracle Web Services Manager (OWSM)
Oracle Business Rules
The installation of Oracle SOA Suite for JBoss consists broadly of the following steps:
Create the Oracle SOA Suite schema in the Oracle Database.
This step involves installation of Oracle Database and creation of the required database schemas for the dehydration store for BPEL PM on Oracle Database.
Install Oracle SOA Suite 10.1.3.1 for OC4J.
This comes with an embedded OC4J J2EE container. Further steps will configure this Oracle SOA Suite to work on top of the JBoss.
Apply Oracle SOA Suite Patchset 10.1.3.3 on Oracle SOA Suite 10.1.3.1.
This patchset upgrades the existing 10.1.3.1.0 installation to 10.1.3.3.0.
Configure Oracle SOA Suite on JBoss Version 4.0.5.
This step involves running a command-based script, which will configure the Oracle SOA Suite installed earlier to run on JBoss. The script performs the following:
Creates application server - OracleSOAServer and decision server - DecisionServer
Configures the OracleSOAServer shared libraries with Oracle SOA Suite Binaries.
Creates and configures the required data sources/JMS resources.
Deploys the required J2EE applications for BPEL Console, BPEL Admininstration, Human WorkFlow, ESB, OWSM, and Business Rules.
The above steps, which are further detailed in Installation and Configuration, summarize the installation and configuration of Oracle SOA Suite on the JBoss platform.
Table 1-1 describes the system requirements for using Oracle SOA Suite with JBoss.
Table 1-1 Oracle SOA Suite System Requirements
| Element | Requirement |
|---|---|
|
JBoss Application Server |
Version 4.0.5 + jbossws-1.2.1 |
|
Oracle SOA Suite for OC4J |
Apply SOA Suite patchset 10.1.3.3 on Oracle SOA Suite 10.1.3.1 Note: Refer to Step 2: Install Oracle SOA Suite Basic 10.1.3.1.0 for OC4J for installing Oracle SOA Suite for OC4J. |
|
Web browsers |
Internet Explorer 6.0 or Mozilla Firefox 2.0 |
|
Operating systems |
Microsoft Windows XP, Microsoft Windows 2003, Red Hat Enterprise Linux release 3, and Red Hat Enterprise Linux release 4 Note: See the JBoss Web site for additional details about using these operating systems with the JBoss Application Server. |
|
Dehydration store database |
Oracle Database 10g (10.2.0.2) or higher Note: This certification matrix reflects the Oracle SOA Suite certification on Oracle Application Server, and may vary with the application server being used. Confirm the certification matrix of the application server with Oracle Database version. |
This section describes the steps involved in installing and configuring the Oracle Database, creating a schema in the database, and installing and configuring JBoss.
This section contains the following topics:
Step 3: Create the Oracle SOA Suite Schema in the Oracle Database
Step 4: Apply SOA Suite Patchset 10.1.3.3
Note:
Oracle Database Lite is automatically installed with the Oracle BPEL Process Manager for Developers install type described in this chapter. However, you cannot use Oracle Database Lite as the dehydration store.Step 6: Install JBoss and Configure Oracle SOA Suite for JBoss
Follow these instructions to configure Oracle Database 10g.
Note:
These instructions assume that you have obtained Oracle Database 10g version 10.2.0.1 and Oracle Database 10g Patch version 10.2.0.2.For all other Database versions, refer to the Oracle Documentation Web site at
http://www.oracle.com/technology/documentation/index.html
Install Oracle Database 10g 10.1.0.2.
Open SQL*Plus and log in as a user with the SYSDBA privilege.
Shut down the database:
SQL> SHUTDOWN IMMEDIATE
Install the Oracle Database 10g 10.1.0.5 patch in the same Oracle home in which you installed Oracle Database 10g.
If using Linux only, then log in as the root user and run the following command from the operating system command prompt:
/etc/init.d/init.cssd stop
Start the database in upgrade mode in SQL*Plus:
SQL> STARTUP UPGRADE
Run the following script:
SQL> @ORACLE_HOME/rdbms/admin/catpatch.sql;
Shut down the database:
SQL> SHUTDOWN IMMEDIATE
Restart the database:
SQL> STARTUP
Run the following script:
SQL> @ORACLE_HOME/rdbms/admin/utlrp.sql;
You can download and install the basic Oracle SOA Suite 10.1.3.1 for OC4J from Oracle SOA Suite 10g Software Downloads Web site at
http://www.oracle.com/technology/software/tech/soa/index.html
You must install Oracle SOA Suite into the same directory outside of JBoss. JBoss installation will refer to binaries and property files from this installation. This external installation must be there permanently, it is not a temporary staging area. Even though it also contains OC4J, you will not be starting and stopping it. This is an important prerequisite prior to the JBoss installation.
Note:
In this step, you are required to install only the basic installation of Oracle SOA Suite 10.1.3.1, and not the advanced.
These instructions assume that you have obtained Oracle Database 10g version 10.2.0.1 and Oracle Database 10g Patch version 10.2.0.2. For all other Database versions, refer to the Oracle Documentation Web site at
http://www.oracle.com/technology/documentation/index.html
To create the Oracle SOA Suite schema in the Oracle Database:
Navigate to the Disk1\install\soa_schemas\irca folder in the Oracle SOA Suite installation setup files directory.
Set ORACLE_HOME to point to the Oracle Database installation location. For example,
set ORACLE_HOME=c:\Oracle10g
Enter irca.bat on Windows and ./irca.sh in Linux.
This runs the irca script to create the schemas required for BPEL, ESB, and OWSM.
Enter sys password when prompted.
The SOA schema is loaded into the Oracle Database.
You must download the SOA Suite patchset 10.1.3.3 from OracleMetaLink and then apply the patchset on Oracle SOA Suite 10.1.3.1. Perform the following steps:
Log in to OracleMetaLink at http://metalink.oracle.com. The OracleMetaLink home page is displayed.
Click Patches & Updates. The Patches & Updates page is displayed.
Click Simple Search.
In the Search By field, enter 6148874. The details of the patchset 6148874 are displayed.
Follow the instructions in the patchset to install the patchset on Oracle SOA Suite 10.1.3.1.
Caution:
You should not start/restart the Oracle SOA Suite instance of OC4J server after applying the patch.Shutdown the SOA Suite Post patch upgrade as follows:
WARNING:
Do not start Oracle SOA Server from the Windows Start Menu or by running the SOA_Home\opmn\bin\opmnctl -startall script. These actions are not supported.
Note:
The scripts to configure Oracle SOA Suite on JBoss require that theJAVA_HOME environment parameter be set prior to running the script.Caution:
You should not start/restart the Oracle SOA Suite instance of OC4J server after applying the patch.| For... | Run... |
|---|---|
| Windows XP | SOA_HOME\opmn\bin> opmnctl stopall |
| Linux | SOA_HOME\opmn\bin> ./opmnctl stopall |
You need to download the 6757520 patchset from OracleMetaLink and then apply the patchset on Oracle SOA Suite 10.1.3.3.
Log in to OracleMetaLink at http://metalink.oracle.com. The OracleMetaLink home page is displayed.
Click Patches & Updates. The Patches & Updates page is displayed.
Click Simple Search.
In the Search By field, enter 6757520. The details of the patchset 6757520 are displayed.
Download the p6757520_101330_Generic.zip file for bug 6757520.
Follow the instructions given in the Readme.txt file of patch 6757520 and apply the patch on Oracle SOA Suite 10.1.3.3.
Install JBoss Application Server.
Note:
If installing on Linux, then change the permissions using the commandchmod a+x jboss-4.0.5.GA.Download the Oracle SOA Suite 10.1.3.3 JBoss from Application Server 10g Release 3 (10.1.3.x) Downloads Web site at
http://www.oracle.com/technology/software/products/ias/htdocs/101310.html and unzip to your local machine. The contents of this zip file are extracted to the SOAJBossInstallables folder.
Modify the following mandatory installation properties in the SOAJBossInstallables\cfg\constants.properties file:
Note:
These instructions assume that you have obtained JBoss version 4.0.5.
The directory to which you download the Oracle SOA Suite should be the same host on which JBoss is installed.
Unzip the SOAJBossInstallables folder as a non-root user (same user as used to install Oracle SOA Suite 10.1.3.1 for OC4J). For example, Oracle.
If installing on Linux, then change the permissions to the SOAJBossInstallables folder using the chmod -R 755 SOAJBossInstallables command.
Note:
Mandatory properties cannot have a comment tag or contain blank values. Failure to follow this requirement results in errors during installation. Also, ensure that you enter the appropriate information for each of the fields. Any typo will cause errors during installation.However, the proxy settings properties, such as PROXY_HOST is non-mandatory.
| Property | Description |
|---|---|
JBOSS_HOME |
The directory path in which JBoss is installed.
For example, JBOSS_HOME=C:\jboss-4.0.5.GA |
SOA_HOME |
The directory path in which Oracle SOA Suite is installed.
For example, SOA_HOME=C:\product\10.1.3.1\ OracleSOA_JBoss\ |
DRIVER_TYPE |
The datasource class that the installable utilizes to create datasources for the OracleSOAServer managed server.
For example, DRIVER_TYPE=oracle.jdbc.xa.client.OracleXADataSource |
HOSTNAME |
This is the name of the system in which the database is installed.For example, HOSTNAME=localhost |
PORTNUMBER |
The port to which the database is listening.For example, PORTNUMBER=1521 |
SID |
The name of the databse instance.For example, SID=ORCL |
DEFAULTPORT |
The port where OracleSOAServer is running.For example, DEFAULTPORT=9700 |
RMI_PORT_SOASERVER |
The default RMI port for OracleSOAServer.For example,RMI_PORT_SOASERVER=9099 |
RMI_PORT_DECSERVER |
The default RMI port for DecisionServer.
For example,RMI_PORT_DECSERVER=9599 |
AQ.JMS.ENABLED |
If the value of the property is true, then AQ is enabled; if the value of the property is false, then JBoss JMS is enabled.
For example,AQ.JMS.ENABLED=true |
BPEL.JAASAUTHUSERID |
The user id for orabpel schema in database.For example BPEL.JAASAUTHUSERID=orabpel |
BPEL.JAASAUTHPASSWD |
The password for orabpel schema in database.For example BPEL.JAASAUTHPASSWD=orabpel |
OWSM.JAASAUTHUSERID |
The user id for owsm schema in database.For example OWSM.JAASAUTHUSERID=orawsm |
OWSM.JAASAUTHPASSWD |
The password for owsm schema in database.For example OWSM.JAASAUTHPASSWD=orawsm |
ESB.JAASAUTHUSERID |
The user id for esb schema in database.
For example ESB.JAASAUTHUSERID=oraesb |
ESB.JAASAUTHPASSWD |
The password for esb schema in database.For example ESB.JAASAUTHPASSWD=oraesb |
PROXY_HOST |
The host name of the proxy server.
For example, PROXY_HOST=www-proxy.us.oracle.com |
PROXY_PORT |
The port where the proxy server is running.
For example, PROXY_PORT=80 |
NON_PROXY_HOST |
The list of non-proxy hosts that are divided by a | symbol.
For example, NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost| |
Run the following script from the SOAJBossInstallables\bin folder at the operating system command prompt:
| For... | Run... |
|---|---|
| Windows XP | setup.bat |
| Linux | setup.sh |
Note:
Thesetup.sh script would not have execute privileges. So, run chmod +x setup.sh.This script creates folders called OracleSOAServer and DecisionServer in the JBOSS_HOME\server\ directory. This configures the required applications, database connections, and adapters.
Note:
While running thesetup.bat or setup.sh file, set the evironment variable JAVA_HOME to the SOA_HOME\jdk folder. For example, SOA_HOME\jdk in Microsoft Windows or /SOA_HOME/jdk in Linux. If JAVA_HOME path does not exist, then setup file throws a message asking to set the JAVA_HOME before running the setup file.Installation progress is logged to the SOAJBossInstallables\bin\logs\output.log file.
Apply the jbossws-1.2.1 patch.
By default, Jboss 4.0.5 comes with the Web service deployer 1.0.4(jbossws-1.0.4), there are issues while running Web services using this deployer, hence you need to upgrade to jbossws1.2.1.
You can download jbossws-1.2.1.GA.zip from the JBoss Web Services Download Web site at
http://labs.jboss.com/jbossws/downloads
After the download, follow the instructions given in the Install.txt file, and apply the patch to the already configured OracleSOAServer.
Start JBoss as follows:
| For... | Run... |
|---|---|
| Windows XP | JBOSS_HOME/jboss-4.0.5/bin/startServer.bat -c OracleSOAServer |
| Linux | /JBOSS_HOME/bin/startServer.sh -c OracleSOAServer |
Note:
Do not startOracleSOAServer from the Windows Start Menu or by running the SOA_Home\opmn\bin\opmnctl -startall script. These actions are not supported.(Optional). Start the DecisionServer server as follows:
| For... | Run... |
|---|---|
| Windows XP | JBOSS_HOME\bin\startServer.bat -c DecisionServer |
| Linux | JBOSS_HOME/bin/startServer.sh -c DecisionServer |
Note:
StartingDecisionServer is not mandatory. Decision Service applications needs to be deployed only into the DecisionServer server. Start this server, only if decision service applications are available.(Optional). Commands to stop the OracleSOAServer or DecisionServer are as follows:
Note:
Use these commands to stop OracleSOAServer /DecisionServer.Stop the OracleSOAServer as follows:
| For... | Run... |
|---|---|
| Windows XP | stopServer.bat -s jnp://localhost:${RMI_PORT_SOASERVER} |
| Linux | stopServer.sh -s jnp://localhost:${RMI_PORT_SOASERVER} |
Stop the DecisionServer as follows:
| For... | Run... |
|---|---|
| Windows XP | stopServer.bat -s jnp://localhost:${RMI_PORT_DECSERVER} |
| Linux | stopServer.sh -s jnp://localhost:${RMI_PORT_DECSERVER} |
This section describes the various design-time support functions available on JBoss, for the deployment of J2EE applications in JDeveloper. You can deploy BPEL PM components on JBoss by using the following methods:
You can use ant in the BPEL PM developer prompt to deploy J2EE applications. This section contains the following topics:
Ensure that bpelPlatform is set to jboss_3 in the SOA_HOME\bpel\system\config\collaxa-config.xml file.
Ensure that the following properties are set in SOA_HOME\bpel\utilities\ant-orabpel.properties file:
platform to jboss_3
admin.user to valid user in JBoss realm
admin.password to the password of the above mentioned user
jndi.url to jnp://${HOSTNAME}:${RMI_PORT_SOASERVER}
jndi.InitialContextFactory to org.jnp.interfaces.NamingContextFactory
Note:
If theadmin.user property is not set correctly, then the deployment may throw authentication errors.Follow these instructions to deploy BPEL PM from the developer prompt using ant:
Open a BPEL PM Developer prompt.
Run ant.sh/bat from the SOA_HOME\ant\bin directory of the BPEL application.
Note:
For more information, refer toC:\product\10.1.3.1\OracleSOA_JBoss\bpel\GETTING_STARTED.html.The only exceptions to be noted are as follows:
If the BPEL Process contains any Decision Service applications, UI applications, or Work Flow applications, then these applications will not be automatically deployed in JBoss by the ant script.
The corresponding EAR/WAR files is custom built for the JBoss platform but must be manually deployed on the target server DecisionServer in JBoss.
You can also deploy J2EE applications from JDeveloper. This section contains the following topics:
Download JDeveloper Studio 10.1.3.3 (jdevstudio10133.zip) from Oracle JDeveloper (10.1.3.3) (Build 4157) Web site at
http://www.oracle.com/technology/software/products/jdev/htdocs/soft10133.html
Copy the bpm-services.jar file from the SOA_HOME\bpel\system\services\lib directory to JDEV_HOME\integration\lib directory.
Copy the orabpel-ant.jar file from the SOA_HOME\bpel\lib directory to the JDEV_HOME\integration\lib directory.
Ensure that the following properties are set in the SOA_HOME\bpel\utilities\ant-orabpel.properties file. Ensure that bpelPlatform is set to jboss_3 in the SOA_HOME\bpel\system\config\collaxa-config.xml file.
platform to jboss_3
admin.user to valid user in JBoss realm
admin.password to the password of the above mentioned user
jndi.url to jnp://${HOSTNAME}:${RMI_PORT_SOASERVER}¦
jndi.InitialContextFactory to org.jnp.interfaces.NamingContextFactory
Note:
If theadmin.user property is not set correctly, then the deployment may throw authentication errors.Creating Connections to Oracle SOA Server
Follow the steps below to create an application server connection and an integration server connection:
Create an application server connection of the Standalone OC4J 10.1.3 type.
Choose OC4J standalone as server type as there is no plugin available for JBoss
Ignore errors when testing this connection. This is due to OPMN absent on JBoss
Create an Integration Server connection to hostname:<default_port>. The default port is as mentioned in the constants.properties file.
Choose the above-created Application Server connection
BPEL and ESB should pass when this connection is tested
Follow these instructions to deploy BPEL PM from the developer prompt using JDeveloper:
From JDeveloper, right-click and deploy the BPEL application into the required domain.

To deploy an ESB Services project, right-click and select Register with ESB to the required Integration Server connection.
The only exceptions to be noted are as follows:
If the BPEL Process contains any Decision Service applications, UI applications, or Work Flow applications, then these applications will not be automatically deployed in JBoss by JDeveloper.
The corresponding EAR/WAR files is custom built for JBoss but must be manually deployed on the target server DecisionServer in JBoss.
The configuration steps mentioned in this section are optional and you can perform these only if there is a need:
This section describes the following steps to configure LDAP in JBoss and to enable LDAP authentication for OracleSOAServer:
Navigate to login-config.xml in the JBOSS_HOME\server\OracleSOAServer\conf directory.
Precede the "UsersRolesLoginModule" text with a comment character for application-policy BPELAuthentication.
Remove the comment character for the "LdapLoginModule" text (By default, the "LdapLoginModule" text is commented.)
Save the changes.
Restart OracleSOAServer.
The above step disables the default file-based authentication and enables external LDAP authentication.
Note:
The LdapLoginModule contains default values. Ensure that you change them to customer specific environment values.This section describes the High Availability (HA) support available for Oracle SOA Suite 10.1.3.3 on JBoss. This section contains the following topics:
Ensure that HA setup of Oracle SOA Suite is configured on two nodes on two machines. Let us assume the host names of the two nodes as hostname01 and hostname02.
Follow these instructions to configure HA for Oracle SOA Suite on JBoss:
Configure Oracle SOA Suite on JBoss on hostname01 and hostname02 separately.
Note:
To configure Oracle SOA Suite on JBoss on a host name, refer to "Installation and Configuration".
While configuring ensure that the data source host info property points to the same database in constants.properties for both the nodes.
Install any load balancing software on one of the hosts (hostname01 or hostname02) or some other host, and point http://hostname01:9700 and http://hostname02:9700 using the common load balancing URL (http://<loadbalancer>:9800).
Modify the SOA_HOME\bpel\system\config\collaxa-config.xml file on both hostname01 and hostname02.
Update soapCallbackUrl property in the collaxa-config.xml file to http://<loadbalancer>:9800 so that the soapCallbackUrl property points to the load balancer URL.
Undeploy the ESB design-time application, x-esb-dt.ear, in any one of these hosts, either hostname01 or hostname02, before running OracleSOAServer.
This application should not be running on both the hosts. Failure to undeploy this ESB design-time application (x-esb-dt.ear) might result in producing unwanted errors.
Start OracleSOAServer on both the hostname01 and hostname02 hosts.
Log in to the BPEL Process Manager Console at http://<loadbalancer>:9800/BPELConsole
Log in to the ESB Console at http://<hostname01>:9700/esb (assuming that you have retained ESB design-time (x-esb-dt.ear) application in the hostname01 machine).
Log in to OWSM at
http://<loadbalancer>:9800/ccore/Login.jsp
This section describes the postinstallation verification tasks to be performed, and it contains the following topics:
Perform the following steps to check if the Oracle BPEL Process Manager Console has started:
Navigate to http://localhost:9700/BPELConsole/ or to the location where the software is installed, for example, http://<machine-name>:9700/BPELConsole/. The Oracle BPEL Process Manager Console is displayed.
Log in using admin as the username and password that you configured as per the application authentication policy.
Perform the following steps to check if the Oracle Web Service Manager Console has started:
Navigate to http://localhost:9700/ccore/Login.jsp or to the location where the software is installed, for example, http://<machine-name>:9700/ccore/Login.jsp. The Oracle Web Service Manager Console is displayed.
Log in using admin as the username and password that you configured as per the application authentication policy.
Perform the following steps to check if the Enterprise Service Bus Console has started:
Navigate to http://localhost:9700/esb or to the location where the software is installed, for example, http://<machine-name>:9700/esb. The Enterprise Service Bus Console is displayed.
Log in using admin as the username and password that you configured as per the application authentication policy.
Perform the following steps to check if the BPEL, ESB, OWSM Consoles have started:
Navigate to http://localhost:<default_port>/BPELConsole/ (Or to the location where the software is installed, for example, http://<machine-name>:<default_port>/BPELConsole/. The BPEL Console window is displayed as shown in Figure 1-1.
Navigate to the http://localhost:<default_port>/esb/. The ESB Console window is displayed, as shown in Figure 1-2.
Navigate to the http://localhost:<default_port>/ccore/. The OWSM Console window is displayed, as shown in Figure 1-3.
Note:
The <default_port> is defined in the constants.properties file.Log in to the BPEL Console using admin as the username and password that you configured as per the application authentication policy. Similarly, log in to the ESB and OWSM console. The Oracle Enterprise Manager BPEL Console page is displayed.
Log in to the ESB Console using the username and password, the Oracle Enterprise Manager ESB Console page is displayed.
Log in to the OWSM Console using the username and password, the Oracle Enterprise Manager Web Services Manager Console page is displayed.
Log in to the database and start SQL*Plus.
Run the setup.sql script:
SQL> @Oracle_Home/samples/tutorials/122.DBAdapter/sql/setup.sql;
This script creates and populates the movies table in the database.
Point the database adapter to your database by editing the DbAdapter-ds.xml file in the JBOSS_HOME\server\OracleSOAServer\deploy\ directory and modify the <tx-connection-factory> jndi-name property for Outbound Connection Factories to eis/DB/BPELSamples.
Note:
Refer to Section, "Running Adapter Samples" for more information.Select Start, All Programs, Oracle - Oracle_Home, Oracle SOA Suite, Developer Prompt.
Change to the following directory:
tutorials\122.DBAdapter\SelectAllByTitle
Run the following command:
ant
This compiles and deploys all projects dependent on this tutorial. Projects are deployed into Oracle_Home\bpel\domains\domain_name\deploy.
Select Start, All Programs, Oracle - Oracle_Home, Oracle SOA Suite, BPEL Console.
Click SelectAllByTitle in the Deployed BPEL Processes list.
Refer to the MOVIES table, and enter the movie title on the Initiate page. For example, 'The Aviator'.
Click Post XML Message.
View the results and inspect the instance.
This section contains the following topics:
You should create the required connection factories that are used by BPEL Process Partnerlinks before deploying BPEL Processes using Adapters. Perform the following steps to create the required connection factories:
Navigate to the JBOSS_HOME\server\OracleSOAServer\deploy directory.
Edit the *-ds.xml files for creating new connection factories as required by the resource adapters. For example, MQAdapter-ds.xml for MQ Adapter.
Ensure that the connection factory properties, as shown in Table 1-2, are modified for the required resource adapters.
Table 1-2 Connection Factory Properties
| Adapter Type | Properties |
|---|---|
|
Database |
|
|
FTP |
Note: A new authentication alias must be created for connecting to the FTP server. |
|
Applications |
|
|
AQ |
|
|
JMS |
Note: The |
|
MQ |
|
Ensure that admin.user and admin.password in SOA_HOME\bpel\utilities\ant-orabpel.properties are updated with the credentials of a valid user from the authentication store setup for authentication.Samples can be deployed from the developer prompt using the ant script following the above step.The samples containing only BPEL processes can be fully deployed using the ant script.Samples containing additional components such as Decision Service applications, workflow forms, and UI applications must be deployed in the following manner.
Use the ant script to deploy the BPEL process of the sample.
For each Decision Service application, manually edit the jsps file and the decisionservice.xml file to replace the variables for domain, host the port as required. Generate the war or ear file, and deploy into DecisionServer. Start the application.
For each workflow form application, generate the war or ear file, and deploy into OracleSOAServer. Start the Application.
For each UI Application, manually edit the doApply.jsp to replace the variables for domain, host the port as required. Generate the war or ear file, and deploy into OracleSOAServer. Start the application.
This section describes the limitations, known issues, and troubleshooting tips for Oracle SOA Suite 10.1.3.3 on JBoss version.
Note the following limitations:
JBoss and Oracle SOA Suite 10.1.3.1 should be installed as the same user on Linux and the user should not be a root user.
Note:
When deploying BPEL processes into BPEL Server on JBoss, you only must specify the following two properties in build property files:http.hostname = <SOA_hostname>
http.port = 9700
These properties can be either defined in the build.properties file in your project or in the ant-orabpel.properties file. You can also create a customized build property file, which will overwrite the other two build propery files when properties get loaded by ant.
Once properties are loaded by ant, the order in which the properties are loaded are as follows:
Customized build property file
To use this file when deploying a BPEL project, use the following command:
ant -propertyfile <name>, where <name> is the build property filename created by users.
build.properties file in your BPEL project
If BPEL_HOME environment variable is specified, then BPEL_HOME/utilities/ant-orabpel.properties will be used, otherwise, JDEV_HOME/integration/bpel/utilities/ant-orabpel.properties is loaded by ant, where JDEV_HOME is the JDeveloper installation directory.
It is recommended using build.properties file or customized build property files when deploying BPEL processes using ant.
Note the following known issues:
JMS Adapter throws the following NullPointerException during initialization on non-Oracle platforms:
JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager java.lang.NullPointerException at oracle.tip.adapter.jms.JmsConnectionFactory.<init>(JmsConnectionFactory.java:91) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnectionFactory(JmsManagedConnectionFactory.java:81) at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactoryBindingService.java:128) at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingService.java:65) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
This is a benign error and does not stop the JMS connection factory from initializing.
The following data type binding warnings and errors are displayed during deployment and start of Decision Service (Business Rules) Applications. These errors and warnings can be ignored.
WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for:
{http://xmlns.oracle.com/AutoLoanFlow/CreditRatingAgent}tDecisionServiceError
WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for:
{http://xmlns.oracle.com/AutoLoanFlow/CreditRatingAgent}tDecisionServiceError
WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for:
{http://xmlns.oracle.com/AutoLoanFlow/CreditRatingAgent}tDecisionServiceError
WARN [SchemaBindingBuilder] Type definition not found in schema:
{http://xml.apache.org/xml-soap}Element
WARN [SchemaBindingBuilder] Cannot obtain type binding for:
{http://xml.apache.org/xml-soap}Element
WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for:
{http://xmlns.oracle.com/AutoLoanFlow/LoanAdvisorAgent}tDecisionServiceError
WARN [JAXRPCMetaDataBuilder] Cannot obtain java type mapping for:
{http://xmlns.oracle.com/AutoLoanFlow/LoanAdvisorAgent}tDecisionServiceError
WARN [SchemaBindingBuilder] Type definition not found in schema:
{http://xml.apache.org/xml-soap}Element
WARN [SchemaBindingBuilder] Cannot obtain type binding for:
{http://xml.apache.org/xml-soap}Element
ESB Log Messages
Please ignore the *Priority [Category]* of log messages for ESB components alone. For example,
17:25:54,993 ERROR [STDERR] Mar 17, 2008 5:25:54 PM oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter start *INFO*: Starting.. *Priority :*ERROR * [Category]:*[STDERR]