Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the 
discussion

"Re: Drools - Guvnor on jboss 5.1"

To view the discussion, visit: http://community.jboss.org/message/643116#643116

--------------------------------------------------------------
Hi Prashanth, Guvnor has separate war files for different AS versions it 
supports. Take a look at  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.properties 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.properties, 
specifically: 
# for example for AS5: 
#   drools.guvnor.version=5.3.1.Final
#   
drools.guvnor.url=https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.1.Final/guvnor-distribution-wars-5.3.1.Final-jboss-eap-5.1.war

Even tho in jBPM 5.2 we have moved the default AS to AS7, the installer sill 
supports deployment on AS5.1. You would have to go through the above mentioned 
build.properties and change all defaults to the commented AS5 properties. The 
only other thing you would have to do is in  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/persistence.xml
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/persistence.xml
 change 
<property name="hibernate.transaction.manager_lookup_class" 
value="org.jbpm.integration.console.JBPMTransactionManager" />
to
<property name="hibernate.transaction.manager_lookup_class" 
value="org.hibernate.transaction.JBossTransactionManagerLookup" />

and run 
ant clean.demo

ant install.demo (or ant install.demo.noeclipse)
ant start.demo (or ant start.demo.noeclipse)

Hope this helps.   
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/643116#643116]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to