I was wondering whether Tomcat 6.0 still has a classloader
for classes that should be globally visible to all webapps
only?
Not by default. However, you can edit conf/catalina.properties to create any
classloader hierarchy you want.
So I take it:
common.loader = Tomcat's classes/jars visible to both webapps and to itself.
server.loader = only tomcat
shared.loader = only webapps
So if I wanted hibernate-3.0.14.jar to be visible to all webapps I could stick
in in CATALINA_HOME/shared/lib and set shared.loader =
${catalina.home}/shared/lib/hibernate-3.0.14.jar and now it's visible to all
webapps, but not to Tomcat?
Thanks!
- Ole
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]