Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129346

JMXStartStopTest fails on ssl init

    Details

    • Subcomponent:
      svc
    • CPU:
      arm
    • OS:
      linux_ubuntu

      Description

      Excerpt of the jtr file :

      ----------System.err:(147/9825)----------
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [TestApp{test_09}] Error: JMX connector server communication error: service:jmx:rmi://emb-sca-odroid-xu-11:46538
      [jcmd] java.lang.RuntimeException: JMX connector server communication error: service:jmx:rmi://emb-sca-odroid-xu-11:46538
      Jun 17, 2015 11:40:18 PM ClientCommunicatorAdmin Checker-run
      WARNING: Failed to check connection: java.net.ConnectException: Connection refused
      Jun 17, 2015 11:40:19 PM ClientCommunicatorAdmin Checker-run
      WARNING: stopping
      Jun 17, 2015 11:40:24 PM ClientCommunicatorAdmin Checker-run
      WARNING: Failed to check connection: java.net.ConnectException: Connection refused
      Jun 17, 2015 11:40:24 PM ClientCommunicatorAdmin Checker-run
      WARNING: stopping
      Jun 17, 2015 11:40:30 PM ClientCommunicatorAdmin Checker-run
      WARNING: Failed to check connection: java.net.ConnectException: Connection refused
      Jun 17, 2015 11:40:30 PM ClientCommunicatorAdmin Checker-run
      WARNING: stopping
      Jun 17, 2015 11:40:37 PM ClientCommunicatorAdmin Checker-run
      WARNING: Failed to check connection: java.net.ConnectException: Connection refused
      Jun 17, 2015 11:40:37 PM ClientCommunicatorAdmin Checker-run
      WARNING: stopping
      test_11 failed
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at JMXStartStopTest.main(JMXStartStopTest.java:262)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ExceptionInInitializerError
      at sun.security.ssl.ProtocolVersion.<clinit>(ProtocolVersion.java:135)
      at sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:499)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:286)
      at java.security.Provider$Service.getImplClass(Provider.java:1638)
      at java.security.Provider$Service.newInstance(Provider.java:1596)
      at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
      at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
      at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
      at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96)
      at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:122)
      at javax.rmi.ssl.SslRMIClientSocketFactory.getDefaultClientSocketFactory(SslRMIClientSocketFactory.java:207)
      at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMIClientSocketFactory.java:117)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
      at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)
      at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:357)
      at sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:299)
      at sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:135)
      at sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.java:94)
      at sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:157)
      at sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:313)
      at sun.rmi.server.UnicastRef.done(UnicastRef.java:451)
      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
      at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:207)
      at javax.naming.InitialContext.lookup(InitialContext.java:409)
      at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)
      at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
      at JMXStartStopTest.testConnect(JMXStartStopTest.java:184)
      at JMXStartStopTest.testNoConnect(JMXStartStopTest.java:135)
      at JMXStartStopTest.testNoConnect(JMXStartStopTest.java:130)
      at JMXStartStopTest.test_11(JMXStartStopTest.java:704)
      ... 11 more
      Caused by: java.lang.NumberFormatException: For input string: "1024"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:581)
      at java.lang.Integer.parseInt(Integer.java:699)
      at sun.security.util.DisabledAlgorithmConstraints$KeySizeConstraints.<init>(DisabledAlgorithmConstraints.java:329)
      at sun.security.util.DisabledAlgorithmConstraints.loadDisabledAlgorithmsMap(DisabledAlgorithmConstraints.java:301)
      at sun.security.util.DisabledAlgorithmConstraints.<init>(DisabledAlgorithmConstraints.java:81)
      at sun.security.ssl.SSLAlgorithmConstraints$BasicDisabledAlgConstraints.<init>(SSLAlgorithmConstraints.java:273)
      at sun.security.ssl.SSLAlgorithmConstraints$X509DisabledAlgConstraints.<init>(SSLAlgorithmConstraints.java:446)
      at sun.security.ssl.SSLAlgorithmConstraints.<clinit>(SSLAlgorithmConstraints.java:51)
      ... 48 more
      test_13 failed
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at JMXStartStopTest.main(JMXStartStopTest.java:262)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:286)
      at java.security.Provider$Service.getImplClass(Provider.java:1638)
      at java.security.Provider$Service.newInstance(Provider.java:1596)
      at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
      at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
      at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
      at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96)
      at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:122)
      at javax.rmi.ssl.SslRMIClientSocketFactory.getDefaultClientSocketFactory(SslRMIClientSocketFactory.java:207)
      at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMIClientSocketFactory.java:117)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
      at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)
      at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:357)
      at sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:299)
      at sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:135)
      at sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.java:94)
      at sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:157)
      at sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:313)
      at sun.rmi.server.UnicastRef.done(UnicastRef.java:451)
      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
      at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:207)
      at javax.naming.InitialContext.lookup(InitialContext.java:409)
      at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)
      at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
      at JMXStartStopTest.testConnect(JMXStartStopTest.java:184)
      at JMXStartStopTest.testNoConnect(JMXStartStopTest.java:135)
      at JMXStartStopTest.testNoConnect(JMXStartStopTest.java:130)
      at JMXStartStopTest.test_13(JMXStartStopTest.java:775)
      ... 11 more
      java.lang.Error
      at JMXStartStopTest.main(JMXStartStopTest.java:288)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              olagneau Olivier Lagneau (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: