[JBoss-user] [EJB/JBoss] - Re: UserTransaction and non-default JNDI context.
Thanks for the suggestion, I will look into that. I also thought about making a UserTransaction available from Tomcat's JNDI (eg Tyrex) - but I don't really undersand if or how that would work - could commit/rollback on a UserTransaction that lives in Tomcat affect my beans in JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841399#3841399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841399 --- 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
[JBoss-user] [EJB/JBoss] - Re: UserTransaction and non-default JNDI context.
I downloaded the source for JBoss 3.2.5, and the UserTransaction works the same way, so updating JBoss won't help me in this case. If someone knows a workaround for this situation, I would definitely appreciate hearing it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841285#3841285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841285 --- 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
[JBoss-user] [EJB/JBoss] - UserTransaction and non-default JNDI context.
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