Most of our integration tests are in ruby. These integration tests hit a web service hosted on glassfish. In our staging and qa environments, we have sjsws sitting in front of glassfish and the integrations tests work fine. However, on my local box when the ruby httpclient tries to connect directly to a glassfish server (without sjsws) the server simply just hangs up. Here is the output of ssldump for the session:
New TCP connection #1: 127.0.0.1(44623) <-> 127.0.0.1(8181)
1 1 0.0016 (0.0016) C>S Handshake
ClientHello
Version 3.1
cipher suites
Unknown value 0x39
Unknown value 0x38
Unknown value 0x35
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA
Unknown value 0x33
Unknown value 0x32
Unknown value 0x2f
TLS_RSA_WITH_RC4_128_SHA
compression methods
unknown value
NULL
1 0.0104 (0.0087) S>C TCP FIN
1 0.0116 (0.0012) C>S TCP FIN
Cipher Suites 0x32 (TLS_DHE_DSS_WITH_AES_128_CBC_SHA) and 0x39 (TLS_DHE_RSA_WITH_AES_256_CBC_SHA) seemed to be supported by glassfish, and in the http listener configuration I selected them and restarted. This didn't help anything.
After writing the above, I upgraded to V2.1 and I still get the same error.
Using wget, I can get a response:
1 2 0.0226 (0.0222) S>C Handshake
ServerHello
Version 3.1
session_id[32]=
49 f1 fe a9 8f 58 6d b2 2a 48 88 69 58 e5 88 82
0a 0e af bf 7a 78 f1 12 f2 0e 7f 51 18 0e 4d 47
cipherSuite Unknown value 0x39
compressionMethod NULL
Certificate
ServerKeyExchange
ServerHelloDone
1 3 0.0435 (0.0209) C>S Handshake
ClientKeyExchange
1 4 0.0435 (0.0000) C>S ChangeCipherSpec
1 5 0.0435 (0.0000) C>S Handshake
1 6 0.0645 (0.0209) S>C ChangeCipherSpec
1 7 0.0647 (0.0001) S>C Handshake
1 8 0.0652 (0.0005) C>S application_data
1 9 0.0652 (0.0000) C>S application_data
thanks for any help,
-Trav
[Message sent by forum member 'kneecha' (kneecha)]
http://forums.java.net/jive/thread.jspa?messageID=343645