-
1. Re: Tomcat complaining about jboss-javaee.jar @ 5.0.0CR2
jaikiran Dec 23, 2008 1:26 AM (in response to shreyasshinde)As far as i know, you can ignore that INFO message. Tomcat already ships with the servlet jar so it just prints out the message that you are duplicating the class in the javaee jar from JBoss.The real question is, do you really need the jboss-javaee.jar in your application packaging? Which classes are you relying on from this jar during runtime?
-
2. Re: Tomcat complaining about jboss-javaee.jar @ 5.0.0CR2
shreyasshinde Dec 23, 2008 2:18 AM (in response to shreyasshinde)It appears that JBoss's context lookup eventually depends upon javax.transaction.Transaction class and it is for this class that I get a NoClassDefFound exception when the jboss-javaee.jar is not loaded by Tomcat.
As a simple experiment, I moved the servlet implementation (from jboss-javaee.jar) into some other jar and not using it in my application. That seemed to work.
The jboss-j2ee.jar file in JBoss 4.2.2.GA did not have the servlet implemenation.
Is there a formal way to separate these two implementations?
Thanks,
Shreyas -
3. Re: Tomcat complaining about jboss-javaee.jar @ 5.0.0CR2
jaikiran Dec 23, 2008 2:58 AM (in response to shreyasshinde)I see that there is already a JIRA for tracking this https://jira.jboss.org/jira/browse/JBEE-6