[jboss-user] [JBoss jBPM] - Re: problem when traversing to end state

twiceknightly do-not-reply at jboss.com
Wed Jan 23 08:43:59 EST 2008


As an experiment I set the TransactionAttribute on my EJB to NotSupported.  Surprizingly it worked without any problems.  What really worries me is I have the hibernate config given below tying hibernate into JTA!  



  |   <jbpm-context>
  |     <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
  | 		<factory>
  | 			<bean class="org.jbpm.persistence.db.DBPersistenceServiceFactory">
  | 				<field name="isCurrentSessionEnabled">
  | 					<false/>
  | 				</field>
  | 				<field name="isTransactionEnabled">
  | 					<false/>
  | 				</field>
  | 			</bean>
  | 		</factory>
  | 	</service>
  |     <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
  |     <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
  |     <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
  |     <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
  |     <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
  |   </jbpm-context>
  | 

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

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



More information about the jboss-user mailing list