Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.8.2.2, 10.9.1.0
-
Normal
-
High Value Fix, Newcomer, Patch Available
Description
The client system property -Dderby.client.traceDirectory does not work with ClientXADataSource. No trace files are created if this property is set when making XA Connections.
I am sure it works fine with DriverManager connections and also checked tracing works fine using connection attributes and XA with. ds.setConnectionAttributes("traceDirectory=./traceDir");
I have not checked ClientDataSource or ClientConnectionPoolDataSource.
Attached is a reproduction for this issue.
mkdir ./traceDir
javac -g XATemplate.java utilXid.java
java -Dderby.client.traceDirectory="./traceDir" XATemplate
You will see that traceDir is empty.
This came up when debugging DERBY-5552
Attachments
Attachments
Issue Links
- is related to
-
DERBY-5552 Derby threads hanging when using ClientXADataSource and a deadlock or lock timeout occurs
- Closed