arindam-bandyopadhyay / issue-test

0 stars 0 forks source link

end() method is only called once on a resource Manager #42

Open arinban opened 6 years ago

arinban commented 6 years ago

In SimpleXAResourceProxy, a boolean prevents to call more than once the end() method on the underlying resource manager. It is a problem when you want to suspend/resume a transaction because in this case there is a serie of start/end (suspend), start(resume)/end(suspend), start(resume)/end(finish), and only the first end() is called. I am using OracleAQ and this generates OracleXAException because after the first resume, the transaction is not suspended and then I get an OracleXAException. One easy fix is to add one line in the start() method to reinitialise the boolean used in the end() method of the ResourceProxy.

Environment

Operating System: All Platform: All

Affected Versions

[current]

arinban commented 6 years ago

Original Issue:https://github.com/javaee/glassfish-genericjmsra/issues/35 Raised By:@glassfishrobot Created at:Wed Jan 14 08:27:17 IST 2009 Assigned To:@glassfishrobot

arinban commented 6 years ago

@glassfishrobot Commented on Wed Jan 14 08:27:17 IST 2009 Reported by alainfaure

arinban commented 6 years ago

@glassfishrobot Commented on Wed Jan 14 08:27:17 IST 2009 Was assigned to binod

arinban commented 6 years ago

@glassfishrobot Commented on Mon Apr 24 13:03:04 IST 2017 This issue was imported from java.net JIRA GENERICJMSRA-35