Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-95

ClassNotFoundException: __redirected/__SAXParserFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 1.2.0.Final
    • None
    • None

      After JDK update in lab we have started to see this error on solaris jdk8 and jdk9 [1]

      NOK: 1.8.0_162, 9.0.4
      OK: 1.8.0_151, 9.0.1

      I have found some discussion about the topic [2] [3]

      12:26:32 [INFO] --- wildfly-maven-plugin:1.2.0.Final:execute-commands (add-server-name-remoting) @ ldap-kerberos-eap-tests-eap71 ---
      12:26:32 [INFO] ------------------------------------------------------------------------
      12:26:32 [INFO] BUILD FAILURE
      12:26:32 [INFO] ------------------------------------------------------------------------
      12:26:32 [INFO] Total time: 11.517 s
      12:26:32 [INFO] Finished at: 2018-03-12T12:26:32Z
      12:26:32 [INFO] Final Memory: 68M/542M
      12:26:32 [INFO] ------------------------------------------------------------------------
      12:26:32 ---------------------------------------------------
      12:26:32 constituent[0]: file:/qa/tools/opt/maven-3.5.2/conf/logging/
      12:26:32 constituent[1]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-util-1.1.0.jar
      12:26:32 constituent[2]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-connector-basic-1.1.0.jar
      12:26:32 constituent[3]: file:/qa/tools/opt/maven-3.5.2/lib/aopalliance-1.0.jar
      12:26:32 constituent[4]: file:/qa/tools/opt/maven-3.5.2/lib/jansi-1.16.jar
      12:26:32 constituent[5]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-transport-wagon-1.1.0.jar
      12:26:32 constituent[6]: file:/qa/tools/opt/maven-3.5.2/lib/jsr250-api-1.0.jar
      12:26:32 constituent[7]: file:/qa/tools/opt/maven-3.5.2/lib/maven-core-3.5.2.jar
      12:26:32 constituent[8]: file:/qa/tools/opt/maven-3.5.2/lib/plexus-interpolation-1.24.jar
      12:26:32 constituent[9]: file:/qa/tools/opt/maven-3.5.2/lib/maven-embedder-3.5.2.jar
      12:26:32 constituent[10]: file:/qa/tools/opt/maven-3.5.2/lib/org.eclipse.sisu.inject-0.3.3.jar
      12:26:32 constituent[11]: file:/qa/tools/opt/maven-3.5.2/lib/wagon-http-2.12-shaded.jar
      12:26:32 constituent[12]: file:/qa/tools/opt/maven-3.5.2/lib/plexus-sec-dispatcher-1.4.jar
      12:26:32 constituent[13]: file:/qa/tools/opt/maven-3.5.2/lib/wagon-file-2.12.jar
      12:26:32 constituent[14]: file:/qa/tools/opt/maven-3.5.2/lib/maven-settings-3.5.2.jar
      12:26:32 constituent[15]: file:/qa/tools/opt/maven-3.5.2/lib/slf4j-api-1.7.25.jar
      12:26:32 constituent[16]: file:/qa/tools/opt/maven-3.5.2/lib/maven-artifact-3.5.2.jar
      12:26:32 constituent[17]: file:/qa/tools/opt/maven-3.5.2/lib/org.eclipse.sisu.plexus-0.3.3.jar
      12:26:32 constituent[18]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-impl-1.1.0.jar
      12:26:32 constituent[19]: file:/qa/tools/opt/maven-3.5.2/lib/maven-builder-support-3.5.2.jar
      12:26:32 constituent[20]: file:/qa/tools/opt/maven-3.5.2/lib/plexus-component-annotations-1.7.1.jar
      12:26:32 constituent[21]: file:/qa/tools/opt/maven-3.5.2/lib/commons-lang3-3.5.jar
      12:26:32 constituent[22]: file:/qa/tools/opt/maven-3.5.2/lib/plexus-cipher-1.7.jar
      12:26:32 constituent[23]: file:/qa/tools/opt/maven-3.5.2/lib/commons-io-2.5.jar
      12:26:32 constituent[24]: file:/qa/tools/opt/maven-3.5.2/lib/wagon-provider-api-2.12.jar
      12:26:32 constituent[25]: file:/qa/tools/opt/maven-3.5.2/lib/javax.inject-1.jar
      12:26:32 constituent[26]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-provider-3.5.2.jar
      12:26:32 constituent[27]: file:/qa/tools/opt/maven-3.5.2/lib/maven-compat-3.5.2.jar
      12:26:32 constituent[28]: file:/qa/tools/opt/maven-3.5.2/lib/cdi-api-1.0.jar
      12:26:32 constituent[29]: file:/qa/tools/opt/maven-3.5.2/lib/jcl-over-slf4j-1.7.25.jar
      12:26:32 constituent[30]: file:/qa/tools/opt/maven-3.5.2/lib/maven-repository-metadata-3.5.2.jar
      12:26:32 constituent[31]: file:/qa/tools/opt/maven-3.5.2/lib/maven-model-3.5.2.jar
      12:26:32 constituent[32]: file:/qa/tools/opt/maven-3.5.2/lib/guava-20.0.jar
      12:26:32 constituent[33]: file:/qa/tools/opt/maven-3.5.2/lib/maven-slf4j-provider-3.5.2.jar
      12:26:32 constituent[34]: file:/qa/tools/opt/maven-3.5.2/lib/plexus-utils-3.1.0.jar
      12:26:32 constituent[35]: file:/qa/tools/opt/maven-3.5.2/lib/maven-plugin-api-3.5.2.jar
      12:26:32 constituent[36]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-spi-1.1.0.jar
      12:26:32 constituent[37]: file:/qa/tools/opt/maven-3.5.2/lib/maven-shared-utils-3.1.0.jar
      12:26:32 constituent[38]: file:/qa/tools/opt/maven-3.5.2/lib/maven-settings-builder-3.5.2.jar
      12:26:32 constituent[39]: file:/qa/tools/opt/maven-3.5.2/lib/maven-model-builder-3.5.2.jar
      12:26:32 constituent[40]: file:/qa/tools/opt/maven-3.5.2/lib/maven-resolver-api-1.1.0.jar
      12:26:32 constituent[41]: file:/qa/tools/opt/maven-3.5.2/lib/commons-cli-1.4.jar
      12:26:32 constituent[42]: file:/qa/tools/opt/maven-3.5.2/lib/guice-4.0-no_aop.jar
      12:26:32 ---------------------------------------------------
      12:26:32 Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory not found
      12:26:32 	at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:200)
      12:26:32 	at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152)
      12:26:32 	at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232)
      12:26:32 	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)
      12:26:32 	at jdk.xml.internal.JdkXmlUtils.getSAXFactory(JdkXmlUtils.java:235)
      12:26:32 	at jdk.xml.internal.JdkXmlUtils.<clinit>(JdkXmlUtils.java:78)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:319)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:254)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:480)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:487)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:357)
      12:26:32 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:292)
      12:26:32 	at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.<init>(XMLSchemaFactory.java:97)
      12:26:32 	at javax.xml.validation.SchemaFactoryFinder._newFactory(SchemaFactoryFinder.java:232)
      12:26:32 	at javax.xml.validation.SchemaFactoryFinder.newFactory(SchemaFactoryFinder.java:146)
      12:26:32 	at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:213)
      12:26:32 	at __redirected.__SchemaFactory.<clinit>(__SchemaFactory.java:65)
      12:26:32 	at __redirected.__JAXPRedirected.initAll(__JAXPRedirected.java:94)
      12:26:32 	at org.wildfly.plugin.cli.ModuleEnvironment.initJaxp(ModuleEnvironment.java:69)
      12:26:32 	at org.wildfly.plugin.cli.CommandExecutor.executeCommands(CommandExecutor.java:114)
      12:26:32 	at org.wildfly.plugin.cli.CommandExecutor.execute(CommandExecutor.java:82)
      12:26:32 	at org.wildfly.plugin.cli.CommandExecutor.execute(CommandExecutor.java:106)
      12:26:32 	at org.wildfly.plugin.cli.ExecuteCommandsMojo.execute(ExecuteCommandsMojo.java:257)
      12:26:32 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      12:26:32 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      12:26:32 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
      12:26:32 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
      12:26:32 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      12:26:32 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      12:26:32 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      12:26:32 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      12:26:32 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
      12:26:32 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
      12:26:32 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
      12:26:32 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
      12:26:32 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
      12:26:32 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
      12:26:32 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      12:26:32 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      12:26:32 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      12:26:32 	at java.lang.reflect.Method.invoke(Method.java:498)
      12:26:32 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      12:26:32 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      12:26:32 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      12:26:32 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      12:26:32 Caused by: java.lang.ClassNotFoundException: __redirected/__SAXParserFactory
      12:26:32 	at java.lang.Class.forName0(Native Method)
      12:26:32 	at java.lang.Class.forName(Class.java:348)
      12:26:32 	at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:124)
      12:26:32 	at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:188)
      12:26:32 	... 44 more
      

      [1] https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Security/view/EAP-7.x-LDAP-Kerberos/view/EAP-7.x-LDAP-Kerberos/job/eap-7x-ldap-kerberos-testsuite-RHDS100-solaris/6/
      [2] https://developer.jboss.org/thread/214347
      [3] https://issues.jboss.org/browse/MODULES-136

            Unassigned Unassigned
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: