I have a webapp that running in Tomcat that accesses my EJBs that live in a separately-running jBoss. Tomcat has a lot of other webapps that use the default (tomcat's) JNDI service, so I have to use Context ctx = new InitialContext(jBossJndiProperties); to access my EJBs. This works fine except for the UserTransaction. When I call begin() on my Transaction, I get anonymous wrote : javax.transaction.SystemException: java.lang.RuntimeException: UT factory lookup failed: javax.naming.NameNotFoundException: Name UserTransactionSessionFactory is not bound in this Context I searched around on the web, and it would seem that the org.jboss.tm.usertx.client.ClientUserTransaction builds its own JNDI Context using the default InitialContext constructor.
Is there a workaround that would somehow let pass in a Context, or provide some other mechanism to allow the ClientUserTransaction to use my non-default JNDI Context? I'm using jBoss 2.4.10, is the functionality I need provided in more recent versions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841244#3841244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841244 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
