Not starting with j2ee.jar in /lib direcotry
Hello, I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. It did not start when I put in jre/lib/ext as well. Why? I need some classes to use JavaMail. Could you help me, please? Thanks in advance, al.
Re: Not starting with j2ee.jar in /lib direcotry
put it under /yourApp/WEB-INF/lib directory if you want use it in yourApp. Tim Jian 3833 Farragut Ave. Kensington, MD 20895 Phone: 301-949-4400 Ext. 112 Fax: 301-929-5728 Email: [EMAIL PROTECTED] "Alexandre Alvarez Martini To: <[EMAIL PROTECTED]> Santos" cc: <[EMAIL PROTECTED] Subject: Not starting with j2ee.jar in /lib direcotry ot.com> 03/31/2003 05:22 PM Please respond to "Tomcat Users List" Hello, I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. It did not start when I put in jre/lib/ext as well. Why? I need some classes to use JavaMail. Could you help me, please? Thanks in advance, al. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Not starting with j2ee.jar in /lib direcotry
Hello Tim, Thank you for the advice. Well, it started but I got something like this: WebappClassLoader: validateJarFile(...\WEB-INF\lib\j2ee.jar) - jar not loaded. Offending class: javax/servlet/Servlet.class Would it be a problem with j2ee.jar file? Will the application work properly? And more: now I got the NoClassDefFoundError: javax/mail/Address (which is the reason for trying to put j2ee.jar in common\lib). To avoid it, I had to put mail.jar (in theory, it would not be necessary) in the WEB-INF\lib too. Any suggestion? Thank you very much, al. - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 12:26 PM Subject: Re: Not starting with j2ee.jar in /lib direcotry > > put it under /yourApp/WEB-INF/lib directory if you want use it in yourApp. > > Tim Jian > > 3833 Farragut Ave. > Kensington, MD 20895 > Phone: 301-949-4400 Ext. 112 > Fax: 301-929-5728 > Email: [EMAIL PROTECTED] > > > > "Alexandre > Alvarez Martini To: <[EMAIL PROTECTED]> > Santos" cc: > <[EMAIL PROTECTED]Subject: Not starting with j2ee.jar in /lib direcotry > ot.com> > > 03/31/2003 05:22 > PM > Please respond to > "Tomcat Users > List" > > > > > > > Hello, > I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. > It did not start when I put in jre/lib/ext as well. > Why? > I need some classes to use JavaMail. > Could you help me, please? > Thanks in advance, > al. > > > > > > > > - > 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]
Re: Not starting with j2ee.jar in /lib direcotry
I believe that using j2ee.jar will screw with Tomcat's own codebase. You should use a JavaMail extension instead See http://java.sun.com/products/javamail/ to download just the JavaMail extension. R Alexandre Alvarez Martini Santos wrote: Hello, I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. It did not start when I put in jre/lib/ext as well. Why? I need some classes to use JavaMail. Could you help me, please? Thanks in advance, al. A R K E M E D I A T E C H N O L O G I E S L T D VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21 4RG http://www.arkemedia.com mailto:[EMAIL PROTECTED] Tel : +44 1256 869 200 Fax : +44 1256 329 119 The information in this e-mail and in any attachments is confidential and is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or a person responsible for passing it on to the intended recipient, you are not authorised to hold a copy of this information and you must therefore not disclose, copy, distribute, or retain this message or any part of it. MAILTO:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Not starting with j2ee.jar in /lib direcotry
Hello Ramsay, That's what I'm doing, but it should not be this way. What if I need other classes from j2ee.jar? I put in th WEB-INF\lib but a msg( which I described in my previous mail) What do you think? thanks, al. - Original Message - From: "Ramsay Domloge" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 7:27 AM Subject: Re: Not starting with j2ee.jar in /lib direcotry > I believe that using j2ee.jar will screw with Tomcat's own codebase. You > should use a JavaMail extension instead See > http://java.sun.com/products/javamail/ to download just the JavaMail > extension. > > R > > > Alexandre Alvarez Martini Santos wrote: > > >Hello, > >I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. > >It did not start when I put in jre/lib/ext as well. > >Why? > >I need some classes to use JavaMail. > >Could you help me, please? > >Thanks in advance, > >al. > > > > > > > > > > > > > A R K E M E D I A T E C H N O L O G I E S L T D > >VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21 4RG > > http://www.arkemedia.com > > mailto:[EMAIL PROTECTED] > > Tel : +44 1256 869 200 Fax : +44 1256 329 119 > > > > The information in this e-mail and in any attachments is confidential and > is intended solely for the attention and use of the named addressee(s). > > > > If you are not the intended recipient, or a person responsible for passing > it on to the intended recipient, you are not authorised to hold a copy of > this information and you must therefore not disclose, copy, distribute, or > retain this message or any part of it. MAILTO:[EMAIL PROTECTED] > > > > > > - > 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]
RE: Not starting with j2ee.jar in /lib direcotry
Howdy, Get the classes you need piecemeal, e.g. mail.jar and activation.jar for JavaMail. Don't use j2ee.jar as it creates conflicts, for example with the javax.servlet packages. If you need all of J2EE, get a J2EE container e.g. JBoss, as tomcat doesn't fill your needs by itself. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Alexandre Alvarez Martini Santos [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 01, 2003 7:01 AM >To: Tomcat Users List; [EMAIL PROTECTED] >Subject: Re: Not starting with j2ee.jar in /lib direcotry > >Hello Ramsay, >That's what I'm doing, but it should not be this way. What if I need other >classes from j2ee.jar? >I put in th WEB-INF\lib but a msg( which I described in my previous mail) >What do you think? >thanks, al. > >- Original Message - >From: "Ramsay Domloge" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Tuesday, April 01, 2003 7:27 AM >Subject: Re: Not starting with j2ee.jar in /lib direcotry > > >> I believe that using j2ee.jar will screw with Tomcat's own codebase. You >> should use a JavaMail extension instead See >> http://java.sun.com/products/javamail/ to download just the JavaMail >> extension. >> >> R >> >> >> Alexandre Alvarez Martini Santos wrote: >> >> >Hello, >> >I put j2ee.jar in /common/lib directory and Tomcat4.1 did NOT start. >> >It did not start when I put in jre/lib/ext as well. >> >Why? >> >I need some classes to use JavaMail. >> >Could you help me, please? >> >Thanks in advance, >> >al. >> > >> > >> > >> > >> >> >> >=== >= >> >> A R K E M E D I A T E C H N O L O G I E S L T D >> >>VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21 4RG >> >> http://www.arkemedia.com >> >> mailto:[EMAIL PROTECTED] >> >> Tel : +44 1256 869 200 Fax : +44 1256 329 119 >> >> >=== >= >> >> The information in this e-mail and in any attachments is confidential >and >> is intended solely for the attention and use of the named addressee(s). >> >> >=== >= >> >> If you are not the intended recipient, or a person responsible for >passing >> it on to the intended recipient, you are not authorised to hold a copy >of >> this information and you must therefore not disclose, copy, distribute, >or >> retain this message or any part of it. >MAILTO:[EMAIL PROTECTED] >> >> >=== >= >> >> >> >> - >> 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]