> 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
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
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
> 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
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
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/
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
> >
- 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:
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]
>>>
&
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
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
> 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
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
13 matches
Mail list logo