[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

timfox do-not-reply at jboss.com
Thu Jun 21 05:13:31 EDT 2007


UserTransaction is only available in the java: namespace too (see J2EE spec)

In order to run recoverable transactions with different resources (DB and JMS) in a global tx *outside* the application server, you would need to:

a) Have a transaction manager
b) Have a recovery manager

running at the client. 
The transaction manager would also need to have a trusted, reliable file system where it can log at the client side.

So, in other words you would have to recreate half the app sever at the client side to do this - this is almost certainly not something you would want to do.

If you want to enlist more than one resource in a global tx - do it on the app server (write an MBean or EJB or Servlet) where the infrastructure already exists to support this.


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

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



More information about the jboss-user mailing list