Evidently, changing my lookup from "java:comp/UserTransaction" to just "UserTransaction" works...

The follow-on question is, is this standard? This seems like moving away from standard J2EE syntax, unless I'm missing something else... I thought I needed to look up these things in "java:comp/" or "java:comp/env/".

Thanks,

Bryan


On Tue, 2003-06-17 at 13:21, Bryan Field-Elliot wrote:
I've been using JBoss 3.0.6+Tomcat 4.1.18 for development, and just upgraded to JBoss 3.2.2RC1 + Tomcat 4.1.24.

Code which previously worked, now suddenly isn't... Specifically, my servlet is trying to look up "java:comp/UserTransaction", and failing.

I do not have any references to UserTransaction in either my web.xml, or in jboss-service.xml. Am I supposed to? (if so, this must be a new requirement in JBoss 3.2).

Thanks,

Bryan


Reply via email to