JBoss Community

Re: Drools - Guvnor on jboss 5.1

created by Tihomir Surdilovic in jBPM - View the full discussion

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, 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 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

Start a new discussion in jBPM at Community