db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-3075) Client error: 08001 Error connecting to server.. throws SQLTransientConnectionException instead of SQLNonTransientConnectionException
Date Mon, 17 Sep 2007 18:14:43 GMT

     [ 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.


Mime
View raw message