[jira] Created: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

View: New views
13 Messages — Rating Filter:   Alert me  

[jira] Created: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
------------------------------------------------------------------------------------

                 Key: DERBY-4151
                 URL: https://issues.apache.org/jira/browse/DERBY-4151
             Project: Derby
          Issue Type: Bug
    Affects Versions: 10.5.1.0
         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05)
            Reporter: Myrna van Lunteren


12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:

23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
        at java.lang.Throwable.<init>(Throwable.java:196)
        at java.lang.Exception.<init>(Exception.java:41)
        at java.sql.SQLException.<init>(SQLException.java:80)
        at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
        at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.Exception.<init>(Exception.java:77)
        at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
        at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
        at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
        ... 38 more
Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
        at java.lang.Throwable.<init>(Throwable.java:196)
        at java.lang.Exception.<init>(Exception.java:41)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
        at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
        ... 44 more

My classpath (in case it matters) contains:
derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-4151:
--------------------------------------

      Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)  (was: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) )
    Fix Version/s: 10.5.1.1

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.5.1.0
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-4151:
----------------------------------

    Component/s: Regression Test Failure

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-4151:
---------------------------------

    Bug behavior facts: [Regression, Regression Test Failure]  (was: [Regression])

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771471#action_12771471 ]

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

I'm trying to figure out what's up with these failures. I'm not done with my research, but thought I'd document what I found so far:
The problem occurs with both ibm1.5 and ibm1.6 jvms.
With 10.4. there were no such troubles - but with all 10.5 versions (and recent builds of trunk) there are.
It's only the network server runs of the fixtures.
I ran with 10.4.2.0 jars and a recent derbyTesting.jar and got failures; hence, it seems something in the test changed that made these failures appear.
I looked at the test's changes, and did some further experiments with a recent 10.6 alpha build (830420) and derbyTesting.jar files from older builds close from around the time of the changes to the test, and found that after revision 675870 for DERBY-3319 11 tests fail.
Revision 654870 added the following fixtures:
  testCloseActiveConnection_DS
  testCloseActiveConnection_CP
  testCloseActiveConnection_XA_local
  testCloseActiveConnection_XA_global
It's interesting to note that the first test failure is the second test run after these "new" additions:
---------------------------------------------
...(fixtures pass until here...)
testBadConnectionAttributeSyntax used 26 ms .
testCloseActiveConnection_DS used 220 ms .
testCloseActiveConnection_CP used 124 ms .
testCloseActiveConnection_XA_local used 142 ms .
testCloseActiveConnection_XA_global used 111 ms .
testDescriptionProperty used 43 ms .
testConnectionErrorEvent used 10698 ms E.
testConnectionEventListenerIsNull used 15 ms E.
testReadOnlyToWritableTran used 14 ms E.
testAutoCommitOnXAResourceStart used 13 ms E.
testAllDataSources used 13 ms E.
testClosedCPDSConnection used 14 ms E.
testClosedXADSConnection used 16 ms E.
testSetSchemaInXAConnection used 13 ms E.
testPooledReuseOnClose used 15 ms E.
testSchemaIsReset used 13 ms E.
testSchemaIsResetWhenDeleted used 12 ms E.
testClientDSConnectionAttributes used 254 ms .
...(remaining fixtures pass)...
---------------------------------------------


> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771640#action_12771640 ]

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

I find that a suite of the following fixtures (in this sequence) will cause the failure in the testConnectionErrorEvent fixture:
  testGlobalLocalInterleaf
  testCloseActiveConnection_CP
  testCloseActiveConnection_XA_local
  testDescriptionProperty
  testConnectionErrorEvent
Leaving any of these fixtures out will make the test pass.

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-4151:
--------------------------------------

    Attachment: serverConsoleOutput.log
                error-stacktrace.out
                derby.log

attaching files from the testfailure.

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>         Attachments: derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-4151:
--------------------------------------

    Attachment: DERBY-4151.diff

I got one pass with only 4 tests, then the same set failed, which caused me to believe it was a matter of cleaning up.
Adding some close() calls to 3 of the fixtures that were affected and the problem goes away.
I'll commit later.

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772278#action_12772278 ]

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

committed with revision 831584.
I plan to backport this to 10.5 later.

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren reassigned DERBY-4151:
-----------------------------------------

    Assignee: Myrna van Lunteren

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>             Fix For: 10.5.1.1
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772357#action_12772357 ]

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

backported to 10.5 with revision 831738.

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>             Fix For: 10.5.1.1, 10.5.3.1, 10.6.0.0
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-4151.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.6.0.0
                   10.5.3.1

> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>             Fix For: 10.5.3.1, 10.6.0.0, 10.5.1.1
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-4151) java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DERBY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren closed DERBY-4151.
-------------------------------------


> java.net.ConnectException in J2EEDataSourceTest (with network server) on IBM iseries
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-4151
>                 URL: https://issues.apache.org/jira/browse/DERBY-4151
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>         Environment: IBM iseries, OS: AS/400; OS version: V5R4M0, jvm: IBM 1.5 (build 1.5.0_13-b05) , IBM 1.6 (1.6.0_b105)
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>             Fix For: 10.5.1.1, 10.5.3.1, 10.6.0.0
>
>         Attachments: DERBY-4151.diff, derby.log, error-stacktrace.out, serverConsoleOutput.log
>
>
> 12 of the fixtures of the J2EEDataSource test fail on iseries, with failures like this:
> 23) testConnectionErrorEvent(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)java.sql.SQLException: Error starting network  server
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at java.sql.SQLException.<init>(SQLException.java:80)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1455)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testConnectionErrorEvent(J2EEDataSourceTest.java:615)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:84)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.lang.Exception.<init>(Exception.java:77)
> at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.invoke(NetworkServerControlWrapper.java:94)
> at org.apache.derbyTesting.junit.NetworkServerControlWrapper.ping(NetworkServerControlWrapper.java:106)
> at org.apache.derbyTesting.junit.TestConfiguration.startNetworkServer(TestConfiguration.java:1439)
> ... 38 more
> Caused by: java.lang.Exception: DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 1527: A remote host refused an attempted connect operation.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
> at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
> at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
> ... 44 more
> My classpath (in case it matters) contains:
> derbytools.jar:derbyclient.jar:derbynet.jar:derbyrun.jar:derbyTesting.jar:junit.jar

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.