You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Naden <Da...@sas.com> on 2003/06/26 20:44:20 UTC

Tomcat's classloaders

I have a slick little JSP script that dumps the class/jar files found by the various classloaders:  boot, extension, system, and application.  But I'm aware that Tomcat also has it's own set of class loaders.  Is there a way to identify these from a JSP script, so that I can actually see what Tomcat is loading?

thanks, Tomcat gang.

-Dave Naden



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat's classloaders

Posted by Bill Barker <wb...@wilshire.com>.
This is a Tomcat-specific implementation note:  Currently all of the
Tomcat-Specific ClassLoaders in 4.1.x extend URLClassLoader.  Therefore, you
should be able to walk the tree and cast getParent() to a URLClassLoader and
get any information from there.

If you are using TC 3.x, then the answer may be different.

"Dave Naden" <Da...@sas.com> wrote in message
news:590086B5F26F294298B8C8C5C43619440C9FA6@merc16.na.sas.com...

I have a slick little JSP script that dumps the class/jar files found by the
various classloaders:  boot, extension, system, and application.  But I'm
aware that Tomcat also has it's own set of class loaders.  Is there a way to
identify these from a JSP script, so that I can actually see what Tomcat is
loading?

thanks, Tomcat gang.

-Dave Naden




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org