Author: fhanik
Date: Mon Dec 31 20:49:24 2007
New Revision: 607800
URL: http://svn.apache.org/viewvc?rev=607800&view=rev
Log:
If we are reloading the context, we must get rid of the old instance manager,
it uses final fields, so we can't issue it a new class loader to the old
instance
Modified:
tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=607800&r1=607799&r2=607800&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Mon Dec 31
20:49:24 2007
@@ -4601,6 +4601,9 @@
log.error( "Error reseting context " + this + " " + ex, ex );
}
+ //reset the instance manager
+ instanceManager = null;
+
// Notify our interested LifecycleListeners
lifecycle.fireLifecycleEvent(AFTER_STOP_EVENT, null);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]