I have trouble with the ThreadManager.
import org.apache.avalon.excalibur.thread.impl.DefaultThreadPool;
import org.apache.avalon.cornerstone.services.threads.ThreadManager;
:
:
mThreadManager = (ThreadManager)serviceManager.lookup(ThreadManager.ROLE);
If I dispose the ThreadPool with ((DefaultThreadPool)mThreadManager.getDefaultThreadPool()).dispose(); so I find in the log file default Worker #23: destroying. but alls thread do not terminated.
"default Worker #1"
:
:
"default Worker #23" daemon prio=5 tid=0x0102a828 nid=0x6b in
Object.wait()[bccff000..bccffc28]
at java.lang.Object.wait(Native Method)
- waiting on <0xd6080458> (a
org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
at java.lang.Object.wait(Object.java:429)
at
org.apache.excalibur.thread.impl.WorkerThread.waitUntilCondition(WorkerThread.java:275)
- locked <0xd6080458> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:129)
- locked <0xd6080458> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)1. Way don't the treads terminated?
2. I can not find the source code for excalibur-thread-1.1.1.
The file
http://www.apache.org/dist/avalon/excalibur-thread/source/excalibur-thread-1.1.1.zip
don't include the source code.I use
excalibur-thread 1.1.1 (bin) avalon cornerstone 1.0 (bin) avalon phonix 4.0.4
Regards,
--
Harald--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
