|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
msg not reaching Queue? |
« View previous topic :: View next topic » |
Author |
Message
|
lecmns |
Posted: Fri Mar 08, 2002 5:01 am Post subject: |
|
|
Apprentice
Joined: 26 Dec 2001 Posts: 36
|
folks..
help me out..
I am thoroughly confused..
let me explain my set up..
I have two machines 'A' and 'B'.
'A' is an application server (Weblogic 6.1 on NT)
'B' is an NT machine with MQSeries 5.2
I have an stateless session bean in 'A' who uses a class that extends the JMS APIs and sends messages to 'B'. I have a few classes in 'B' which listens to the queue in 'B' and it picks up, process it and puts it back in the same queue with different properties. The API call in 'A' which has put the request message to 'B' had alread ystarted a listener to pick up the response message put from 'B' after processing. So, this listener in 'A' should pick the response back and leave it to the EJB from where the request was initiated.
This is working but not always.
Sometimes in 'B', the response message is made and put into the queue which I can see from the logs but it looks like it is not reaching the Queue in 'B'. For this reason, my listener in 'A' times out and ends abnormally. I will not get to see the response message put into the queue in 'B' through the MQExplorer even then.. But after sometime, it will appear in the queue in 'B' as if it was stuck somewhere for some reason.
What do you think the reason could be?
I am using MQ JMS APIs
Machine 'B' has 192 MB of RAM and 10 GB HDD.
Machine 'A' has nearly 400 MB of RAM and 10 GB HDD.
Since I have seen it working many times, I don't think there's a technical error in the code. But still, now that it is not consistent, I am doubtful. But am confused too.
In between, I heard that EJB 2.0 does not support creation of a listener as now it starts supporting Message Driven Beans. Is that the case? Will that be the reason?
Guys, help me out..
am stuck!!
MNS |
|
Back to top |
|
 |
Ward |
Posted: Tue Mar 12, 2002 7:18 am Post subject: |
|
|
 Voyager
Joined: 27 Jun 2001 Posts: 98 Location: Europe
|
Why are you using the same queue ? Isn't it possible the reply is taken back of the queue by application B, which fails to process it and puts it back (with backout count = 1) ?
Just a tought...
Ward |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|