db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1052) test jdbcapi/checkDataSource30 and savepointJdbc30_XA fail with remote server with security exceptions
Date Wed, 08 Mar 2006 22:36:41 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1052?page=comments#action_12369557 ] 

Myrna van Lunteren commented on DERBY-1052:
-------------------------------------------

Well, I finally thought of another way to approach that mysterious runtimeinfo failure (pretty
silly not to think of it sooner), and ran the same test after reverting. And sure enough,
the test still failed. So, my change is not related, there's something else sitting around
in my environment making this go oops. 

I'll go clean that up, in the mean time, this patch is fairly simple & I think it's good
to go.



> test jdbcapi/checkDataSource30 and savepointJdbc30_XA fail with remote server with security
exceptions
> ------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1052
>          URL: http://issues.apache.org/jira/browse/DERBY-1052
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure
>  Environment: windows, server jdk13 or jdk14,  client jdk14
>     Reporter: Myrna van Lunteren
>     Assignee: Myrna van Lunteren
>  Attachments: DERBY-1052_testutil_2006_03_08.diff
>
> The .tmp from the jdbcapi/checkDataSource30.java is:
> ----------------------
> START XA HOLDABILITY TEST
> ERROR (no SQLState): java.security.PrivilegedActionException : Error opening socket to
server localhost on port 1527 with message : Connection refused
> Completed checkDataSource30
> ----------------------
> The .tmp from the jdbcapi/savepointJdbc30_XA.java is:
> -------------------------------------
> FAIL -- unexpected exception
> SQLSTATE(null):java.sql.SQLException: java.security.PrivilegedActionException : Error
opening socket to server localhost on port 1527 with message : Connection refused
> 	at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:285)
> 	at org.apache.derby.client.ClientPooledConnection.<init>(ClientPooledConnection.java:104)
> 	at org.apache.derby.client.ClientXAConnection.<init>(ClientXAConnection.java:47)
> 	at org.apache.derby.jdbc.ClientXADataSource.getXAConnection(ClientXADataSource.java:50)
> 	at org.apache.derby.jdbc.ClientXADataSource.getXAConnection(ClientXADataSource.java:43)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.savepointJdbc30_XA.main(savepointJdbc30_XA.java:58)
> Caused by: org.apache.derby.client.am.DisconnectException: java.security.PrivilegedActionException
: Error opening socket to server localhost on port 1527 with message : Connection refused
> 	at org.apache.derby.client.net.NetAgent.<init>(NetAgent.java:113)
> 	at org.apache.derby.client.net.NetConnection.newAgent_(NetConnection.java:928)
> 	at org.apache.derby.client.am.Connection.initConnection(Connection.java:174)
> 	at org.apache.derby.client.am.Connection.<init>(Connection.java:144)
> 	at org.apache.derby.client.net.NetConnection.<init>(NetConnection.java:207)
> 	at org.apache.derby.client.net.NetXAConnection.<init>(NetXAConnection.java:39)
> 	at org.apache.derby.client.ClientPooledConnection.<init>(ClientPooledConnection.java:94)
> 	... 4 more
> -----------------------------

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


Mime
View raw message