bloritsch 2003/01/23 13:27:42
Modified: fortress/src/java/org/apache/excalibur/fortress/util
ContextManager.java
Log:
desparate hack. ThreadManager does not dispose properly for some reason, but I am
still working on it
Revision Changes Path
1.59 +7 -1
jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextManager.java
Index: ContextManager.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextManager.java,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ContextManager.java 23 Jan 2003 19:53:01 -0000 1.58
+++ ContextManager.java 23 Jan 2003 21:27:42 -0000 1.59
@@ -324,6 +324,12 @@
{
if (getLogger().isDebugEnabled()) getLogger().debug("Shutting down:
" + o);
+ // HACK!!! There is an infinite loop or lockup trying to
+ // shut down the ThreadManager through the dispose method.
+ // I have not been able to track it down yet, but as all
+ // the threads are Daemon threads it is safe to ignore it
+ // for now.
+ if ( o instanceof ThreadManager ) continue;
ContainerUtil.shutdown( o );
}
catch( Exception e )
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>