-
1. Re: Drools - Guvnor on jboss 5.1
tsurdilovic Dec 24, 2011 9:25 AM (in response to pras_karnam)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.
-
2. Re: Drools - Guvnor on jboss 5.1
pras_karnam Dec 26, 2011 10:54 PM (in response to tsurdilovic)Works , Thanks a lot Tihimor.
Regards
Prashanth Karnam