[jboss-jira] [JBoss JIRA] (WFCORE-1705) A system dependency sun/security/provider/certpath is missing from wildfly's module.xlm
Peter Nalyvayko (JIRA)
issues at jboss.org
Wed Aug 10 12:40:00 EDT 2016
Peter Nalyvayko created WFCORE-1705:
---------------------------------------
Summary: A system dependency sun/security/provider/certpath is missing from wildfly's module.xlm
Key: WFCORE-1705
URL: https://issues.jboss.org/browse/WFCORE-1705
Project: WildFly Core
Issue Type: Feature Request
Components: Modules
Affects Versions: 2.2.0.Final
Reporter: Peter Nalyvayko
Assignee: David Lloyd
There is a system dependency path "sun/security/provider/certpath" missing from modules\system\layers\base\sun\jdk\main\module.xml. This is causing class def not found exception when attempting to create an instance of a class from that namespace. The module contents (abbreviated) are shown below. Notice that the path to "sun/security/provider/certpath" is not listed in there:
<module xmlns="urn:jboss:module:1.3" name="sun.jdk">
<resources>
<!-- currently jboss modules has not way of importing services from
classes.jar so we duplicate them here -->
<resource-root path="service-loader-resources"/>
</resources>
<dependencies>
<module name="sun.scripting" export="true"/>
<system export="true">
<paths>
...
<path name="sun/security/action"/>
<path name="sun/security/pkcs"/>
<path name="sun/security/x509"/>
<path name="sun/security"/>
<path name="sun/security/util"/>
<path name="sun/security/krb5"/>
<path name="sun/security/krb5/internal"/>
<path name="sun/security/pkcs11"/>
<path name="sun/security/provider"/>
...
</paths>
<exports>
<include-set>
<path name="META-INF/services"/>
</include-set>
</exports>
</system>
</dependencies>
</module>
Manually adding the missing system dependency path fixes the issue.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list