[jboss-jira] [JBoss JIRA] (WFLY-4416) Cannot obtain DOMImplementationRegistry instance
Thomas Diesler (JIRA)
issues at jboss.org
Wed Mar 25 04:49:19 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053235#comment-13053235 ]
Thomas Diesler edited comment on WFLY-4416 at 3/25/15 4:48 AM:
---------------------------------------------------------------
A deployment cannot load the default DOM impl through the DOMImplementationRegistry because it has no wire to the jdk module that exports com/sun/org/apache/xerces/internal/dom.
I wonder how the notion of the sun.jdk module works with other jdks. I'd assume that the internal paths are likely to be different.
was (Author: thomas.diesler):
A deployment cannot load the default DOM impl through the DOMImplementationRegistry because it has no wire to sun.jdk.
I wonder how the notion of the sun.jdk module works with other jdks. I'd assume that the internal paths are likely to be different.
> Cannot obtain DOMImplementationRegistry instance
> ------------------------------------------------
>
> Key: WFLY-4416
> URL: https://issues.jboss.org/browse/WFLY-4416
> Project: WildFly
> Issue Type: Bug
> Components: XML Frameworks
> Affects Versions: 8.2.0.Final
> Reporter: Thomas Diesler
> Assignee: Jason Greene
>
> {code}
> testDOMImplementationRegistry(org.jboss.as.test.smoke.xml.DOMImplementationRegistryTestCase) Time elapsed: 0.09 sec <<< ERROR!
> java.lang.ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DOMXSImplementationSourceImpl from [Module "deployment.dom-registry-test:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
> at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:182)
> at org.jboss.as.test.smoke.xml.DOMImplementationRegistryTestCase.testDOMImplementationRegistry(DOMImplementationRegistryTestCase.java:52)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/391
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list