db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <derby-...@db.apache.org>
Subject [jira] Resolved: (DERBY-285) Network Client should not print non-ascii token separators in message when it cannot connect to the server to retrieve the error message
Date Sun, 05 Jun 2005 16:26:39 GMT
     [ http://issues.apache.org/jira/browse/DERBY-285?page=all ]
Kathey Marsden resolved DERBY-285:

    Resolution: Fixed


Sending        java\drda\org\apache\derby\impl\drda\DRDAConnThread.java
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\badConnection.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\dataSourcePermissions_net.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\secureUsers.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\secureUsers1.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\users.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNet\users2.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\badConnection.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\dataSourcePermissions_net.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\netxaPositive.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\secureUsers.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\secureUsers1.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\testij.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\users.out
Sending        java\testing\org\apache\derbyTesting\functionTests\master\DerbyNetClient\users2.out
Transmitting file data ...............
Committed revision 180107.

> Network Client should not print non-ascii token separators in message when it cannot
connect to the server to retrieve the error message
> ----------------------------------------------------------------------------------------------------------------------------------------
>          Key: DERBY-285
>          URL: http://issues.apache.org/jira/browse/DERBY-285
>      Project: Derby
>         Type: Improvement
>   Components: Network Client
>     Versions:
>     Reporter: Kathey Marsden
>     Assignee: Kathey Marsden
>  Attachments: derby285.diff
> If Network Client cannot connect to the database to retrieve an error message, it will
print only the message tokens, the non-ascii token separators, and derby log location.  It
would be good if at least the message could be formatted to present a better message to the
user without the non-ascii characters.
> To reproduce try a database shutdown.  Because the database is shutdown, the client cannot
retrieve the actual message from the server. It therefore just prints the tokens.
> Start network server
> java org.apache.derby.drda.NetworkServerControl start
> $ java org.apache.derby.tools.ij
> ij version 10.1
> ij> connect 'jdbc:derby://localhost:1527/wombat;create=true';
> ij> connect 'jdbc:derby://localhost:1527/wombat;shutdown=true';
> ERROR 08006: DERBY SQL error: SQLCODE: -1, SQLSTATE: 08006, SQLERRMC: wombat[]08006.D[]Database
'wombat' shutdown.[](server log:derby.log)
> ij>
> Note: The actual offending characters have been replaced in the output in this bug by
[]. This is because they break Jira XML retrieval!

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message