You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2008/01/01 05:49:25 UTC
svn commit: r607800 -
/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org