Hi,
I noticed that, in the build.xml file of jbpm 3.1, the hibernate.cfg.xml file replaced under the build.service.archive target:
<replace file="build/jbpm.sar.cfg.jar.dir/hibernate.cfg.xml"> <replacetoken><![CDATA[ <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpmtest</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password"></property>]]> </replacetoken> <replacevalue><![CDATA[ <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property> <property name="hibernate.connection.datasource">java:/DefaultDS</property>]]> </replacevalue> </replace>