tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Greinoecker <albert.greinoec...@uibk.ac.at>
Subject Classloader - WEB-INF/lib
Date Wed, 10 Oct 2007 12:42:26 GMT
Hi,

I have a problem concerning the classloader tomcat is using, When I try
to load a class dynamically, which is located witihn a jar-archive
under /WEB-INF/lib with class.forName(<full_class_name>), an exception
is thrown. If the class is located at WEB-INF/classes, everything works
fine.

As classloader I am using:
Thread.currentThread().getContextClassLoader(); Should I use a different
one? What would be the best approach to solve this?

thx,
Albert


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message