|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with disconnecting MDBs and no apparent logging. |
« View previous topic :: View next topic » |
Author |
Message
|
liquid667 |
Posted: Thu Nov 27, 2014 1:40 pm Post subject: Problem with disconnecting MDBs and no apparent logging. |
|
|
Newbie
Joined: 29 Oct 2014 Posts: 4
|
Hi,
I have a jee 6 application running in Glassfish 3.1.2.
In one scenario we use WMQ to act as a pub/sub provider (jms topic with dynamic subscription).
The application runs just fine for a long period of time, but then
without any logging or exceptions we find that the MDB side seems to have
disconnected from the "subscription" in WMQ.
We can see from MQ explorer that the amount of messages increases for the
subscription, but nothing is received on the MDB side.
My main problem is that i cannot see what is happening, because there are no errors or wars in the logs so i cannot find fix the problem.
Is it a common problem with MDBs stop receiving messages?
How is it normally logged, what component, level etc (need to check against log4j config)?
I have now spent a few hours reading up on MDB reconnection and i have checked the application and we have this enabled, 60 retries and 60 seconds apart. It seems from the documentation that also this would be logged, but this is not found in the application or server logs either.
Any support here would be greatly appreciated! |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 27, 2014 11:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Please also check if your app server is using an ExceptionListener on the Connection and whether it is retrying the connection upon exception...., check TCP keep alive values...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
liquid667 |
Posted: Fri Nov 28, 2014 12:39 am Post subject: |
|
|
Newbie
Joined: 29 Oct 2014 Posts: 4
|
Yes, i have checked and yes we have the ExceptionListener in use in the NotificationReceiver MDB.
It however never logs any problems in either server or application logs. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Nov 28, 2014 3:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
liquid667 wrote: |
Yes, i have checked and yes we have the ExceptionListener in use in the NotificationReceiver MDB.
It however never logs any problems in either server or application logs. |
So did you check the reaction time of the ExceptionListener in conjunction with the TCP/IP keep alive time of the box?  _________________ MQ & Broker admin |
|
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
|
|
|
|