Author |
Message
|
Gil77 |
Posted: Wed Feb 16, 2011 3:18 am Post subject: sometimes messages are not read from Queue |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
Websphere Application Server 6.1.0.25
sometimes messages are not read from the queue into the Message Driven Bean.
Most of the time it works, but occasionally it doesn't.
what is causing this problem? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 16, 2011 3:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The issue is caused by the problem which is reported in the logs. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Feb 16, 2011 3:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
maybe it is caused by high solar activity  _________________ Regards, Butcher |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 16, 2011 3:54 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Mr Butcher wrote: |
maybe it is caused by high solar activity  |
Good 'spot'
Gil77, poison messages mean anything to you? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 4:40 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
mqjeff wrote: |
The issue is caused by the problem which is reported in the logs. |
I don't see any error messages in the logs |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 16, 2011 4:42 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gil77 wrote: |
mqjeff wrote: |
The issue is caused by the problem which is reported in the logs. |
I don't see any error messages in the logs |
Queue manager logs and WAS logs show nothing? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 6:03 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
exerk wrote: |
Queue manager logs and WAS logs show nothing? |
I don't have access to Queue Manager. SystemOut.log doesn't show anything. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 6:06 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
no messages also in SystemErr.log |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 16, 2011 6:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gil77 wrote: |
I don't have access to Queue Manager... |
Get access, or get someone who does have access to go through them on your behalf.
Gil77 wrote: |
...SystemOut.log doesn't show anything. |
I find it surprising that WAS does not report a failure of one of its components. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 16, 2011 6:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Gil77 wrote: |
no messages also in SystemErr.log |
So the MDB doesn't report anything when it tries to read the message? It just sometimes ignores them?
And you know that sometimes it doesn't read them because you see them sitting in the queue? Because someone complains that a database hasn't been updated? Because the flying monkeys come to you in the night and tell you?
What are these unread messages? Requests? Replies? If they're replies are they properly identified? Do the messages expire before the MDB can read them?
Better information, better advice. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 6:50 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
Vitor wrote: |
So the MDB doesn't report anything when it tries to read the message?
|
when it works, the messages appear in the log
Vitor wrote: |
It just sometimes ignores them?
|
yes, and when it ignores them, there are no messages in the logs, but we do see them sitting in the queue
Vitor wrote: |
And you know that sometimes it doesn't read them because you see them sitting in the queue?
|
the client application that sends the requests doesn't receive an answer. Eventually there is a time out.
Vitor wrote: |
What are these unread messages? Requests? Replies?
|
yes, requests, formatted in xml |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 16, 2011 6:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Does the MDB always reset any selection parameters or message buffers between reads? Is it, in every circumstance, always looking for the next message on the queue unconditionally? Could a bug in the code be causing it to erroniously seek a specific message it will never find?
Does it ignore specific messages but keep working; will it not read one message but then read the next?
When you say you can see them in the queue, can you see the messages or just the non-zero depth? Can you read the messages with a support pac?
Is the error handling in the MDB foolproof? If it's getting an error from the WMQ get will it report that in all instances? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 16, 2011 6:59 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gil77 wrote: |
...when it works, the messages appear in the log... |
Good so far...
Vitor wrote: |
It just sometimes ignores them? |
Gil77 wrote: |
yes, and when it ignores them, there are no messages in the logs, but we do see them sitting in the queue |
And the MDB ends, or continues running? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 7:37 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
Vitor wrote: |
Does the MDB always reset any selection parameters or message buffers between reads? |
no, the mdb takes a message from the queue if it is called by the AppServer. Nothing else happens. Why do you ask?
Vitor wrote: |
Is it, in every circumstance, always looking for the next message on the queue unconditionally? |
it should be that way.
Vitor wrote: |
Could a bug in the code be causing it to erroniously seek a specific message it will never find? |
no, we don't have selection criteria that I know of.
Vitor wrote: |
Does it ignore specific messages but keep working; will it not read one message but then read the next? |
if we wait 30 minutes or longer; not make a request for 30 minutes, then an error will more likely occur (an error being where the message is ignored). if we start making requests within 30 minutes of each other, no errors will likely occur. When we restart the server, no errors will occur for a while
Vitor wrote: |
When you say you can see them in the queue, can you see the messages or just the non-zero depth? Can you read the messages with a support pac? |
we have a web based client that can look in the queue and read the actual request. |
|
Back to top |
|
 |
Gil77 |
Posted: Wed Feb 16, 2011 7:39 am Post subject: |
|
|
Novice
Joined: 16 Feb 2011 Posts: 16
|
exerk wrote: |
And the MDB ends, or continues running? |
The MDB should continue running. |
|
Back to top |
|
 |
|