Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5220

IBM JDK jsse2 classes missing in ibm.jdk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Beta4, 14.0.0.Final
    • 14.0.0.Beta3
    • Server
    • None
    • 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>
    • Undefined

      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
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: