[rules-dev] Drools-Guvnor on Oracle AS (OC4J) 10.1.3

mamadou.ensi mohamed.ensi at gmail.com
Wed May 19 03:12:05 EDT 2010


Hi,

I finally certified Guvnor on different Application Server (Jboss, Tomcat,
OC4J, Weblogic 11g)
for Jboss and Tomcat their is tutorials but for OC4J and Weblogic I did'nt
find tutorials.

Lets Start:

1/ download oc4j (I use oc4j_extended_101350)
2/ extract the rar file 
3/ Open the file data-source.xml %OC4J_HOME%/J2EE/home/config 
4/ add the following lines
<managed-data-source name="guvnor"
	   connection-pool-name="drools-guvnor"
	   jndi-name="jdbc/OracleDS" />
 <connection-pool name='drools-guvnor'
    num-cached-statements='32'>
    <connection-factory factory-class='org.hsqldb.jdbcDriver'
      user='sa'
      password=''
      url="jdbc:hsqldb:.">
    </connection-factory>
  </connection-pool>

5/ the following JARs are required
  - hsqldb.jar
  - hibernate-annotations.jar
  - hibernate-entitymanager.jar
  - hibernate3.jar
  - jboss-common.jar
  - dom4j.jar
  - commons-logging.jar
  - log4j.jar
  - commons-collections.jar
  - cglib.jar
  - jsf-api.jar
  - jsf-impl.jar

start the server (the first start the server will need a password for
manager)
6/ open the URL: http://localhost:8888/em
7/authentificate with your password

http://n3.nabble.com/file/n828422/image1.png 

8/ go to application tab

http://n3.nabble.com/file/n828422/image2.png 

9/ click on deploy and browse to the war file location

http://n3.nabble.com/file/n828422/image3.png 

10/ click Next and give drools-guvnor as a name

http://n3.nabble.com/file/n828422/image4.png 

11/ click Next
12/ Finally click Deploy

Verify that Guvnor is running well:  http://localhost:8888/drools-guvnor
http://localhost:8888/drools-guvnor 

I hope it's clear
For any questions, contact me
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Guvnor-on-Oracle-AS-OC4J-10-1-3-tp828422p828422.html
Sent from the Drools - Dev mailing list archive at Nabble.com.


More information about the rules-dev mailing list