Menu

#146 Operation createReceiver failed / Empty packet was returned

v0.7.6.1
open
client (26)
5
2005-10-10
2005-09-22
No

Could someone let me know what are the possible
causes of the following exception?

My customer environment is openJMS 7.6.1.

Knowing the cause will help me decide if it worth trying
to reconnect, or to kill my process altogether and get
someone to check the openJMS server.

Thanks.

java.io.InterruptedIOException: Empty packet was
returned
at
com.anite.connect.jms.ConnectionMonitoringThread.set
MessageListeners(ConnectionMonitoringThread.java:460)
at
com.anite.connect.jms.ConnectionMonitoringThread.run
(ConnectionMonitoringThread.java:78)
Caused by: javax.jms.JMSException: Operation
createReceiver failed:
java.io.InterruptedIOException: Empty packet was
returned
at
org.exolab.jms.client.mipc.IpcJmsSessionStub.checkRe
ply(IpcJmsSessionStub.java:844)
at
org.exolab.jms.client.mipc.IpcJmsSessionStub.createRe
ceiver(IpcJmsSessionStub.java:338)
at org.exolab.jms.client.JmsQueueSession.addReceiver
(JmsQueueSession.java:244)
at
org.exolab.jms.client.JmsQueueSession.createReceiver
(JmsQueueSession.java:149)
at
org.exolab.jms.client.JmsQueueSession.createReceiver
(JmsQueueSession.java:114)
at
com.anite.connect.jms.ConnectionMonitoringThread.set
MessageListeners(ConnectionMonitoringThread.java:456)
... 1 more

Discussion

  • Tim Anderson

    Tim Anderson - 2005-10-10
    • labels: --> client
    • milestone: --> v0.7.6.1
    • assigned_to: nobody --> tanderson
     
  • Tim Anderson

    Tim Anderson - 2005-10-10

    Logged In: YES
    user_id=557161

    It typically indicates that the physical connection to the server
    has been lost.

    You can verify this by registering an ExceptionListener with the
    Connection instance e.g:
    connection.setExceptionListener(new ExceptionListener() {
    public void onException(JMSException exception) {
    exception.printStackTrace();
    }
    };

     

Log in to post a comment.