You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2013/09/04 21:20:54 UTC

[jira] [Resolved] (DERBY-5553) System property for client tracing -Dderby.client.traceDirectory does not work with XADataSource

     [ https://issues.apache.org/jira/browse/DERBY-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden resolved DERBY-5553.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 10.11.0.0
                   10.10.1.3
    
> System property for client tracing -Dderby.client.traceDirectory does not work with XADataSource
> ------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5553
>                 URL: https://issues.apache.org/jira/browse/DERBY-5553
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.8.2.2, 10.9.1.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>              Labels: derby_backport_reject_10_9, derby_triage10_11
>             Fix For: 10.10.1.3, 10.11.0.0
>
>         Attachments: derby-5553_codediff.txt, derby-5553_diff_withtests.txt, utilXid.java, XATemplate.java
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira