> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Classloader Problems: loading webapp classes using commons CL > > This has been the beginning of my problems: the common classes > make direct and indirect references to the webapp-specific classes > during the context loading.
"Doctor, doctor, it hurts when I do this." So stop doing it. You've encountered some of the reasons why putting not-quite-independent classes in the common library is pretty much always a bad idea. The right thing to do is juse leave them in WEB-INF/lib of each webapp. Yes, it eats up a bit more PermGen space, so increase it. It will make your life so much easier. Here's the doc on Tomcat classloading, in case you haven't found it yet: http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]