- Download EAP-6.1.1 from Red Hat Customer Portalhttps://access.redhat.com/downloads/
- Unzip the downloaded EAP-6.1.1 to your choice of location in your hard drive, Installation location will be your SERVER_HOME(eg, /home/{user_name}/{folder name}/jboss-eap-6.1).
- Download BPM Suite 6 from Red Hat Customer Portalhttps://access.redhat.com/downloads/
- Unzip downloaded bpm suite and copy the following directories into your local installation of EAP 6.1 (SERVER_HOME):
- bin
- domain
- modules
- standalone
- Change directory (cd) to your SERVER_HOME/standalone/configuration folder
- Open the standalone.xml and locate the datasources subsystem (<subsystem xmlns="urn:jboss:domain:datasources:1.1">) and add the following subsystem for oracle 11g<subsystem xmlns="urn:jboss:domain:datasources:1.1">
<datasources>
<datasource jndi-name="java:jboss/datasources/jbpmDS" pool-name="jbpmDS" enabled="true" use-java-context="true">
<connection-url>jdbc:oracle:thin:@//{host_name}:{port}/{service_name}</connection-url>
<driver>oracle</driver>
<security>
<user-name>oracleuser</user-name>
<password>oracleuser_password</password>
</security>
</datasource>
<drivers>
<driver name="oracle" module="com.oracle.ojdbc6">
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources> - Move to SERVER_HOME/modules/system/layers/base/com
- Create new folder oracle/ojdbc{x}/main (eg,SERVER_HOME/modules/system/layers/base/com/oracle/ojdbc6/main)
- Create module.xml file with following data
<module
xmlns="urn:jboss:module:1.1" name="com.oracle.ojdbc6">
<properties>
<property
name="jboss.api" value="unsupported"/>
</properties>
<resources>
<resource-root
path="ojdbc6.jar"/>
<!--
Insert resources here -->
</resources>
<dependencies>
<module
name="javax.api" />
<module
name="javax.mail.api" />
<module
name="javax.servlet.api" />
<module
name="javax.servlet.jsp.api" />
<module
name="javax.transaction.api" />
</dependencies>
</module>
- Download oracle jdbc driver (eg,ojdbc6.jar) and put into this location
- Move to SERVER_HOME/standalone/deployments/business-central.war/WEB-INF
- Open jboss-deployment-structure.xml and add the following line<module name="com.oracle.ojdbc6" export="true" services="import" meta-inf="import"/>
- Move to SERVER_HOME/standalone/deployments/business-central.war/WEB-INF/classes/META-INF
- Open persistence.xml
- Update the datasource name, make sure this is the same name you created in the standalone.xml datasource name in step6<jta-data-source>java:jboss/datasources/jbpmDS</jta-data-source>
- Replace the default h2 dialect information with the following code<properties><property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />......</properties>
- Move to SERVER_HOME/standalone/deployments/dashbuilder.war/WEB-INF
- Open jboss-deployment-structure.xml and add the the following code..<deployment><dependencies><module name="com.oracle.ojdbc6" export="true" services="import" meta-inf="import"/>
....
..
</dependencies>
<deployment>
- Open jboss-web.xml and update the jndi name, make sure this is the same name you created in the standalone.xml datasource name in step6 ...<jndi-name>java:jboss/datasources/jbpmDS</jndi-name>
- Make sure you save those above mentioned files as you modified.
- At this point your are done with all the settings, this is the time to test your installation
- Start the EAP severSERVER_HOME/bin/./standalone.sh
- Open your browser and enter the following url..
- Now you can view the Red Hat JBoss BPM Suite 6 Business Central in your browser.
No comments:
Post a Comment