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:
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" />
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />
ant install.demo (or ant install.demo.noeclipse)
ant start.demo (or ant start.demo.noeclipse)
Hope this helps.
Works , Thanks a lot Tihimor.