> > I'm guessing that:
> >  * sun.misc.Launcher$ExtClassLoader is the bootstrap class loader
> 
> Not quite - the bootstrap class loader is null; the 
> ExtClassLoader is the one that looks in the JRE's lib/ext directory.
> 
> >  * sun.misc.Launcher$AppClassLoader is the system class loader
> >  * org.apache.catalina.loader.StandardClassLoader is the Tomcat
> > 'common' class loader
> >  * org.apache.catalina.loader.WebAppClassLoader is the 
> Tomcat 'webapp'
> > class loader for my project
> >  * java.net.FactoryURLClassLoader is the class loader that 
> I created to
> > load classes out of my JAR plugin
> 
> Those four appear to be correct.
> 
> Can you determine the URLs supported by the last two?  Use 
> the getURLs() API, or poke around in the JMX beans with JConsole.

java.net.FactoryURLClassLoader:
 * jar:file:/etc/BlueVueBatch/BVBDatabases/PostgreSQLDatabase.jar!/

That's my plugin JAR. Should I be using a different URL format?

org.apache.catalina.loader.WebappClassLoader:
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/classes/
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/BVLib.jar
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/Sixnet.jar
 *
file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/antlr-runtime-3.1.2.jar
 *
file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/commons-fileupload-1.2.1
.jar
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/commons-io-1.4.jar
 *
file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/commons-logging-1.0.4.ja
r
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/freemarker-2.3.13.jar
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/log4j-1.2.15.jar
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/ognl-2.6.11.jar
 *
file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/postgresql-8.3-604.jdbc4
.jar
 *
file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/struts2-core-2.1.6.jar
 * file:/var/lib/tomcat6/webapps/BVWeb/WEB-INF/lib/xwork-2.1.2.jar

Third up from the bottom is the one that provides org.postgresql.Driver

~Jonathan

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

Reply via email to