• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ee.jar in WEB-INF/lib or not ?

 
M Galevsky
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

When I deploy my webapp on Tomcat v5.5.25, I can read this info:



I have read that it is caused by Servlet implementation duplication in both TOMCAT_HOME\common\lib\servlet-api.jar and WEB-INF\libj2ee.jar. And that I should remove j2ee.jar lib.

Good, but if I remove it, several classes cannot be resolved, namely:

- javax.ejb.*
- javax.transformation.*
- javax.jms.*


My problem is that I failed to find an implementating jar of these classes, so that j2ee.jar still remains required for the build stage.

Any advice ? How you guys deal with that issue ?

Many thanks for your support,

Galevsky.
 
M Galevsky
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just found the solution in topic

http://www.coderanch.com/t/317033/EJB-JEE/java/javax-ejb-EJBObject-cannot-resolved

Tomcat is NOT an EJB container. Let's continue to link with J2ee.jar if I want to use Tomcat, or migrate to JBoss...

Gal'
[ September 25, 2008: Message edited by: M Galevsky ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic