You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/02/06 21:08:28 UTC

[jira] Resolved: (JAMES-883) Rare Deadlock in pop3server/pop3servertest found on hudson.

     [ https://issues.apache.org/jira/browse/JAMES-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-883.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M1
         Assignee: Norman Maurer

Never saw a deadlock again after we switched to mina sockets.. So I think its safe to close this

> Rare Deadlock in pop3server/pop3servertest found on hudson.
> -----------------------------------------------------------
>
>                 Key: JAMES-883
>                 URL: https://issues.apache.org/jira/browse/JAMES-883
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: POP3Server
>    Affects Versions: Trunk
>            Reporter: Stefano Bagnara
>            Assignee: Norman Maurer
>             Fix For: 3.0-M1
>
>
> Here is the stackdump I took before killing the process.
> [junit] Running org.apache.james.pop3server.POP3ServerTest
>     [junit] Full thread dump Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode):
>     [junit] 
>     [junit] "Worker Pool Worker #3" daemon prio=10 tid=0x089a6090 nid=0x2a in Object.wait() [0xb15ef000..0xb15efc38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xf0e4ae80> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xf0e4ae80> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xf0e4ae80> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #1" daemon prio=10 tid=0x089bcba0 nid=0x28 waiting for monitor entry [0xb1671000..0xb1671b38]
>     [junit] 	at org.apache.james.util.connection.ServerConnection.removeClientConnectionRunner(ServerConnection.java:256)
>     [junit] 	- waiting to lock <0xf0e1c098> (a java.util.ArrayList)
>     [junit] 	at org.apache.james.util.connection.ServerConnection.access$300(ServerConnection.java:50)
>     [junit] 	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:509)
>     [junit] 	- locked <0xf0e1c2c0> (a org.apache.james.util.connection.ServerConnection$ClientConnectionRunner)
>     [junit] 	at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:57)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:118)
>     [junit] 	- locked <0xf0e494b0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #3" daemon prio=10 tid=0x089a4678 nid=0x26 in Object.wait() [0xb16b2000..0xb16b2a38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ef6758> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ef6758> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ef6758> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #1" daemon prio=10 tid=0x089a6680 nid=0x24 in Object.wait() [0xb16f3000..0xb16f3d38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ef66e0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ef66e0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ef66e0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x089a4490 nid=0x22 in Object.wait() [0xb1734000..0xb1734c38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ef4d98> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ef4d98> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ef4d98> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #1" daemon prio=10 tid=0x08889388 nid=0x21 in Object.wait() [0xb1775000..0xb1775bb8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ef4d20> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ef4d20> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ef4d20> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #3" daemon prio=10 tid=0x089a2b90 nid=0x1f in Object.wait() [0xb17f7000..0xb17f7ab8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ec0208> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ec0208> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ec0208> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x089630d0 nid=0x1e in Object.wait() [0xb17b6000..0xb17b6a38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ec0190> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ec0190> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ec0190> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x08580d00 nid=0x1b in Object.wait() [0xb1838000..0xb1838cb8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ebf3d0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ebf3d0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ebf3d0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #1" daemon prio=10 tid=0x0831f998 nid=0x1a in Object.wait() [0xb1879000..0xb1879c38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ebf358> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ebf358> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ebf358> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x0858b108 nid=0x18 in Object.wait() [0xb18ba000..0xb18bab38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ebcda8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ebcda8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ebcda8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #0" daemon prio=10 tid=0x0878aec0 nid=0x16 in Object.wait() [0xb197d000..0xb197da38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7ebcd30> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7ebcd30> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7ebcd30> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x087c4d10 nid=0x15 in Object.wait() [0xb193c000..0xb193cdb8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7eb6fd0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7eb6fd0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7eb6fd0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #0" daemon prio=10 tid=0x087cab30 nid=0x13 in Object.wait() [0xb19ff000..0xb19ffcb8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7eb6f58> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7eb6f58> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7eb6f58> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x087c7058 nid=0x12 in Object.wait() [0xb19be000..0xb19bec38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7eb5820> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7eb5820> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7eb5820> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #0" daemon prio=10 tid=0x08786420 nid=0x10 in Object.wait() [0xb1ac2000..0xb1ac2b38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7eb57a8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7eb57a8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7eb57a8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #2" daemon prio=10 tid=0x0878ba40 nid=0xf in Object.wait() [0xb1a40000..0xb1a40ab8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7e62060> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7e62060> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7e62060> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Worker Pool Worker #1" daemon prio=10 tid=0x0878a3f8 nid=0xe in Object.wait() [0xb1a81000..0xb1a81a38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7e61fe8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.waitForWork(WorkerThread.java:342)
>     [junit] 	- locked <0xb7e61fe8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:106)
>     [junit] 	- locked <0xb7e61fe8> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] 
>     [junit] "Low Memory Detector" daemon prio=10 tid=0x0819cd10 nid=0xb runnable [0x00000000..0x00000000]
>     [junit] 
>     [junit] "CompilerThread1" daemon prio=10 tid=0x0819b470 nid=0xa waiting on condition [0x00000000..0xf8077f00]
>     [junit] 
>     [junit] "CompilerThread0" daemon prio=10 tid=0x0819a640 nid=0x9 waiting on condition [0x00000000..0xf80b8f40]
>     [junit] 
>     [junit] "AdapterThread" daemon prio=10 tid=0x08199810 nid=0x8 waiting on condition [0x00000000..0x00000000]
>     [junit] 
>     [junit] "Signal Dispatcher" daemon prio=10 tid=0x08198a48 nid=0x7 waiting on condition [0x00000000..0x00000000]
>     [junit] 
>     [junit] "Finalizer" daemon prio=10 tid=0x0818d4a0 nid=0x6 in Object.wait() [0xf817c000..0xf817ca38]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7e62528> (a java.lang.ref.ReferenceQueue$Lock)
>     [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
>     [junit] 	- locked <0xb7e62528> (a java.lang.ref.ReferenceQueue$Lock)
>     [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
>     [junit] 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
>     [junit] 
>     [junit] "Reference Handler" daemon prio=10 tid=0x0818bfa0 nid=0x5 in Object.wait() [0xf81bd000..0xf81bddb8]
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	- waiting on <0xb7e04138> (a java.lang.ref.Reference$Lock)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
>     [junit] 	- locked <0xb7e04138> (a java.lang.ref.Reference$Lock)
>     [junit] 
>     [junit] "main" prio=10 tid=0x0807f528 nid=0x1 waiting for monitor entry [0x08042000..0x080433f0]
>     [junit] 	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.dispose(ServerConnection.java:423)
>     [junit] 	- waiting to lock <0xf0e1c2c0> (a org.apache.james.util.connection.ServerConnection$ClientConnectionRunner)
>     [junit] 	at org.apache.james.util.connection.ServerConnection.dispose(ServerConnection.java:209)
>     [junit] 	- locked <0xf0e1c098> (a java.util.ArrayList)
>     [junit] 	at org.apache.james.util.connection.SimpleConnectionManager.disconnect(SimpleConnectionManager.java:291)
>     [junit] 	at org.apache.james.socket.AbstractJamesService.dispose(AbstractJamesService.java:619)
>     [junit] 	at org.apache.james.pop3server.POP3ServerTest.tearDown(POP3ServerTest.java:131)
>     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:136)
>     [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:120)
>     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:225)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
>     [junit] 
>     [junit] "VM Thread" prio=10 tid=0x08189ec8 nid=0x4 runnable 
>     [junit] 
>     [junit] "GC task thread#0 (ParallelGC)" prio=10 tid=0x08101280 nid=0x2 runnable 
>     [junit] 
>     [junit] "GC task thread#1 (ParallelGC)" prio=10 tid=0x08101cc0 nid=0x3 runnable 
>     [junit] 
>     [junit] "VM Periodic Task Thread" prio=10 tid=0x080f8978 nid=0xc waiting on condition 
>     [junit] 
>     [junit] 
>     [junit] Found one Java-level deadlock:
>     [junit] =============================
>     [junit] "Worker Pool Worker #1":
>     [junit]   waiting to lock monitor 0x0818cc14 (object 0xf0e1c098, a java.util.ArrayList),
>     [junit]   which is held by "main"
>     [junit] "main":
>     [junit]   waiting to lock monitor 0x0818cc94 (object 0xf0e1c2c0, a org.apache.james.util.connection.ServerConnection$ClientConnectionRunner),
>     [junit]   which is held by "Worker Pool Worker #1"
>     [junit] 
>     [junit] Java stack information for the threads listed above:
>     [junit] ===================================================
>     [junit] "Worker Pool Worker #1":
>     [junit] 	at org.apache.james.util.connection.ServerConnection.removeClientConnectionRunner(ServerConnection.java:256)
>     [junit] 	- waiting to lock <0xf0e1c098> (a java.util.ArrayList)
>     [junit] 	at org.apache.james.util.connection.ServerConnection.access$300(ServerConnection.java:50)
>     [junit] 	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:509)
>     [junit] 	- locked <0xf0e1c2c0> (a org.apache.james.util.connection.ServerConnection$ClientConnectionRunner)
>     [junit] 	at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:57)
>     [junit] 	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:118)
>     [junit] 	- locked <0xf0e494b0> (a org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread)
>     [junit] "main":
>     [junit] 	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.dispose(ServerConnection.java:423)
>     [junit] 	- waiting to lock <0xf0e1c2c0> (a org.apache.james.util.connection.ServerConnection$ClientConnectionRunner)
>     [junit] 	at org.apache.james.util.connection.ServerConnection.dispose(ServerConnection.java:209)
>     [junit] 	- locked <0xf0e1c098> (a java.util.ArrayList)
>     [junit] 	at org.apache.james.util.connection.SimpleConnectionManager.disconnect(SimpleConnectionManager.java:291)
>     [junit] 	at org.apache.james.socket.AbstractJamesService.dispose(AbstractJamesService.java:619)
>     [junit] 	at org.apache.james.pop3server.POP3ServerTest.tearDown(POP3ServerTest.java:131)
>     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:136)
>     [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:120)
>     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:225)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
>     [junit] 
>     [junit] Found 1 deadlock.
>     [junit] 
> Full thread dump Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode):
> "Thread-119" daemon prio=10 tid=0x08a89d68 nid=0xfb runnable [0xb365d000..0xb365ddb8]
> 	at java.io.FileInputStream.readBytes(Native Method)
> 	at java.io.FileInputStream.read(FileInputStream.java:177)
> 	at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:218)
> 	at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)
> 	at java.lang.Thread.run(Thread.java:595)
> "Thread-118" daemon prio=10 tid=0x08421250 nid=0xfa runnable [0xb369e000..0xb369ed38]
> 	at java.io.FileInputStream.readBytes(Native Method)
> 	at java.io.FileInputStream.read(FileInputStream.java:194)
> 	at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:227)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> 	at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> 	- locked <0xf1d3c540> (a java.io.BufferedInputStream)
> 	at java.io.FilterInputStream.read(FilterInputStream.java:90)
> 	at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)
> 	at java.lang.Thread.run(Thread.java:595)
> "process reaper" daemon prio=10 tid=0x084210c8 nid=0xf9 runnable [0xb361c000..0xb361ca38]
> 	at java.lang.UNIXProcess.waitForProcessExit(Native Method)
> 	at java.lang.UNIXProcess.access$900(UNIXProcess.java:17)
> 	at java.lang.UNIXProcess$2$1.run(UNIXProcess.java:86)
> "Low Memory Detector" daemon prio=10 tid=0x08191fe0 nid=0xb runnable [0x00000000..0x00000000]
> "CompilerThread1" daemon prio=10 tid=0x08190748 nid=0xa waiting on condition [0x00000000..0xf8078148]
> "CompilerThread0" daemon prio=10 tid=0x0818f918 nid=0x9 waiting on condition [0x00000000..0xf80b8dc8]
> "AdapterThread" daemon prio=10 tid=0x0818d7a8 nid=0x8 waiting on condition [0x00000000..0x00000000]
> "Signal Dispatcher" daemon prio=10 tid=0x0818ca68 nid=0x7 waiting on condition [0x00000000..0x00000000]
> "Finalizer" daemon prio=10 tid=0x08181c20 nid=0x6 in Object.wait() [0xf817c000..0xf817cc38]
> 	at java.lang.Object.wait(Native Method)
> 	- waiting on <0xb7e73f60> (a java.lang.ref.ReferenceQueue$Lock)
> 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
> 	- locked <0xb7e73f60> (a java.lang.ref.ReferenceQueue$Lock)
> 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
> 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
> "Reference Handler" daemon prio=10 tid=0x08181870 nid=0x5 in Object.wait() [0xf81bd000..0xf81bdbb8]
> 	at java.lang.Object.wait(Native Method)
> 	- waiting on <0xb7e00240> (a java.lang.ref.Reference$Lock)
> 	at java.lang.Object.wait(Object.java:474)
> 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
> 	- locked <0xb7e00240> (a java.lang.ref.Reference$Lock)
> "main" prio=10 tid=0x080747d0 nid=0x1 in Object.wait() [0x08045000..0x08046ee0]
> 	at java.lang.Object.wait(Native Method)
> 	- waiting on <0xf1d3a1e8> (a java.lang.UNIXProcess)
> 	at java.lang.Object.wait(Object.java:474)
> 	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:115)
> 	- locked <0xf1d3a1e8> (a java.lang.UNIXProcess)
> 	at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:549)
> 	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:480)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1021)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:817)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1657)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:764)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
> 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:698)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:199)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org