[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: SSLUnitTestCase failures with the IBM JVM

mwringe do-not-reply at jboss.com
Tue Aug 29 18:03:43 EDT 2006


The keystore type is not pksc12 (its JKS). This is the SSLUnitTestCase from the testsuite, no other changes have been made it. This test passes when the Sun JDK is used, but always fails when the IBM jdk is used.

The only change I have done is adding algorithm=IbmX509 to the server.xml of the jbossweb-tomcat55.sar (none of the other suggestions have worked). This at least allows the server to start without error.

But I am still geting the protocol version error when the tests are run

  | Testcase: testHttps took 0.017 sec
  | Caused an ERROR
  | protocol version
  | javax.net.ssl.SSLHandshakeException: protocol version
  | at com.ibm.jsse.bv.a(Unknown Source)
  | at com.ibm.jsse.b.a(Unknown Source)
  | at com.ibm.jsse.b.write(Unknown Source)
  | at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1360)
  | at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:86)
  | at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:144)
  | at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790)
  | at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271)
  | at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651)
  | at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
  | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
  | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
  | at org.jboss.test.web.test.ssl.SSLUnitTestCase.doHttps(SSLUnitTestCase.java:117)
  | at org.jboss.test.web.test.ssl.SSLUnitTestCase.testHttps(SSLUnitTestCase.java:77)
  | 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) 
  | 

Any more help on this would be greatly appreciated

PS: java.net.debug does not give nearly as much information when the IBM jvm is used

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968242#3968242

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968242



More information about the jboss-dev-forums mailing list