Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83485 invoked from network); 15 Jun 2007 15:55:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jun 2007 15:55:48 -0000 Received: (qmail 61035 invoked by uid 500); 15 Jun 2007 15:55:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61000 invoked by uid 500); 15 Jun 2007 15:55:50 -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 60983 invoked by uid 99); 15 Jun 2007 15:55:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 08:55:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 08:55:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D1D67141AA for ; Fri, 15 Jun 2007 08:55:26 -0700 (PDT) Message-ID: <26512704.1181922926247.JavaMail.jira@brutus> Date: Fri, 15 Jun 2007 08:55:26 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1381) Document ij.exceptionTrace property In-Reply-To: <21774973.1149613709953.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-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505281 ] Kathey Marsden commented on DERBY-1381: --------------------------------------- patch looks fine to me > Document ij.exceptionTrace property > ----------------------------------- > > Key: DERBY-1381 > URL: https://issues.apache.org/jira/browse/DERBY-1381 > Project: Derby > Issue Type: Improvement > Components: Documentation > Affects Versions: 10.1.2.1 > Reporter: Kathey Marsden > Assignee: Laura Stewart > Priority: Trivial > Attachments: derby1381.diff, rtoolsijproprefexceptiontrace.html > > > The ij.exceptionTrace property can be used to show full stack traces with ij. > It would be good to document it so users know how to print the full stack trace when reporting issues and to help developers debug issues reported in ij. > Below is an example: > $ java -Dij.exceptionTrace=true org.apache.derby.tools.ij > ij version 10.2 > ij> connect 'jdbc:derby:wombat'; > ERROR XJ004: Database 'wombat' not found. > SQL Exception: Database 'wombat' not found. > at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:44) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:87) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:93) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:172) > at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConnection.java:1955) > at org.apache.derby.impl.jdbc.EmbedConnection.(EmbedConnection.java:254) > at org.apache.derby.impl.jdbc.EmbedConnection30.(EmbedConnection30.java:72) > at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java:73) > at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:200) > at java.sql.DriverManager.getConnection(DriverManager.java:512) > at java.sql.DriverManager.getConnection(DriverManager.java:140) > at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java:873) > at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java:723) > at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java:553) > at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:289) > at org.apache.derby.impl.tools.ij.Main.go(Main.java:207) > at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:173) > at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:55) > at org.apache.derby.tools.ij.main(ij.java:60) > ij -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.