[jboss-user] [JBoss Portal] - Re: UserModule via JNDI

thomas.heute@jboss.com do-not-reply at jboss.com
Mon Dec 18 05:35:52 EST 2006


Yes.

You need to open a JTA connection (or reuse one that is already open) before you do the call.


  | UserTransaction ut = (UserTransaction)(initCtx.lookup("java:comp/UserTransaction"));
  | ut.begin();
  | 

Would open one.

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

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



More information about the jboss-user mailing list