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 looking in WEB-INF

HTH,
M--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Ron Wheeler" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Sunday, March 04, 2007 4:54 PM
Subject: WEB-INF/lib ignored in Tomcat 6


> It seems that Tomcat 6 is not finding the jars in the application 
> library WEB-INF/lib.
> 
> If I put the spring.jar in the tomcat lib directory it is found.
> If I put it in the application lib directory it is not found.
> 
> If I fix the spring.jar issue, I just get an Class not found error on 
> the next library.
> 
> Mar 4, 2007 4:35:13 PM org.apache.catalina.loader.WebappLoader start
> SEVERE: LifecycleException
> java.lang.ClassNotFoundException: 
> org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
>    at java.net.URLClassLoader$1.run(Unknown Source)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(Unknown Source)
>    at java.lang.ClassLoader.loadClass(Unknown Source)
>    at java.lang.ClassLoader.loadClass(Unknown Source)
>    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Unknown Source)
>    at 
> org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:770)
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to