2 Replies Latest reply on Nov 10, 2004 8:28 AM by Andrea Giovannini

    Does JBoss 3.2 work with SSL on IBM JRE 1.4??

    Andrea Giovannini Newbie

      Hi,
      I have an answer for the question I raised, and the answer is no, but I'd like to share my thought and have some feedback.
      I've installed JBoss 3.2.1 on AIX with IBM JRE 1.4.2, I've configured JBoss(&Tomcat) in order to use SSL and I started it but I got the following exception:

      java.security.NoSuchAlgorithmException: Class com.ibm.jsse.bq configured for SSLContext not a SSLContext
      at com.sun.net.ssl.SunJSSE_b.a(DashoA6275)
      at com.sun.net.ssl.SSLContext.getInstance(DashoA6275)
      at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(DomainServerSocketFactory.java:174)
      ...


      The JBoss 3.2.1 code references the com.sun.net.ssl.SSLContext class and works fine with Sun JRE (1.3 and 1.4) but can't work with non-Sun JRE and in this cases I have only two possibilities:
      - I have to modify JBoss 3.2.1 source using javax.net.ssl.SSLContext instead of com.sun.net.ssl.SSLContext and recompile it;
      - I have to use JBoss 4.0 which uses the class javax.net.ssl.SSLContext;

      What do you think? Do you agree?

      Thanks in advance,
      Andrea