Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 75402 invoked from network); 16 Jun 2008 19:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 19:38:43 -0000 Received: (qmail 43296 invoked by uid 500); 16 Jun 2008 19:38:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 43270 invoked by uid 500); 16 Jun 2008 19:38:38 -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 43233 invoked by uid 99); 16 Jun 2008 19:38:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 12:38:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 19:37:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11C89234C143 for ; Mon, 16 Jun 2008 12:37:45 -0700 (PDT) Message-ID: <1745362818.1213645065071.JavaMail.jira@brutus> Date: Mon, 16 Jun 2008 12:37:45 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3708) setting tracedirectory from the command line does not work In-Reply-To: <1584761968.1212607365215.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-3708: ---------------------------------- Attachment: DERBY-3708_diff.txt Attached is a patch to fix this issue. The problem was that the client NetworkServerControl command was calling the server side method to set the trace directory instead of sending the command to the server. Running tests now. > setting tracedirectory from the command line does not work > ---------------------------------------------------------- > > Key: DERBY-3708 > URL: https://issues.apache.org/jira/browse/DERBY-3708 > Project: Derby > Issue Type: Bug > Components: Network Server, Newcomer > Affects Versions: 10.5.0.0 > Reporter: Kathey Marsden > Assignee: Kathey Marsden > Priority: Minor > Attachments: DERBY-3708_diff.txt > > > I tried > java org.apache.derby.drda.NetworkServerControl tracedirectory /tmp > and got: > Trace directory changed to /tmp. > java org.apache.derby.drda.NetworkServerControl trace on > Trace turned on for all sessions. > Trace turned on for all sessions. > And the trace output was not redirected to the /tmp directory. The tracedirectory command seemed to be ignored. > Setting tracedirectory with the system property derby.drda.traceDirectory or with the NetworkServerControl api seems to work ok. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.