Mantis - Resin
Viewing Issue Advanced Details
321 minor always 07-19-05 00:00 11-30-05 14:43
ferg  
 
urgent  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.15  
0000321: JMS queue on restart issues
RSN-365
(rep by Guenther Wieser)

we use resin 3.0.x (we have seen the following problem so far on 3.0.10, 3.0.12 and 3.0.14) and have the following problem:

we use jms queue messaging with message driven beans. from time to time, when we restart the server, messages that have already been delivered AND acknowledged are redelivered on startup. we found no way to reproduce this error, sometimes we restart often without this happening, sometimes it happens with every restart.

we also changed from file based jms store to jdbc based jms store using mysql, no changes.

find enclosed the resin-web.xml config, the ejb descriptor, the code for the helper class that sends messages (ApplicationServices.sendMessage() is important here) and the code for one of our message beans (SendFaxMessageBean).

<<...>>
<<...>>
<<...>>
<<...>>

when we tried to solve the problem, we changed the ackowledge mode from AUTO to CLIENT and back, no change in behaviour.


Notes
(0000369)
ferg   
07-19-05 00:00   
JMS session shutdown must wait for threads to exit first.