Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-143

JAXP redirect assumes that modules is on the system classpath

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.0.Beta1
    • None
    • JAXP Redirection
    • None

    Description

      In Karaf I see

      JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@35a16869) for search
      JAXP: Looking up system property 'javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema'
      JAXP: The value is '__redirected.__SchemaFactory'
      JAXP: createInstance(__redirected.__SchemaFactory)
      java.lang.ClassNotFoundException: __redirected.__SchemaFactory
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at javax.xml.validation.SchemaFactoryFinder.createClass(SchemaFactoryFinder.java:278)
      	at javax.xml.validation.SchemaFactoryFinder.createInstance(SchemaFactoryFinder.java:309)
      	at javax.xml.validation.SchemaFactoryFinder._newFactory(SchemaFactoryFinder.java:172)
      	at javax.xml.validation.SchemaFactoryFinder.newFactory(SchemaFactoryFinder.java:145)
      	at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:205)
      	at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.<init>(NamespaceHandlerRegistryImpl.java:104)
      	at org.apache.aries.blueprint.container.BlueprintExtender.start(BlueprintExtender.java:87)
      

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: