java.lang.IllegalArgumentException: SSLv2Hello

JBoss Issue Tracker | Martin Malina | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Some tests in the testsuite are failing due to IBM JDK not supporting the SSLv2Hello protocol: 15:10:46,727 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=invoker,socketType=SSLSocketFactory,type=jrmp,wantsClientAuth=true state=Create mode=Manual requiredState=Installed java.lang.IllegalArgumentException: SSLv2Hello at com.ibm.jsse2.mb.a(mb.java:24) at com.ibm.jsse2.lb.<init>(lb.java:41) at com.ibm.jsse2.hc.setEnabledProtocols(hc.java:57) at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:267) at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:226) at org.jboss.security.ssl.RMISSLServerSocketFactory.createServerSocket(RMISSLServerSocketFactory.java:120) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:638) at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:272) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:219) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:398) ... This problem was previously reported as JBPAPP-626 but never fixed. I'm creating a new JIRA since it now affects more testcases. These testcases fail: org.jboss.test.jrmp.test.CustomSocketsUnitTestCase org.jboss.test.jrmp.test.SSLFailuresSocketsUnitTestCase org.jboss.test.jrmp.test.SSLSocketsUnitTestCase org.jboss.test.pooled.test.SSLSocketsUnitTestCase We can still leave it as it is - meaning documenting these failures as known issues with IBM JDK. I just wanted to make sure we know about it.

    JBoss Issue Tracker | 8 years ago | Martin Malina
    java.lang.IllegalArgumentException: SSLv2Hello

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      SSLv2Hello

      at com.ibm.jsse2.mb.a()
    2. com.ibm.jsse2
      hc.setEnabledProtocols
      1. com.ibm.jsse2.mb.a(mb.java:24)
      2. com.ibm.jsse2.lb.<init>(lb.java:41)
      3. com.ibm.jsse2.hc.setEnabledProtocols(hc.java:57)
      3 frames
    3. JBoss Application Server Security
      RMISSLServerSocketFactory.createServerSocket
      1. org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:267)
      2. org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:226)
      3. org.jboss.security.ssl.RMISSLServerSocketFactory.createServerSocket(RMISSLServerSocketFactory.java:120)
      3 frames
    4. Java RT
      TCPEndpoint.exportObject
      1. sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:638)
      2. sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:272)
      3. sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:219)
      4. sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:398)
      4 frames