• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just found the solution in topic

https://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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic