Hi all,

I've come across a problem that I haven't found a clear solution yet
(despite some extensive time spent on google & books). If you persist
sessions for example with FileStore, everything is fine & dandy except
for when you start putting custom objects in the session: when I do
so, I get a ClassNotFoundException when tomcat tries to deserialize
the session.

I think that this happens because the Shared class loader doesn't know
about the classes in your webapp and in fact I've managed to make it
work by deploying my classes under $CATALINA_BASE/shared/lib.

This is not an option in one of my webapps though. Is there any way to
solve this under Tomcat 5.5 or Tomcat 6 by configuration? What I mean
is: is there any way to force the usage of a specific webapp
classloader when dealing with persisted sessions?

Thanks in advance,
MM

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

Reply via email to