OpenJMS deadlock

View: New views
2 Messages — Rating Filter:   Alert me  

OpenJMS deadlock

by NBW :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am seeing the following deadlock occur infrequently in OpenJMS. This is v0.7.7b1 running under Java 1.6.0_04 server VM on a Windows Server 2003 box.  Here's the thread dump:

[2008-04-30 16:57:43] [info] prio=6 tid=0x58c03400
[2008-04-30 16:57:43] [info] nid=0x9b0
[2008-04-30 16:57:43] [info] in Object.wait()
[2008-04-30 16:57:43] [info] [0x5a4df000..0x5a4dfa98]
[2008-04-30 16:57:43] [info]    java.lang.Thread.State: WAITING (on object monitor)
[2008-04-30 16:57:43] [info]     at java.lang.Object.wait(Native Method)
[2008-04-30 16:57:43] [info]     - waiting on <0x07f0b2c8>
[2008-04-30 16:57:43] [info] (a java.lang.Object)
[2008-04-30 16:57:43] [info]     at java.lang.Object.wait(Object.java:485)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexOutputStream.waitForSpace(MultiplexOutputStream.java:326)
[2008-04-30 16:57:43] [info]     - locked <0x07f0b2c8>
[2008-04-30 16:57:43] [info] (a java.lang.Object)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexOutputStream.flush(MultiplexOutputStream.java:165)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1784)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:691)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream.close(ObjectOutputStream.java:712)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.Channel.invoke(Channel.java:147)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.invoke(MultiplexedManagedConnection.java:352)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexedConnection.invoke(MultiplexedConnection.java:86)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.connector.ManagedConnectionHandle$ConnectionHandle.invoke(ManagedConnectionHandle.java:322)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.net.orb.UnicastDelegate.invoke(UnicastDelegate.java:153)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.net.proxy.Proxy.invoke(Proxy.java:102)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.server.net.RemoteServerSession__Proxy.start(RemoteServerSession__Proxy.java:463)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.net.JmsSessionStubImpl.start(JmsSessionStubImpl.java:289)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsSession.start(JmsSession.java:924)
[2008-04-30 16:57:44] [info]     - locked <0x08e88890>
[2008-04-30 16:57:44] [info] (a java.lang.Object)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsSession.<init>(JmsSession.java:217)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsQueueSession.<init>(JmsQueueSession.java:80)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsQueueConnection.createQueueSession(JmsQueueConnection.java:106)




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
openjms-user mailing list
openjms-user@...
https://lists.sourceforge.net/lists/listinfo/openjms-user

Re: OpenJMS deadlock

by Tim Anderson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try running the beta-2 snapshot from:
     http://openjms.sourceforge.net/openjms-0.7.7-beta-2-SNAPSHOT.zip

-Tim

NBW wrote:
I am seeing the following deadlock occur infrequently in OpenJMS. This is v0.7.7b1 running under Java 1.6.0_04 server VM on a Windows Server 2003 box.  Here's the thread dump:

[2008-04-30 16:57:43] [info] prio=6 tid=0x58c03400
[2008-04-30 16:57:43] [info] nid=0x9b0
[2008-04-30 16:57:43] [info] in Object.wait()
[2008-04-30 16:57:43] [info] [0x5a4df000..0x5a4dfa98]
[2008-04-30 16:57:43] [info]    java.lang.Thread.State: WAITING (on object monitor)
[2008-04-30 16:57:43] [info]     at java.lang.Object.wait(Native Method)
[2008-04-30 16:57:43] [info]     - waiting on <0x07f0b2c8>
[2008-04-30 16:57:43] [info] (a java.lang.Object)
[2008-04-30 16:57:43] [info]     at java.lang.Object.wait(Object.java:485)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexOutputStream.waitForSpace(MultiplexOutputStream.java:326)
[2008-04-30 16:57:43] [info]     - locked <0x07f0b2c8>
[2008-04-30 16:57:43] [info] (a java.lang.Object)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexOutputStream.flush(MultiplexOutputStream.java:165)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1784)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:691)
[2008-04-30 16:57:43] [info]     at java.io.ObjectOutputStream.close(ObjectOutputStream.java:712)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.Channel.invoke(Channel.java:147)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.invoke(MultiplexedManagedConnection.java:352)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.multiplexer.MultiplexedConnection.invoke(MultiplexedConnection.java:86)
[2008-04-30 16:57:43] [info]     at org.exolab.jms.net.connector.ManagedConnectionHandle$ConnectionHandle.invoke(ManagedConnectionHandle.java:322)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.net.orb.UnicastDelegate.invoke(UnicastDelegate.java:153)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.net.proxy.Proxy.invoke(Proxy.java:102)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.server.net.RemoteServerSession__Proxy.start(RemoteServerSession__Proxy.java:463)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.net.JmsSessionStubImpl.start(JmsSessionStubImpl.java:289)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsSession.start(JmsSession.java:924)
[2008-04-30 16:57:44] [info]     - locked <0x08e88890>
[2008-04-30 16:57:44] [info] (a java.lang.Object)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsSession.<init>(JmsSession.java:217)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsQueueSession.<init>(JmsQueueSession.java:80)
[2008-04-30 16:57:44] [info]     at org.exolab.jms.client.JmsQueueConnection.createQueueSession(JmsQueueConnection.java:106)




------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________ openjms-user mailing list openjms-user@... https://lists.sourceforge.net/lists/listinfo/openjms-user


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
openjms-user mailing list
openjms-user@...
https://lists.sourceforge.net/lists/listinfo/openjms-user