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?
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 lecMns
B'lore
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?
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 lecMns
B'lore