Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CDFD9624 for ; Fri, 23 Dec 2011 01:05:52 +0000 (UTC) Received: (qmail 70954 invoked by uid 500); 23 Dec 2011 01:05:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70927 invoked by uid 500); 23 Dec 2011 01:05:52 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 70920 invoked by uid 99); 23 Dec 2011 01:05:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 01:05:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 01:05:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A8F39124441 for ; Fri, 23 Dec 2011 01:05:30 +0000 (UTC) Date: Fri, 23 Dec 2011 01:05:30 +0000 (UTC) From: "Kathey Marsden (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <410285642.41308.1324602330693.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <937532687.41263.1324601971268.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5553) System property for client tracing -Dderby.client.traceDirectory does not work with XADataSource MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-5553: ---------------------------------- Attachment: utilXid.java XATemplate.java Attaching reproduction. See description for run instructions. > 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.0.0 > Reporter: Kathey Marsden > Attachments: XATemplate.java, utilXid.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira