[jboss-user] [JBoss jBPM] - configuring DbPersistenceServiceFactory is not working?

camunda do-not-reply at jboss.com
Fri May 4 05:24:11 EDT 2007


I am trying to configure the DbPersistenceServiceFactory like mentioned in the documentation


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

but the properties are not set on the Factory (I checked it via adding logging).

I tried some variations:


  | <boolean name="isTransactionEnabled" value="false" />
  | <boolean name="isCurrentSessionEnabled" value="true" />
  | 


  | <field name="isTransactionEnabled"><boolean value="false" /></field>
  | <field name="isCurrentSessionEnabled"><boolean value="true" /></field>
  | 


  | <field name="transactionEnabled"><boolean value="false" /></field>
  | <field name="currentSessionEnabled"><boolean value="true" /></field>
  | // (because setter is called setCurrentSessionEnabled)
  | 

But non of them takes effect in the configuration of the factory. What I am doing wrong, how to configure it correctly?

Thanks in advance
Bernd

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

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



More information about the jboss-user mailing list