If you want to use JMS, add a jar that just contains JMS classes. Don't assume you can add any jar you want without side effects. If you look inside j2ee.jar, you will find a ton of additional classes besides those for JMS. Among them you will find an older version of Tomcat which, not unexpectedly, corrupts your Tomcat installation when you add it to common\lib.
Cheers, Larry > -----Original Message----- > From: Kawthar Bt M Sulaiman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 18, 2004 4:47 AM > To: [EMAIL PROTECTED] > Subject: Problem using JMS with Tomcat > > > > Hello, > > I'm trying to use Sun Messaging Queue. I use javax.jms package in > my code. I got the j2ee.jar file and put under tomcat common\lib > but this causes a conflict.. my tomcat won't start. If I don't put > the > jar file there, tomcat starts without any problem. However, my code > won't run because cannot find javax.jms classes. > > Please advise how I can use javax.jms packages with tomcat. > > Thanks, > --Kawthar > > Confidential information may be contained in this e-mail and > any files transmitted with it ('Message'). If you are not the > addressee indicated in this Message (or responsible for > delivery of this Message to such person), you are hereby > notified that any dissemination, distribution, printing or > copying of this Message or any part thereof is strictly > prohibited. In such a case, you should delete this Message > immediately and advise the sender by return e-mail. Opinions, > conclusions and other information in this Message that do not > relate to the official business of Maxis shall be understood > as neither given nor endorsed by Maxis. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]