Hello,

I'm looking for a way to be able to load classes in org.apache.catalina, like in Yoav Shapira's Tomcat Realm example ( http://wiki.apache.org/tomcat/HowTo#head-42e95596753a1fa4a4aa396d53010680e3d509b5 ).

The problem is, when my compiled classes (which wrap that entire operation) are packaged and placed into 'common', I get a NoClassDefFoundError: org/apache/catalina/ServerFactory.

Is there a config that will allow that classloader to access the server's libs?

I *can* load the server libs if I place the same wrapper class into the webapp's classloader, and have privileged=true for the host's context... however this is less than ideal since I would like for the class to be available to all webapps (when the privileged=true privilege is granted).

Thanks,
ken



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

Reply via email to