Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 16279 invoked from network); 14 Sep 2007 01:31:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 01:31:56 -0000 Received: (qmail 17216 invoked by uid 500); 14 Sep 2007 01:31:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 17178 invoked by uid 500); 14 Sep 2007 01:31:48 -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 17169 invoked by uid 99); 14 Sep 2007 01:31:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 18:31:48 -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, 14 Sep 2007 01:33:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 317B8714201 for ; Thu, 13 Sep 2007 18:31:32 -0700 (PDT) Message-ID: <10603918.1189733492200.JavaMail.jira@brutus> Date: Thu, 13 Sep 2007 18:31:32 -0700 (PDT) From: "Stan Bradbury (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException In-Reply-To: <12600044.1189733372037.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-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stan Bradbury updated DERBY-3075: --------------------------------- Description: Running attached program WITHOUT first starting the Network Server shows the incorrect (Transient) Exception. Without action by the user rerunning the program will continue to fail so should throw NonTransient Exception. > > > java DerbyClientException 08001:java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Exception in thread "main" java.sql.SQLTransientConnectionException: java.net.ConnectException : Err or connecting to server localhost on port 1527 with message Connection refused: connect. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.ClientPooledConnection.(Unknown Source) at org.apache.derby.client.ClientPooledConnection40.(Unknown Source) at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newClientPooledConnection(Unknown Source) at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnectionX(Unknown Source) at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnection(Unknown Source) at DerbyClientException.main(DerbyClientException.java:19) Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connect ing to server localhost on port 1527 with message Connection refused: connect. was: Running attached program WITHOUT first starting the Network Server shows the incorrect (Transient) Exception. Without action by the user rerunning the program will continue to fail so should throw NonTransient Exception. C:\Stan\L3\WASrelated>%ibm160e%\java DerbyClientException 08001:java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. Exception in thread "main" java.sql.SQLTransientConnectionException: java.net.ConnectException : Err or connecting to server localhost on port 1527 with message Connection refused: connect. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.ClientPooledConnection.(Unknown Source) at org.apache.derby.client.ClientPooledConnection40.(Unknown Source) at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newClientPooledConnection(Unknown Source) at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnectionX(Unknown Source) at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnection(Unknown Source) at DerbyClientException.main(DerbyClientException.java:19) Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connect ing to server localhost on port 1527 with message Connection refused: connect. > Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3075 > URL: https://issues.apache.org/jira/browse/DERBY-3075 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.3.1.4 > Environment: JDK 6 - JDBC 4.0 > Reporter: Stan Bradbury > Attachments: DerbyClientException.java > > > Running attached program WITHOUT first starting the Network Server shows the incorrect (Transient) Exception. Without action by the user rerunning the program will continue to fail so should throw NonTransient Exception. > > > > java DerbyClientException > 08001:java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect. > Exception in thread "main" java.sql.SQLTransientConnectionException: java.net.ConnectException : Err > or connecting to server localhost on port 1527 with message Connection refused: connect. > at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) > at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) > at org.apache.derby.client.ClientPooledConnection.(Unknown Source) > at org.apache.derby.client.ClientPooledConnection40.(Unknown Source) > at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newClientPooledConnection(Unknown Source) > at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnectionX(Unknown Source) > at org.apache.derby.jdbc.ClientConnectionPoolDataSource.getPooledConnection(Unknown Source) > at DerbyClientException.main(DerbyClientException.java:19) > Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connect > ing to server localhost on port 1527 with message Connection refused: connect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.