[jboss-dev-forums] [Design of JBoss jBPM] - Re: Can't deploy processdefinition from GPD into jBPM 3.2 -

tom.baeyens@jboss.com do-not-reply at jboss.com
Thu Jan 18 02:40:56 EST 2007


in the enterprise.ear, the configurations are packaged in a separate jar file called jbpm-configs.jar

these are the relevant properties in the hibernate.cfg.xml

  <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property> 
  |   <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property> 
  |   <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property> 
  |   <property name="hibernate.connection.datasource">java:/JbpmDS</property> 
  |   <property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property> 
  |   <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property> 
  | 

and this is the jbpm.cfg.xml part of the persistence/tx configs

<service name="persistence">
  |   <factory>
  |     <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
  |       <field name="isCurrentSessionEnabled">
  |         <true /> 
  |       </field>
  |       <field name="isTransactionEnabled">
  |         <false /> 
  |       </field>
  |     </bean>
  |   </factory>
  | </service>
  | 

if you change to JTA, you might need to set the isTransactionEnabled property to true.  i don't know these configs at all.  i'll check the docs and get back if i find anything there.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003167#4003167

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003167



More information about the jboss-dev-forums mailing list