[
https://issues.jboss.org/browse/WFLY-3816?page=com.atlassian.jira.plugin....
]
Yannick Lorenzati commented on WFLY-3816:
-----------------------------------------
With IBM JDK 7 and Jboss as 7.2 : still the same bug, and the workaround of adding
<path name="com/ibm/crypto"/>
<path name="com/ibm/crypto/provider"/>
in the module.xml of ibm.jdk is still working
ClassNotFoundException com.ibm.crypto.provider.IBMJCE with IBM JDK
1.6
----------------------------------------------------------------------
Key: WFLY-3816
URL:
https://issues.jboss.org/browse/WFLY-3816
Project: WildFly
Issue Type: Bug
Affects Versions: JBoss AS7 7.2.0.Final, 8.1.0.Final
Environment: Linux / Aix ; IBM JDK 1.6
Reporter: Yannick Lorenzati
Assignee: Jason Greene
Priority: Minor
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
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)