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 "Stan Bradbury (JIRA)" <ji...@apache.org> on 2007/09/14 03:29:32 UTC

[jira] Created: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

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


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.<init>(Unknown Source)
        at org.apache.derby.client.ClientPooledConnection40.<init>(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.


[jira] Updated: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

Posted by "Stan Bradbury (JIRA)" <ji...@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.<init>(Unknown Source)
        at org.apache.derby.client.ClientPooledConnection40.<init>(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.<init>(Unknown Source)
        at org.apache.derby.client.ClientPooledConnection40.<init>(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.<init>(Unknown Source)
>         at org.apache.derby.client.ClientPooledConnection40.<init>(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.


[jira] Updated: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

Posted by "Stan Bradbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Bradbury updated DERBY-3075:
---------------------------------

    Attachment: DerbyClientException.java

Reproduces the error when Network Server has NOT been started.

> 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.
> 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.<init>(Unknown Source)
>         at org.apache.derby.client.ClientPooledConnection40.<init>(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.


[jira] Closed: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

Posted by "Stan Bradbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Bradbury closed DERBY-3075.
--------------------------------


Catching up on Closing my reported issues.  Thanks to Dyre for the workflow reminder today.

> 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
>            Assignee: Kathey Marsden
>             Fix For: 10.3.2.1, 10.4.0.0
>
>         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.<init>(Unknown Source)
>         at org.apache.derby.client.ClientPooledConnection40.<init>(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.


[jira] Resolved: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden resolved DERBY-3075.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 10.4.0.0
                   10.3.1.5

checked into trunk and 10.3


> 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
>            Assignee: Kathey Marsden
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         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.<init>(Unknown Source)
>         at org.apache.derby.client.ClientPooledConnection40.<init>(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.


[jira] Assigned: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden reassigned DERBY-3075:
-------------------------------------

    Assignee: Kathey Marsden

> 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
>            Assignee: Kathey Marsden
>         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.<init>(Unknown Source)
>         at org.apache.derby.client.ClientPooledConnection40.<init>(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.