|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message redelivered |
« View previous topic :: View next topic » |
Author |
Message
|
frenchc44 |
Posted: Wed Apr 15, 2009 6:14 am Post subject: Message redelivered |
|
|
Newbie
Joined: 15 Apr 2009 Posts: 2
|
We are using Websphere 6.1 with MQ and MDBs We have a problem where a message seems to be getting redelivered to an MDB that processes messages and runs tasks. There are no errors in our logs to indicate why the message would be redelivered. This doesn't happen on weblogic, only websphere.
The message starts a task that runs for a while, and after a while the same message initiates another task on another MDB thread. The odd thing is that message 1 does not roll back, it is still being processed! So now we have 2 threads running the same task which is very bad.
We are not putting the message twice. Not sure what other info is needed to help, but I can provide anything necessary.
We have set onMessage() to be transaction not supported, so we should not be timing out, plus we see no error messages in any of our logs.
Any help would be much appreciated. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 15, 2009 3:08 pm Post subject: Re: Message redelivered |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
frenchc44 wrote: |
We are using Websphere 6.1 with MQ and MDBs We have a problem where a message seems to be getting redelivered to an MDB that processes messages and runs tasks. There are no errors in our logs to indicate why the message would be redelivered. This doesn't happen on weblogic, only websphere.
The message starts a task that runs for a while, and after a while the same message initiates another task on another MDB thread. The odd thing is that message 1 does not roll back, it is still being processed! So now we have 2 threads running the same task which is very bad.
We are not putting the message twice. Not sure what other info is needed to help, but I can provide anything necessary.
We have set onMessage() to be transaction not supported, so we should not be timing out, plus we see no error messages in any of our logs.
Any help would be much appreciated. |
So you have set transaction not supported. Did you also set autoacknowledge? Did you verify that you did not need a patch on WAS? Raise a PMR!. _________________ MQ & Broker admin |
|
Back to top |
|
 |
frenchc44 |
Posted: Wed Apr 15, 2009 6:44 pm Post subject: Re: Message redelivered |
|
|
Newbie
Joined: 15 Apr 2009 Posts: 2
|
fjb_saper wrote: |
frenchc44 wrote: |
We are using Websphere 6.1 with MQ and MDBs We have a problem where a message seems to be getting redelivered to an MDB that processes messages and runs tasks. There are no errors in our logs to indicate why the message would be redelivered. This doesn't happen on weblogic, only websphere.
The message starts a task that runs for a while, and after a while the same message initiates another task on another MDB thread. The odd thing is that message 1 does not roll back, it is still being processed! So now we have 2 threads running the same task which is very bad.
We are not putting the message twice. Not sure what other info is needed to help, but I can provide anything necessary.
We have set onMessage() to be transaction not supported, so we should not be timing out, plus we see no error messages in any of our logs.
Any help would be much appreciated. |
So you have set transaction not supported. Did you also set autoacknowledge? Did you verify that you did not need a patch on WAS? Raise a PMR!. |
Yes, we have autoacknowledge set. I am raising a PMR. I went through a JMS and transaction trace and didn't see any reason for the message to be delivered twice. Perhaps we need a patch too. Thanks for the input, we'll see what IBM says. |
|
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
|
|
|
|