SSL Handshakes never complete
Issue
- JBossWS client timeouts are not honored
- All of our JBoss Web threads are stuck in SSL handshake code. Here's an example stack trace indicating where each thread is stuck:
"http-192.4.217.102-9443-100" daemon prio=3 tid=0x00000001239dd800 nid=0x1d70e6 runnable [0xfffffffde08fe000]
java.lang.Thread.State: RUNNABLE
at sun.security.pkcs11.wrapper.PKCS11.C_DestroyObject(Native Method)
at sun.security.pkcs11.SessionKeyRef.dispose(P11Key.java:1070)
at sun.security.pkcs11.SessionKeyRef.drainRefQueueBounded(P11Key.java:1046)
at sun.security.pkcs11.SessionKeyRef.<init>(P11Key.java:1061)
at sun.security.pkcs11.P11Key.<init>(P11Key.java:97)
at sun.security.pkcs11.P11Key$P11SecretKey.<init>(P11Key.java:374)
at sun.security.pkcs11.P11Key.secretKey(P11Key.java:266)
at sun.security.pkcs11.P11RSACipher.engineUnwrap(P11RSACipher.java:419)
at javax.crypto.Cipher.unwrap(DashoA13*..)
at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:127)
at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:174)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:958)
- locked <0xffffffff2c7969d0> (a com.sun.net.ssl.internal.ssl.SSLSocketImpl)
- locked <0xffffffff2c796a68> (a java.lang.Object)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203)
- locked <0xffffffff2c796ab0> (a java.lang.Object)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1214)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake(JSSESocketFactory.java:186)
at org.apache.tomcat.util.net.JIoEndpoint.setSocketOptions(JIoEndpoint.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:662)
Environment
- JBoss Enterprise Application Platform (EAP)
- Solaris OS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
