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] [Commented] (DERBY-5141) SSLTest fails with java.net.SocketException: Default SSL context init failed: null
Date Thu, 24 Mar 2011 19:18:06 GMT

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

Kathey Marsden commented on DERBY-5141:
---------------------------------------

This first appeared in IBM 1.4.2. FP6. The problem does not appear with :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142ifx-20100705 (SR13 FP5) (
JIT enabled: jitc))

but does with 
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142ifx-20100918 (SR13 FP6) (
JIT enabled: jitc))

The problem may have been introduced  with the fix for this APAR:
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ75870.   

I will close the issue invalid and file a jvm issue.


> SSLTest fails with java.net.SocketException: Default SSL context init failed: null
> ----------------------------------------------------------------------------------
>
>                 Key: DERBY-5141
>                 URL: https://issues.apache.org/jira/browse/DERBY-5141
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.7.1.1
>         Environment: Suse Linux, IBM Classic jvm 1.4.2, build cxia32142ifx-20110215 (SR13
FP8+PM31983) (JIT enabled: jitc))
>            Reporter: Myrna van Lunteren
>
> With the latest upgrade to the ibm 1.4.2 jvm (SR13FP8) I see this failure with the SSLTest:

> START-SPAWNED:SpawnedNetworkServer STANDARD OUTPUT: exit code=1
> Thu Mar 17 09:52:31 PDT 2011 : Security manager installed using the Basic server security
policy.
> Thu Mar 17 09:52:31 PDT 2011 : Could not listen on port 1527 on host localhost:
>  java.net.SocketException: Default SSL context init failed: null
> END-SPAWNED  :SpawnedNetworkServer STANDARD OUTPUT:
> FSTART-SPAWNED:SpawnedNetworkServer STANDARD OUTPUT: exit code=1
> Thu Mar 17 09:53:11 PDT 2011 : Security manager installed using the Basic server security
policy.
> Thu Mar 17 09:53:12 PDT 2011 : Could not listen on port 1527 on host localhost:
>  java.net.SocketException: Default SSL context init failed: null
> END-SPAWNED  :SpawnedNetworkServer STANDARD OUTPUT:
> F
> Time: 82.419
> There were 2 failures:
> 1) testSSLBasicDSConnect(org.apache.derbyTesting.functionTests.tests.derbynet.SSLTest)
junit.framework.AssertionFailedError: Timed out waiting for network server to start:Spawned
SpawnedNetworkServer exitCode=1
> STDOUT:
> Thu Mar 17 09:52:31 PDT 2011 : Security manager installed using the Basic server security
policy.
> Thu Mar 17 09:52:31 PDT 2011 : Could not listen on port 1527 on host localhost:
>  java.net.SocketException: Default SSL context init failed: null
>         at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:204)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
>         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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>         at junit.extensions.TestSetup.run(TestSetup.java:23)
> 2) testSSLBasicDSPlainConnect(org.apache.derbyTesting.functionTests.tests.derbynet.SSLTest)
junit.framework.AssertionFailedError: Timed out waiting for network server to start:Spawned
SpawnedNetworkServer exitCode=1
> STDOUT:
> Thu Mar 17 09:53:11 PDT 2011 : Security manager installed using the Basic server security
policy.
> Thu Mar 17 09:53:12 PDT 2011 : Could not listen on port 1527 on host localhost:
>  java.net.SocketException: Default SSL context init failed: null
>         at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:204)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
>         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 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)
> derby.log only has: 
> Thu Mar 17 09:53:12 PDT 2011 : Could not listen on port 1527 on host localhost:
>  java.net.SocketException: Default SSL context init failed: null
> There are no other files.
> This worked fine with the latest ibm 1.5 version (sr12 fp4), and with ibm 1.4.2. sr13
fp4 (I don't know about fpt5, 6, or 7), so it could be a jvm issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message