[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-11-05 Thread szhigunov
I have the test case, but when I try to create JIRA bug report I can not see any attachment link. May be I do not have permissions? I tried to contact couple people from JIRA admin list - but did not get any response. View the original post :

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-11-05 Thread timfox
If you send me a link to the JIRA and mail me the test case, I'll attach it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187105#4187105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187105

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-29 Thread gaohoward
There is a XARecoveryTest in the source code, you can have a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185277#4185277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185277

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-29 Thread gaohoward
IMO, unacknowledged messages may be sent twice. In this case after the client reconnects, first thing it should do is a transaction recovery. after the tx is recovered and committed, the message is acked and never will be sent out again. View the original post :

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-29 Thread szhigunov
gaohoward wrote : IMO, unacknowledged messages may be sent twice. In this case after the client reconnects, first thing it should do is a transaction recovery. If that is correct, what would you recommend when two clients read from the same queue? When the first dies, the second will get the

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-29 Thread timfox
szhigunov wrote : gaohoward wrote : IMO, unacknowledged messages may be sent twice. In this case after the client reconnects, first thing it should do is a transaction recovery. | | If that is correct, what would you recommend when two clients read from the same queue? When the first

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-28 Thread timfox
szhigunov wrote : I get the same message received twice; in both cases transaction was committed. | | Here are the steps: | 1) Remote client reads message in XA from the remote JBM queue (transaction one). | 2) Client dies after JBM was prepared, but before commit. | 3) Client starts

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-28 Thread szhigunov
OK, I will try to come up with a test case that is easy to execute. Currently I see the issue in the distributed environment and kill TS from debugger in the middle of two phase commit - not the test case I can send over. BTW, do you guys have any recovery test case I can take a look at?