[jboss-user] [jBPM] - Re: Drools - Guvnor on jboss 5.1

Tihomir Surdilovic do-not-reply at jboss.com
Sat Dec 24 09:25:40 EST 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111224/cecef1e4/attachment.html 


More information about the jboss-user mailing list