javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

Oracle Community | 3004 | 9 years ago
  1. 0

    [WebLogic 9.2] Please enable the DomainRuntimeMBean Server and the Edit MBean Server

    Oracle Community | 9 years ago | 3004
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
  2. 0

    [WebLogic 9.2] Please enable the DomainRuntimeM... | Oracle Community

    oracle.com | 1 year ago
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
  3. 0

    Bug is described in CWD-654 but occurs when installing war demo-distribution for crowd 1.3 2008-03-04 14:07:58,838 http-8180-Processor24 ERROR [[Catalina].[localhost].[/crowd].[default]] Servlet.service() for servlet default threw exception javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:119) at com.opensymphony.xwork.util.DomHelper$DOMBuilder.<clinit>(DomHelper.java:168) at com.opensymphony.xwork.util.DomHelper.parse(DomHelper.java:116) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:641) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91) at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86) at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60) at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46) at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:264) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

    Atlassian JIRA | 9 years ago | Liechti Thomas
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. What steps will reproduce the problem? # Copy from sts-2.6.1.RELEASE/plugins (or any original location) to JRE/lib/ext: #* org.apache.xerces*.jar #* org.apache.xalan*.jar #* org.apache.xml.serializer*.jar #* org.apache.xml.resolver.jar (probably not involved) # Preferences/Spring/Bean Support/Namespaces: Disable both options for loading from classpath # Build some big project with Spring natures (even without any Spring validation) h3. Initial analysis I believe that STS should either be affected by this at all, since it should provide and configure any JAXP implementations itself by declaring the appropriate dependencies in the plugins. As pointed out in another case, *STS does not pick up JAXP implementations consistently from the right place.* This results in the poor performance as the implementations bundled with JRE (com.sun.org.apache.*) are picked up instead those that play well with the rest of the IDE, and these very naively load schemas repeatedly over the web or the classpath without caching them. The result below is exceptional in that it show that JAXP {code}javax.xml.transform.TransformerFactory{code} (in the original JRE) actually determines the implementation {code}org.apache.xalan.processor.TransformerFactoryImpl{code} (from looking at META-INF/services of the xalan jar), but the component that in the end tried to instantiate it doesn't see it on the classpath. *The obvious conclusion is that the dependency to at least xalan is missing for this plugin*, and on top of that, it doesn't see it on the platform classpath either. At the same time, all other JAXP factories are correctly redirected to use the added implementation, so there is also significant inconsistency. h3. Error details Date: Fri May 27 10:02:46 BST 2011 Message: Error occured processing '/JobSpacePU/src/META-INF/spring/pu.xml' Severity: Info Product: SpringSource Tool Suite 2.6.1.201105091000-RELEASE (com.springsource.sts.ide) Plugin: org.springframework.ide.eclipse.beans.core Session Data: eclipse.buildId=2.6.1.201105041000-RELEASE java.version=1.6.0_23 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide Exception Stack Trace: {noformat} javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) at org.eclipse.wst.xml.core.internal.catalog.CatalogWriter.serialize(CatalogWriter.java:321) at org.eclipse.wst.xml.core.internal.catalog.CatalogWriter.write(CatalogWriter.java:55) at org.eclipse.wst.xml.core.internal.catalog.Catalog$CatalogLS.save(Catalog.java:54) at org.eclipse.wst.xml.core.internal.catalog.Catalog$DefaultCatalogLS.load(Catalog.java:81) at org.eclipse.wst.xml.core.internal.catalog.Catalog.load(Catalog.java:648) at org.eclipse.wst.xml.core.internal.catalog.CatalogSet.lookupOrCreateCatalog(CatalogSet.java:41) at org.eclipse.wst.xml.core.internal.XMLCorePlugin.getDefaultXMLCatalog(XMLCorePlugin.java:77) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.XmlCatalogDelegatingEntityResolver.resolveEntityViaXmlCatalog(XmlCatalogDelegatingEntityResolver.java:90) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.XmlCatalogDelegatingEntityResolver.resolveEntity(XmlCatalogDelegatingEntityResolver.java:62) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.springframework.ide.eclipse.core.io.xml.XercesDocumentLoader.loadDocument(XercesDocumentLoader.java:48) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:375) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:421) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat}

    SpringSource Issue Tracker | 6 years ago | Andreas Nyberg
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
  6. 0

    JAXP XSLT transformer using wrong implementation by default

    Stack Overflow | 4 years ago | Jonathan
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerFactoryConfigurationError

      Provider org.apache.xalan.processor.TransformerFactoryImpl not found

      at weblogic.rmi.internal.ServerRequest.sendReceive()
    2. weblogic.rmi.internal
      BasicRemoteRef.invoke
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:220)
      2. weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
      2 frames
    3. weblogic.management.remote
      IIOPServerImpl_922_WLStub.newClient
      1. weblogic.management.remote.iiop.IIOPServerImpl_922_WLStub.newClient(UnknownSource)
      1 frame
    4. Java RT
      JMXConnectorFactory.connect
      1. javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239)
      2. javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271)
      3. javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
      3 frames
    5. com.bea.console
      ConsolePageFlowRequestProcessor.processActionPerform
      1. com.bea.console.utils.MBeanUtils.lookupMBeanServerConnection(MBeanUtils.java:2907)
      2. com.bea.console.utils.MBeanUtils.getDomainRuntimeMBeanServerConnection(MBeanUtils.java:1594)
      3. com.bea.console.utils.MBeanUtils.getDomainRuntimeServiceMBean(MBeanUtils.java:1670)
      4. com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:156)
      4 frames
    6. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
      1 frame
    7. org.apache.beehive
      PageFlowActionServlet.process
      1. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
      2. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
      3. org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
      4. org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
      4 frames
    8. com.bea.console
      ConsoleActionServlet.process
      1. com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
      1 frame
    9. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      1 frame
    10. com.bea.console
      ConsoleActionServlet.doGet
      1. com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
      1 frame
    11. org.apache.beehive
      PageFlowUtils.strutsLookup
      1. org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
      1 frame
    12. com.bea.portlet
      StrutsStubImpl.render
      1. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
      2. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:268)
      3. com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
      3 frames
    13. com.bea.netuix
      ControlTreeWalker.walkRecursivePreRender
      1. com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:288)
      2. com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:427)
      3. com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:708)
      3 frames