RE: /WEB-INF/lib

2009-02-27 Thread Caldarale, Charles R
> From: Mudit Garg [mailto:maxmu...@gmail.com] > Subject: Re: /WEB-INF/lib > > You could set an explicit classpath in tomcat startup script like: Don't ever, ever, ever set CLASSPATH for Tomcat; you will confound the classloader design and end up with all sorts of ClassNotFou

Re: /WEB-INF/lib

2009-02-27 Thread Mudit Garg
Hi, You could set an explicit classpath in tomcat startup script like: for el in $db_drivers_home/*.jar; do CLASSPATH=$el:$CLASSPATH done export CLASSPATH These jars would then be in classpath for all applications though Regards Mudit On Fri, Feb 27, 2009 at

Re: WEB-INF/lib ignored in Tomcat 6

2007-03-04 Thread Martin Gainty
Hi Ron-- .\META-INF\context.xml has a reloadable attribute which must be set to true to tell tomcat to monitor jars in .\WEB-INF\lib http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html also take a look at the delegate attribute to specifically load classes via parent class loader before

RE: WEB-INF/lib ignored in Tomcat 6

2007-03-04 Thread Caldarale, Charles R
> From: Ron Wheeler [mailto:[EMAIL PROTECTED] > Subject: Re: WEB-INF/lib ignored in Tomcat 6 > > Should I add a doc base to the application context? No; docBase should only be used when the app is stored outside of the appBase directory. > > Tomcat auto detects the libs unde

Re: WEB-INF/lib ignored in Tomcat 6

2007-03-04 Thread Ron Wheeler
Rashmi Rubdi wrote: Did you set the environment variables correctly? CATALINA_HOME , should point to the root folder of Tomcat's installation, and JAVA_HOME to JDK's root folder. I screwed up CATALINA_HOME but after correcting it and rebooting the problem remains. Also specify the dire

Re: WEB-INF/lib ignored in Tomcat 6

2007-03-04 Thread Rashmi Rubdi
Did you set the environment variables correctly? CATALINA_HOME , should point to the root folder of Tomcat's installation, and JAVA_HOME to JDK's root folder. Also specify the directory of your project in the docBase attribute of Context definition. Tomcat auto detects the libs under WEB-INF/

Re: WEB-INF/lib/*.jar

2006-11-23 Thread compuin5y313
r 2006 11:16 am Betreff: Re: WEB-INF/lib/*.jar > [EMAIL PROTECTED] a écrit : > > thanks all for your reply. > > > > actually, I have this kind of directory hierarchy: > > myapp/build.properties > > myapp/build.xml > > myapp/web/*.jsp > >

Re: WEB-INF/lib/*.jar

2006-11-23 Thread compuin5y313
- Originalnachricht - Von: David Delbecq <[EMAIL PROTECTED]> Datum: Donnerstag, 23. November 2006 11:16 am Betreff: Re: WEB-INF/lib/*.jar > [EMAIL PROTECTED] a écrit : > > thanks all for your reply. > > > > actually, I have this kind of directory hierarchy:

Re: WEB-INF/lib/*.jar

2006-11-23 Thread David Delbecq
gt; > Gop > > > > ----- Originalnachricht - > Von: "Caldarale, Charles R" <[EMAIL PROTECTED]> > Datum: Mittwoch, 22. November 2006 5:19 pm > Betreff: RE: WEB-INF/lib/*.jar > > >>> From: [EMAIL PROTECTED] >>> &

Re: RE: WEB-INF/lib/*.jar

2006-11-23 Thread compuin5y313
directory. It is really at the correct place, isn't it? Or do I have to specify any path to find WEB-INF/lib/*.jar? thanks for your help. Cheers, Gop - Originalnachricht - Von: "Caldarale, Charles R" <[EMAIL PROTECTED]> Datum: Mittwoch, 22. November 2006 5:19 pm Bet

Re: WEB-INF/lib/*.jar

2006-11-22 Thread Gaurav Kushwaha
Moreover, you should never put your applicaiton jars to common/lib since then those will be loaded by Application classloader and not WebAppClassLoader. This results in serious problems when you are running multiple web apps or upgrading your application's version. On 11/22/06, Caldarale, Charles

RE: WEB-INF/lib/*.jar

2006-11-22 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: WEB-INF/lib/*.jar > > it seems to me that my lib packages which are located under > myapp/web/WEB-INF/lib can not be recognized by Tomcat. Read the servlet spec: WEB-INF must be at the first level of the app deployment directory (or

RE: WEB-INF/lib/*.jar

2006-11-22 Thread Elliott Murray
Should it be: myapp/WEB-INF/lib Sounds like that path may have been set up by an IDE but not mapped in your context. Check your docBase path in your context file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 22 November 2006 15:34 To: Tomcat Users List Subj