[ openjms-Bugs-669698 ] TestBug888 fails for 0.7.4 pre-release
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #669698, was opened at 2003-01-17 12:00 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669698&group_id=54559 Category: None Group: v0.7.4 >Status: Closed >Resolution: Fixed Priority: 9 Submitted By: Tim Anderson (tanderson) Assigned to: Tim Anderson (tanderson) Summary: TestBug888 fails for 0.7.4 pre-release Initial Comment: TestBug888 is failing in the 0.7.4 pre-release for the tcp connector. This tests Session.commit() and Session.rollback(), when invoked by a MessageListener. ---------------------------------------------------------------------- >Comment By: Tim Anderson (tanderson) Date: 2003-01-18 03:07 Message: Logged In: YES user_id=557161 This was occuring due to the 'oneway' style of messaging used by the tcp and http connectors. The IpcJmsSessionSender and HttpJmsSessionSender classes were sending messages to the clients without waiting for a response. For transacted sessions, this meant that the client session could get out of sync with the server session - e.g if the server sent 2 messages down the wire and the client committed after the first, the server would think that both messages had been committed. The above classes, now wait for a reply from their clients before returning, which essentially single threads messaging between the client and server session instances. ---------------------------------------------------------------------- Comment By: Tim Anderson (tanderson) Date: 2003-01-17 14:55 Message: Logged In: YES user_id=557161 Also fails for the http connector. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669698&group_id=54559