[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS

mteira do-not-reply at jboss.com
Wed Oct 11 06:23:10 EDT 2006


It seems that the problem is related with the fact that JBoss is not exposing the UserTransaction under java:comp/UserTransaction (that I think it's the standard or at least recommended place to expose it), it's exposed under the global JNDI namespace as 'UserTransaction'. So, I've made changes as shown in this patch:

### Eclipse Workspace Patch 1.0
  | #P jbpm
  | Index: jpdl/jar/src/main/config/hibernate.cfg.xml
  | ===================================================================
  | RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/main/config/hibernate.cfg.xml,v
  | retrieving revision 1.11
  | diff -u -r1.11 hibernate.cfg.xml
  | --- jpdl/jar/src/main/config/hibernate.cfg.xml	22 Sep 2006 14:23:25 -0000	1.11
  | +++ jpdl/jar/src/main/config/hibernate.cfg.xml	11 Oct 2006 10:20:58 -0000
  | @@ -26,7 +26,7 @@
  |      
  |      <!-- JTA transaction properties (begin) ===
  |      <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
  | -    <property name="jta.UserTransaction">java:comp/UserTransaction</property>
  | +    <property name="jta.UserTransaction">UserTransaction</property>
  |      ==== JTA transaction properties (end) -->
  |  
  |      <!-- CMT transaction properties (begin) ===


Regards.


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

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



More information about the jboss-dev-forums mailing list