tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Pham <>
Subject Tomcat 6.0.18 & JavaEE 5/EJB3.0
Date Sun, 17 Aug 2008 21:50:21 GMT

I'm trying to develop a web app using JDK1.6 and Tomcat 6.0.18 and JPA.  When creating a new
web app in Netbeans 6.1, I chose the Java EE 5 version.  Then I proceed to create Entity Classes
from Databases which were successful.  If I try to create JSF pages from Entity Classes, I
The class javax.transaction.UserTransaction is unavailable. Add an appropriate jar file ...

After adding javaee.jar from Glassfish v2 into my web app and deployed the web app, I got
this error:
INFO: Illegal access: this web application instance has been stopped already.  Could not load
java.lang.Object.  The eventual following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the illegal access, and
has no functional impact.
        at org.apache.catalina.loader.WebappClassLoader.loadClass(
        at org.apache.catalina.loader.WebappClassLoader.loadClass(

I think it's because of the javaee.jar causing conflict with tomcat's jar files.

I know that Tomcat is only a web container but is there a way I can implement JavaEE5/EJB3.0
for full Persistence support without having to switch to Geronimo 2.x or Glassfish v2/v3?
 (I think this is a stupid question but I just want to know my options :) I rather not switch
to Glassfish if I don't have to because of default directory browsing Glassfish has :D


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message