Hi,
this is a set of patches which improves XA support significantly.
More details are described in the attached jtds_1.2.5_xa_README.txt .
A short summary:
Java sources:
- fixed setting transaction isolation level
- fixed connection interference (closing one connection caused
"XAER_RMFAIL: The resource manager is unavailable." when
accessing another connection.) The test case is in Java,
which is why it is listed here and the actual fix is in the
XA DLL.
- implemented XAResource.setTransactionTimeout()
(mostly taken over from trunk)
- added a getStatus command which fetches status information
from the XA DLL. (mainly used for unit testing)
XA DLL:
- fixed resource leaks
- cleanup when connection is lost (deadlock victim)
- thread records now stored in hash table
Build:
- Supported bulding the DLLs with MS Visual C++ Express.
- Command line build with Windows SDK v7.
- Target platforms x86, x64 and ia64.
- ant script to launch DLL builds
This is a rather large patch and I expect that some things have to be discussed :-)
I noticed some documentation glitches - I'll iron those out and add a further patch for that later.
Best wishes,
Rainer
Anonymous
Patch for XA DLL C sources
Patch for SSO DLL source
Patch for DLL build scripts
Patch for XA Java sources
The XA.sln file (use that on top of the patch)
The SSO.sln file (use that on top of the patch)
Rainer,
thank you for taking the time to provide that patches. Unfortunately I'm not able to test the XA functionality, at the moment. Nevertheless, maybe we could discuss the points you think may be worth it if there is anything special you are concerned about.
Cheers,
momo
Hi,
at the moment I am busy with another project, but I keep an eye on it.
May be we could go through some XA related tracker items and see whether we find someone else whom we can ask to run a few tests in a suitable environment and take a look at the code?
Best wishes,
Rainer