Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20676

[GSS](7.3.z) WFCORE-5220 - IBM JDK jsse2 classes missing in ibm.jdk

XMLWordPrintable

    • False
    • False
    • -
    • Undefined
    • Workaround Exists
    • Hide

      Add a jboss-deployment-structure.xml to the application to pull in the missing classes :

      <jboss-deployment-structure>
        <deployment>
           <dependencies>
              <system export="true">
                 <paths>
                    <path name="com/ibm/jsse2"/>
                 </paths>
              </system>
           </dependencies>
      
      Show
      Add a jboss-deployment-structure.xml to the application to pull in the missing classes : <jboss-deployment-structure> <deployment> <dependencies> <system export= " true " > <paths> <path name= "com/ibm/jsse2" /> </paths> </system> </dependencies>

      It looks like IBM JDK has classes in com.ibm.jsse2 that are not included in the ibm.jdk module

      $JBOSS_HOME/modules/system/layers/base/ibm/jdk/main/module.xml

      Caused by: java.lang.ClassNotFoundException: com.ibm.jsse2.SSLSocketFactoryImpl
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[na:na]
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[na:na]
        at java.base/javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:105) ~[na:na]
        at deployment.example.war//org.apache.axis.components.net.JSSESocketFactory.initFactory(JSSESocketFactory.java:61) ~[axis.jar:na]
      

              chaowan@redhat.com Chao Wang
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: