eclipse-ee4j / eclipse-ee4j/genericmessagingra

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

Open
#35 4 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: core ERR: Assignee Priority: Major Type: Bug
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.