Deadlock errors

"Preston" <mcfarlandp-usbnMZt/[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
We’re experiencing deadlocks from within OpenJMS on a fairly consistent
basis. Basically we have two clients running, each submitting and
consuming messages. It appears as if OpenJMS is not blocking properly
and they’re colliding with each other. 

 

Any suggestions on where to start?

 

INFO   | jvm 1    | 2005/02/11 15:44:32 |
org.exolab.jms.persistence.PersistenceException: 

INFO   | jvm 1    | 2005/02/11 15:44:32 | java.sql.SQLException:
[Sybase][ODBC Driver][Adaptive Server Anywhere]Deadlock detected

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
ianywhere.ml.jdbcodbc.IPreparedStatement.executeUpdate(Native Method)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:233)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:233)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.persistence.MessageHandles.addMessageHandle(MessageHandle
s.java:271)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.persistence.RDBMSAdapter.addMessageHandle(RDBMSAdapter.ja
va:451)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.messagemgr.MessageHandleFactory.createPersistentHandle(Me
ssageHandleFactory.java:347)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(MessageMgr.jav
a:378)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:281)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.JmsServerSession.sendMessage(JmsServerSession.java
:350)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.sendMessage(IpcJmsSes
sionConnection.java:325)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.notify(IpcJmsSessionC
onnection.java:133)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100
)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:16
1)

INFO   | jvm 1    | 2005/02/11 15:44:32 | 15:44:32.285 ERROR [server-2]
- Failed to process message

INFO   | jvm 1    | 2005/02/11 15:44:32 | javax.jms.JMSException: Failed
to make message persistent:
org.exolab.jms.persistence.PersistenceException: Failed to add message
handle=Handle :
ID:fc2651b0-bc1f-1004-89ab-34b56e488e37@SL:8133:1108161872265:4

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(MessageMgr.jav
a:397)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:281)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.JmsServerSession.sendMessage(JmsServerSession.java
:350)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.sendMessage(IpcJmsSes
sionConnection.java:325)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.notify(IpcJmsSessionC
onnection.java:133)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100
)

INFO   | jvm 1    | 2005/02/11 15:44:32 |   at
org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:16
1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.