On 1/19/11 7:27 PM, Reinwald Warapen wrote:
> On 1/20/2011 12:47 AM, Mark Thomas wrote:
>> On 19/01/2011 19:17, Reinwald Warapen wrote:
>>> I am writing a serializer/deserializer functionality (used in my custom
>>> session manager that extends ManagerBase). When deserializing I get
>>> loads of java.lang.ClassNotFoundException: exceptions. All the classes
>>> for which the exceptions are thrown can be found in my
>>> webapp/WEB-INF/classes. How do I configure it such that the
>>> webapp/WEB-INF/classes are visible to the libs placed in Tomcat/lib.?
>> http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
> I did go through this before posting here. Its mentioned "All unpacked
> classes and resources in |$CATALINA_HOME/lib|, as well as classes and
> resources in JAR files are made visible through this class loader". But
> theres no mention about the visibility of the webapp/WEB-INF/classes to
> the classes in |$CATALINA_HOME/lib.So is there no way to configure the
> same?

Mark's point is that classes in yourApp/WEB-INF/lib (or classes) will
never be visible to tomcat/lib.  Read the classloader hierarchy as
documented to understand why.


p

>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to