Hi,

last friday I got fortress to work, unfortunatly I didn't update the complete excalibur-cvs.
now I did so - I get everything compiled and the test with fortress go through.

but in my project the test of where I use Fortress, I get an deadlock in the dispose()-method.
before updating the cvs it did work.

any ideas where I can dig into the problem ?

thanx for some hints.
Kristian

--
----------------------------------------------------------------------
Jentro AG
Kristian Meier, Developer
----------------------------------------------------------------------
Peter-Henlein-Strasse 28, 85540 Haar/Munich, Germany
Tel. +49 89 462 385 0 mailto: [EMAIL PROTECTED]
Fax +49 89 462 385 29 internet: http://www.jentro.com
----------------------------------------------------------------------
{ smart networks - connect your world }
----------------------------------------------------------------------

    [junit] "main" prio=1 tid=0x0x8053618 nid=0x70da waiting for monitor entry 
[bfffb000..bfffc478]
    [junit]     at java.lang.Thread.join(Thread.java:999)
    [junit]     - waiting to lock <0x44a9d650> (a 
org.apache.excalibur.thread.impl.WorkerThread)
    [junit]     at 
org.apache.excalibur.thread.impl.DefaultThreadControl.join(DefaultThreadControl.java:96)
    [junit]     - locked <0x44aa0c38> (a 
org.apache.excalibur.thread.impl.DefaultThreadControl)
    [junit]     at 
org.apache.excalibur.event.command.AbstractThreadManager.deregisterAll(AbstractThreadManager.java:262)
    [junit]     at 
org.apache.excalibur.event.command.AbstractThreadManager.dispose(AbstractThreadManager.java:276)
    [junit]     at 
org.apache.excalibur.event.command.TPCThreadManager.dispose(TPCThreadManager.java:150)
    [junit]     at 
org.apache.avalon.framework.container.ContainerUtil.dispose(ContainerUtil.java:328)
    [junit]     at 
org.apache.avalon.framework.container.ContainerUtil.shutdown(ContainerUtil.java:105)
    [junit]     at 
org.apache.avalon.fortress.util.ContextManager.dispose(ContextManager.java:326)
    [junit]     at 
org.apache.avalon.fortress.impl.DefaultContainerManager.dispose(DefaultContainerManager.java:301)
    [junit]     at 
com.jentro.connect.server.impl.FortressCommandHandler.dispose(FortressCommandHandler.java:140)
    [junit]     at 
com.jentro.connect.server.xmlrpc.XmlRpcServerContainer.dispose(XmlRpcServerContainer.java:109)
    [junit]     at 
com.jentro.connect.server.xmlrpc.FortressCommandHandlerTest.tearDown(FortressCommandHandlerTest.java:78)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)

    [junit] "VM Thread" prio=1 tid=0x0x8084010 nid=0x70de runnable 
    [junit] "VM Periodic Task Thread" prio=1 tid=0x0x808c990 nid=0x70e1 waiting on 
condition 
    [junit] "Suspend Checker Thread" prio=1 tid=0x0x808d3f8 nid=0x70e2 runnable 

    [junit] Found one Java-level deadlock:
    [junit] =============================
    [junit] "TPCThreadManager Worker #0":
    [junit]   waiting to lock monitor 0x8087f5c (object 0x44aa0c38, a 
org.apache.excalibur.thread.impl.DefaultThreadControl),
    [junit]   which is held by "main"
    [junit] "main":
    [junit]   waiting to lock monitor 0x8087dd4 (object 0x44a9d650, a 
org.apache.excalibur.thread.impl.WorkerThread),
    [junit]   which is held by "TPCThreadManager Worker #0"

    [junit] Java stack information for the threads listed above:
    [junit] ===================================================
    [junit] "TPCThreadManager Worker #0":
    [junit]     at 
org.apache.excalibur.thread.impl.DefaultThreadControl.finish(DefaultThreadControl.java:149)
    [junit]     - waiting to lock <0x44aa0c38> (a 
org.apache.excalibur.thread.impl.DefaultThreadControl)
    [junit]     at 
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:136)
    [junit]     - locked <0x44a9d650> (a org.apache.excalibur.thread.impl.WorkerThread)
    [junit] "main":
    [junit]     at java.lang.Thread.join(Thread.java:999)
    [junit]     - waiting to lock <0x44a9d650> (a 
org.apache.excalibur.thread.impl.WorkerThread)
    [junit]     at 
org.apache.excalibur.thread.impl.DefaultThreadControl.join(DefaultThreadControl.java:96)
    [junit]     - locked <0x44aa0c38> (a 
org.apache.excalibur.thread.impl.DefaultThreadControl)
    [junit]     at 
org.apache.excalibur.event.command.AbstractThreadManager.deregisterAll(AbstractThreadManager.java:262)
    [junit]     at 
org.apache.excalibur.event.command.AbstractThreadManager.dispose(AbstractThreadManager.java:276)
    [junit]     at 
org.apache.excalibur.event.command.TPCThreadManager.dispose(TPCThreadManager.java:150)
    [junit]     at 
org.apache.avalon.framework.container.ContainerUtil.dispose(ContainerUtil.java:328)
    [junit]     at 
org.apache.avalon.framework.container.ContainerUtil.shutdown(ContainerUtil.java:105)
    [junit]     at 
org.apache.avalon.fortress.util.ContextManager.dispose(ContextManager.java:326)
    [junit]     at 
org.apache.avalon.fortress.impl.DefaultContainerManager.dispose(DefaultContainerManager.java:301)
    [junit]     at 
com.jentro.connect.server.impl.FortressCommandHandler.dispose(FortressCommandHandler.java:140)
    [junit]     at 
com.jentro.connect.server.xmlrpc.XmlRpcServerContainer.dispose(XmlRpcServerContainer.java:109)
    [junit]     at 
com.jentro.connect.server.xmlrpc.FortressCommandHandlerTest.tearDown(FortressCommandHandlerTest.java:78)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)

    [junit] Found 1 deadlock.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to