> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: Re: App reloading classloading issue? > > Then whenever you need to reload your application > you are going to get the java.lang.NoClassDefFoundError:
I suspect that the prior instance of the webapp is actually still around, or at least its classloader and some undersirably persistent objects are. When you restart the webapp, another classloader is created for it, and its references to weblogic/rmi/extensions/server/Stub are not castable to instances of the same class from the first classloader. If you can figure out where the references to the prior instances are being maintained, perhaps you can clear them out and allow the older webapp to be completely removed. (Injudicious use of ThreadLocal is a common cause of this problem.) A profiler may help to determine objects are still around from the old copy of the webapp. - 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]