6 Replies Latest reply on Jun 2, 2005 8:33 AM by ignsdui

    HostnameVerifier class issue.

    shiningliao

      I am trying to run JBoss with IBM JVM. Unfortunately, it generated a class exception about NoClassDefFoundError: com.sun.net.ssl.HostnameVerifier

      I think JBoss should NOT use class:
      ===>com.sun.net.ssl.HostnameVerifier
      Instead, it should use class:
      ===> javax.net.ssl.HostnameVerifier

      Because javax.net.ssl.HostnameVerifier is part of API specification. Using the com.sun.net.ssl.HostnameVerifier will lock JBoss with Sun JVM.

      Am I right? Can anyone give me some comment?

        • 1. Re: HostnameVerifier class issue.
          jrush7558

          I am having this same exact issue on an IBM Power Linux system. Trying to run JBOSS 4, I run the run.sh and get:

          "problem starting service jboss.mq: service=InvocationLayer, type=HTTP
          java.lang.NoClassDefFoundError: com/sun/net/ssl/HostnameVerifier.."

          • 2. Re: HostnameVerifier class issue.
            starksm64

            This dependency was removed in the 4.0.0 final release. This starts up fine for me using the ibm 1.4.2 vm.

            • 3. Re: HostnameVerifier class issue.
              henkanpenkan

              I cannot start JBoss 4.0.1RC1 with IBMJava2-142 due to some problems with Corba it seems.
              The trace says:


              org.omg.CORBA.INITIALIZE: cannot instantiate org.jboss.iiop.SunJDK14IsLocalBugFix vmcid: 0x0 minor code: 0 completed: No
              at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:360)
              at javax.rmi.CORBA.Util.<clinit>(Util.java:70)
              ... 100 more


              Can i use some other impl by changing some startup param?

              • 4. Re: HostnameVerifier class issue.

                We *need* that "suspend user for 24 hours feature".

                1) This is NOT a security issue
                2) This is NOT a jboss development issue, it is a user question
                3) It is a question about release candidate after the final release
                4) It is a HIJACK of somebody else thread's on a completely unrelated issue
                5) It is in the FAQ

                It almost warrants deleting their user profile to teach them a lesson.

                • 5. Re: HostnameVerifier class issue.
                  ignsdui

                   

                  "scott.stark@jboss.org" wrote:
                  This dependency was removed in the 4.0.0 final release. This starts up fine for me using the ibm 1.4.2 vm.


                  The problem we have is the following:
                  We want to use Jdeveloper 10.12 to deploy applications on a IBM P570 with AIX5.2 and Jboss 3.2.7 and the IBM JVM 1.4.
                  At this moment is is not possible to use Jboss 4 because the ADF Business components of Jdeveloper works only with a 3.2.x version of Jboss.
                  Is there a possibility in Jboss 3.2.7 to make it independent from Sun?
                  Is using IBM JVM 1.3 also a possible solution?
                  Or do we want to use an impossible combination of software components?

                  • 6. Re: HostnameVerifier class issue.
                    ignsdui

                    We found what the problem is:
                    It's a bug in the ADF runtime libraries of Jdeveloper 10.12.
                    Earlier versions of Jdeveloper didn't have this problem