Mamta A. Satoor created DERBY-6170:
--------------------------------------

             Summary: testSuccessfulConnect failure on trunk(revision 1465166) 
with ibm 16
                 Key: DERBY-6170
                 URL: https://issues.apache.org/jira/browse/DERBY-6170
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.11.0.0
            Reporter: Mamta A. Satoor


1) 
testSuccessfulConnect(org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest)java.sql.SQLNonTransientConnectionException:
 A communications error has been detected: Connection reset.
        at 
org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
Source)
        at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:379)
        at java.sql.DriverManager.getConnection(DriverManager.java:415)
        at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.testSuccessfulConnect(AutoloadTest.java:396)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:424)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:441)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: org.apache.derby.client.am.DisconnectException: A communications 
error has been detected: Connection reset.
        at org.apache.derby.client.am.SqlException.<init>(Unknown Source)
        at org.apache.derby.client.am.SqlException.<init>(Unknown Source)
        at org.apache.derby.client.am.DisconnectException.<init>(Unknown Source)
        at org.apache.derby.client.am.DisconnectException.<init>(Unknown Source)
        at org.apache.derby.client.am.DisconnectException.<init>(Unknown Source)
        at 
org.apache.derby.client.net.NetAgent.throwCommunicationsFailure(Unknown Source)
        at org.apache.derby.client.net.Reply.fill(Unknown Source)
        at org.apache.derby.client.net.Reply.ensureALayerDataInBuffer(Unknown 
Source)
        at org.apache.derby.client.net.Reply.readDssHeader(Unknown Source)
        at org.apache.derby.client.net.Reply.startSameIdChainParse(Unknown 
Source)
        at 
org.apache.derby.client.net.NetConnectionReply.readExchangeServerAttributes(Unknown
 Source)
        at 
org.apache.derby.client.net.NetConnection.readServerAttributesAndKeyExchange(Unknown
 Source)
        at 
org.apache.derby.client.net.NetConnection.flowServerAttributesAndKeyExchange(Unknown
 Source)
        at 
org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
        at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
        at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
        at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
        at 
org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown
 Source)
        ... 35 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:179)
        ... 47 more

FAILURES!!!
Tests run: 14,  Failures: 0,  Errors: 1


        at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:257)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:424)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:441)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to