You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Christopher Kohlhaas <ko...@bonn.edu> on 2002/11/21 17:46:42 UTC
[PATCH] FortressServiceManager
The lookup-method consults the parent ServiceManager if the Service was not
found, while the hasService doesn't.
I also encountered a Race Condition with the disposing of the
TPCThreadManager in ContextManager which results in:
Unexpected condition while releasing worker: Thread[TPCThreadManager Worker #0,5,TPCThreadManager]
java.lang.NullPointerException
at org.apache.excalibur.event.command.EventThreadPool.releaseWorker(EventThreadPool.java:141)
at org.apache.excalibur.thread.impl.WorkerThread.recycleThread(WorkerThread.java:134)
at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:123)
I get the Exception most times but not every time.
First thoughts:
The EventThreadPool gets disposed while the WorkerThreads are still
running (the EventPipeline is still active).
I'll try to inspect this issue further.