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)" <de...@db.apache.org> on 2006/06/06 19:08:29 UTC
[jira] Created: (DERBY-1381) Document ij.exceptionTrace property
Document ij.exceptionTrace property
------------------------------------
Key: DERBY-1381
URL: http://issues.apache.org/jira/browse/DERBY-1381
Project: Derby
Type: Improvement
Components: Documentation
Versions: 10.1.2.1
Reporter: Kathey Marsden
Priority: Trivial
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.<init>(EmbedConnection.java:254)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Re: [jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by Myrna van Lunteren <m....@gmail.com>.
On 6/13/07, Dag H. Wanvik (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504523 ]
>
> Dag H. Wanvik commented on DERBY-1381:
> --------------------------------------
>
> Looking at the code and the docs, I see two more ij properties that are not documented:
>
> ij.showNoCountForSelect (true/false)
> ij.showNoConnectionsAtStart (true/false)
>
> Is there a reason why these are not documented?
>
>
Not sure where (which docs) you're looking, but see comments at
DERBY-391, I added them with revision
http://svn.apache.org/viewvc?view=rev&revision=546606
So that one's done.
Myrna
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Laura Stewart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484494 ]
Laura Stewart commented on DERBY-1381:
--------------------------------------
Help me understand the first line in the example. Specifically what does the
flag -Dij do? Or is the entire flag -Dij.exceptionTrace=true ? and in Java is it called a "flag"?
As I read the example, you specify that for ij, tracing is on
I'm not sure what the second line does... start if?
The third line you are in ij and connect to the database "wombat"
>From there the error is returned along with the full stack trace.
Pleaes provide any other info that would be good to include in the documentation.
> 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
> Priority: Trivial
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Updated: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Laura Stewart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laura Stewart updated DERBY-1381:
---------------------------------
Derby Info: [Patch Available]
> 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
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504334 ]
Kathey Marsden commented on DERBY-1381:
---------------------------------------
I guess it is called a property and would be added to this section of the manual
http://db.apache.org/derby/docs/dev/tools/rtoolsijpropref29864.html
and would go something like this.
Function
When set to true, causes a full exception stack trace to print when exceptions occur in ij. The default is false.
Syntax
ij.exceptionTrace=trueOrFalse
Example:
(Example above)
> 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
> Priority: Trivial
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504523 ]
Dag H. Wanvik commented on DERBY-1381:
--------------------------------------
Looking at the code and the docs, I see two more ij properties that are not documented:
ij.showNoCountForSelect (true/false)
ij.showNoConnectionsAtStart (true/false)
Is there a reason why these are not documented?
> 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
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Assigned: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Laura Stewart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laura Stewart reassigned DERBY-1381:
------------------------------------
Assignee: Laura Stewart
> 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
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Updated: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Laura Stewart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laura Stewart updated DERBY-1381:
---------------------------------
Attachment: rtoolsijproprefexceptiontrace.html
derby1381.diff
Attaching a patch for this property and the html output.
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504613 ]
John H. Embretsen commented on DERBY-1381:
------------------------------------------
Regarding my last comment: I see the changes in the published docs now, I think I was having an issue with the cache in my browser or (possibly my proxy server). Looks good.
> 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
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Closed: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden closed DERBY-1381.
---------------------------------
> 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
> Fix For: 10.3.1.4
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Resolved: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren resolved DERBY-1381.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.3.0.0
Derby Info: (was: [Patch Available])
I slapped this one in for 10.3 with revision 547738.
> 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
> Fix For: 10.3.0.0
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504596 ]
John H. Embretsen commented on DERBY-1381:
------------------------------------------
Hi Dag,
Myrna was kind enough to document the ij.showNoCountForSelect and ij.showNoConnectionsAtStart properties as part of DERBY-391. It was committed yesterday, as revision 546606, but I can't find it in the public alpha manual for tools on the web yet - I don't know why not.
> 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
>
> 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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.
[jira] Commented: (DERBY-1381) Document ij.exceptionTrace property
Posted by "Kathey Marsden (JIRA)" <ji...@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.<init>(EmbedConnection.java:254)
> at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(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.