[jboss-dev-forums] [Design of EJB 3.0] - Re: ejb3 user transaction and serlvets

wolfc do-not-reply at jboss.com
Mon Dec 1 09:43:51 EST 2008


Yup, the injection of UserTransaction is a bug. It should always happen by lookup into JNDI.

"adrian at jboss.org" wrote : It's populated when it's populated, which could be never if there are no listeners configured. 
  | So the NPE is wrong.
That's ludicrous, the UserTransactionRegistry should always be regardless of listeners. The UserTransactionRegistry itself has the check for an empty listener list. So configuration error.

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

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



More information about the jboss-dev-forums mailing list