Why would Message.acknowledge() ever hang?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jason_Dillon
Posted On:   Monday, June 24, 2002 05:59 PM

I am seeing that Message.acknowledge() (ObjectMessage) is hanging and I don't know why. Any clues? Here is the trace from the thread which is hung: "Thread Pool Worker-0" daemon prio=1 tid=0x8f7d868 nid=0x75a4 waiting on monitor [0x4cefe000..0x4ceff870] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at com.swiftmq.tools.requestreply.RequestRegistry.request(RequestRegistry.java:92) at com.swiftmq.jms.SessionImpl.acknowledgeMessage(SessionImpl.java:522) at com.swiftmq.jms.MessageImpl.acknowledge(MessageImpl.java:1490) at com.boldfish.does.worker.service.internal.WorkerInvokerEJB.doProcess(WorkerInvokerEJB.java:241)    More>>

I am seeing that Message.acknowledge() (ObjectMessage) is hanging and I don't know why. Any clues?

Here is the trace from the thread which is hung:

			
"Thread Pool Worker-0" daemon prio=1 tid=0x8f7d868 nid=0x75a4 waiting on monitor [0x4cefe000..0x4ceff870]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:415)
at com.swiftmq.tools.requestreply.RequestRegistry.request(RequestRegistry.java:92)
at com.swiftmq.jms.SessionImpl.acknowledgeMessage(SessionImpl.java:522)
at com.swiftmq.jms.MessageImpl.acknowledge(MessageImpl.java:1490)
at com.boldfish.does.worker.service.internal.WorkerInvokerEJB.doProcess(WorkerInvokerEJB.java:241)



--jason

   <<Less

Re: Why would Message.acknowledge() ever hang?

Posted By:   Andreas_Mueller  
Posted On:   Tuesday, June 25, 2002 02:34 AM

It just waits on a reply. Checking the code it seems the message is delivered by a session listener's onMessage?


Tell me a bit more about the session you've created (ack mode), whether you use ServerSession's, ConnectionConsumer etc pp. It may be that you acknowledge where no acknowledge is expected.
About | Sitemap | Contact