Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto:

> Don't use shared libraries and you shouldn't have this
> problem.  If all of the statics are in your WEB-INF
> directory then you won't have an issue with unloading
> classes and class loaders.
> 

It would be great if could be so simple. But it is not, trust me, my
shared folder is empty, and the common/lib folder contains only jdbc
drivers and javamail implementation (needed by Tomcat if you want to use
JNDI mail sessions). All the libraries of the webapp are in WEB-INF/lib
folder. As I said in previous mail, I tried to reload the distribution
version of Axis (just as is, without other libs) and it causes the
problem. It seems that something occuring during AxisServlet startup (it
looks for his configuration using a complex discovery process) causes
some class of a parent classloader to hold a reference to
WebappClassloader so it cannot be GC'ed when it's reloaded.

Surely it's not a Tomcat problem anyway...

Bye, 
Davide Romanini


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to