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

ClassNotFoundException com.ibm.crypto.provider.IBMJCE with IBM JDK

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.CR7
    • None
    • Modules
    • None

      I use Jboss AS 7.2.0 with IBM JDK 1.6
      One of my applications try to load the security provider com.ibm.crypto.provider.IBMJCE but I got an ClassNotFoundException.

      I think it’s because in the ibm.jdk module.xml we need to add the package of the security provider like this

      <module xmlns="urn:jboss:module:1.1" name="ibm.jdk">
      <resources>

      </resources>
      <dependencies>
      <system export="true">
      <paths>
      <path name="com/ibm"/>
      <path name="com/ibm/jvm"/>
      <path name="com/ibm/jvm/io"/>
      <path name="com/ibm/jvm/util"/>
      <path name="com/ibm/match"/>
      <path name="com/ibm/misc"/>
      <path name="com/ibm/net"/>
      <path name="com/ibm/nio"/>
      <path name="com/ibm/nio/ch"/>
      <path name="com/ibm/security/auth"/>
      <path name="com/ibm/security/bootstrap"/>
      <path name="com/ibm/security/auth/module"/>
      <path name="com/ibm/security/util"/>
      </paths>
      </system>
      </dependencies>
      </module>

      We need to add this
      <path name="com/ibm/crypto"/>
      <path name="com/ibm/crypto/provider"/>

      Can't do a pull request at work, but i hope this help

              tomazcerar Tomaž Cerar (Inactive)
              ylorenza_jira Yannick Lorenzati (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: