Skip to main content
Inspiring
March 31, 2021
Answered

CF2021 Error

  • March 31, 2021
  • 2 replies
  • 2587 views

Getting this error when attempting to update Server Settings:

 

"Error","ajp-nio-127.0.0.1-8009-exec-8","03/31/21","10:36:29","cfadmin","Provider org.apache.xalan.processor.TransformerFactoryImpl not found The specific sequence of files included or processed is: C:\ColdfusionX\cfusion\wwwroot\CFIDE\administrator\settings\server_settings.cfm, line: 675 "

 

System Specifics:

   Windows Server 2016 on a Physical Server.

 

Any ideas on why it would be doing this?

Other information:

It seems to update Timeout Requests after seconds and Enable Per Application Settings, even though I get the error page, but everything after that it does not register the change.

 

 

 

    This topic has been closed for replies.
    Correct answer BKBK

    Might this error be caused by ColdFusion missing a library?  Verify that the following file exists: C:\ColdFusionX\cfusion\lib\xalan.jar

    2 replies

    BKBK
    Community Expert
    BKBKCommunity ExpertCorrect answer
    Community Expert
    April 4, 2021

    Might this error be caused by ColdFusion missing a library?  Verify that the following file exists: C:\ColdFusionX\cfusion\lib\xalan.jar

    jmaitinoAuthor
    Inspiring
    April 5, 2021

    No such file exists, however all other configuration pages appear to not have any issues reading/writing their neo-*.xml configuration files.

     

    I cannot find a xalan.jar anywhere within the install files or C:\ColdfusionX. 

    Charlie Arehart
    Community Expert
    Community Expert
    March 31, 2021

    jmaitino, I have news, some may be good, some maybe not.

     

    First, that would be odd, indeed, if (even with that error) a change on one CF Admin page would change SOME but not ALL settings on that page.

     

    As for the error, note the reference to ".xalan.processor.Transformer". As you may know, the CF admin configuration settings are stored in XML files, with a name in teh form of neo-*.xml, in the cfusion/lib folder (or instancename/lib, if you use multiple instances) . In the case of that settings page, I expect most are in the neo-runtime.xml. So you may want to open that, and better try to check out if it's well-formatted.

     

    Sadly, while CF does keep a backup of any changes to the files, it keeps only ONE generation, so you will see a neo-runtime.bak. And that can be updated for any of various reasons, so that you may find your backup file is of no use. Still, make a copy of the two neo-runtime.bak and .xml files you have, to protect them for the next steps. You could then stop CF, rename the current .xml file, and then rename the bak to that, then restart CF and see if the problem is resolved (can you now save changes on that page). Do beware in reverting to the bak this way, you could lose settings you had made that were in the "real" (broken) one and not the "bak"). If that does NOT help, you may want to revert back to the original .xml you had.

     

    But maybe you can find a backup made by your OS or some software, and then you could try that (again, you need to stop CF, put in the restored neo-runtime.xml file, and then start CF and test things).

     

    The bummer about all this is that there can be occasions when the XML files become corrupt--it sometimes happens when people kill CF (rather than stop it gracefully, or when that does not work), or when CF crashes, or the box is rebooted and CF is not able to shitdown gracefully. Again, it's a bummer both that there is just the one generation backup (I have filed a feature request asking them to keep more), and that there's no provision for better-detecting corupted files or easily reverting to the backup.

     

    Finally, if you are absolutely stuck, as a last resort you could also rename the neo-runtime.xml (while CF is down) and start CF. It will create a new version, set to the defaults. At least then you could proceed to make your intended updates--but again you will have lost all the changes you made before, that were stored in that file.

     

    I will note that there is (since CF10) an audit.log, found in the CF logs folder, which tracks many (not all) changes made in the CF admin. It doesn't track all the details for every change it does track, but it could help you to at least be reminded of some things that WERE changed.

     

    Again, the best thing would be if you had a backup you could revert to. 

     

    Let us know if any of this gets you going.

    /Charlie (troubleshooter, carehart. org)
    jmaitinoAuthor
    Inspiring
    April 1, 2021

    A couple things, I deleted neo-runtime.* and restarting the service did not create it again.  My guess is that it will check for neo-runtime.bck and rename it.

    I extracted the original neo-runtime.xml and put it in there and got the following, when I clicked submit on the same page:

     

    "Error","ajp-nio-127.0.0.1-8009-exec-1","03/31/21","21:06:49","cfadmin","Provider org.apache.xalan.processor.TransformerFactoryImpl not found The specific sequence of files included or processed is: C:\ColdfusionX\cfusion\wwwroot\CFIDE\administrator\settings\server_settings.cfm, line: 675 "
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
     at java.xml/javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:177)
     at java.xml/javax.xml.transform.FactoryFinder.find(FactoryFinder.java:212)
     at java.xml/javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:126)
     at coldfusion.mobile.MobileServlet.enableCORS(MobileServlet.java:1706)
     at coldfusion.runtime.RuntimeServiceImpl.enableCORS(RuntimeServiceImpl.java:2187)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at coldfusion.runtime.StructBean.invoke(StructBean.java:509)
     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:4350)
     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:4202)
     at cfserver_settings2ecfm1267858934._factor16(/CFIDE/administrator/settings/server_settings.cfm:675)
     at cfserver_settings2ecfm1267858934._factor20(/CFIDE/administrator/settings/server_settings.cfm:578)
     at cfserver_settings2ecfm1267858934._factor63(/CFIDE/administrator/settings/server_settings.cfm:576)
     at cfserver_settings2ecfm1267858934.runPage(/CFIDE/administrator/settings/server_settings.cfm:1)
     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:257)
     at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:749)
     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:578)
     at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
     at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:605)
     at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
     at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
     at coldfusion.filter.PathFilter.invoke(PathFilter.java:162)
     at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
     at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:97)
     at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
     at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
     at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
     at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
     at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
     at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
     at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:151)
     at coldfusion.CfmServlet.service(CfmServlet.java:232)
     at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
     at jdk.internal.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:57)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
     at jdk.internal.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
     at jdk.internal.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at coldfusion.filter.ModuleCheckFilter.doFilter(ModuleCheckFilter.java:104)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
     at jdk.internal.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:84)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
     at jdk.internal.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359)
     at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:460)
     at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589)
     at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
     at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: java.lang.ClassNotFoundException: org/apache/xalan/processor/TransformerFactoryImpl
     at java.base/java.lang.Class.forName0(Native Method)
     at java.base/java.lang.Class.forName(Class.java:398)
     at java.xml/javax.xml.transform.FactoryFinder.getProviderClass(FactoryFinder.java:122)
     at java.xml/javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:165)
     ... 150 more

     

     

     

    jmaitinoAuthor
    Inspiring
    April 1, 2021

    Did some experimenting, and the following update but cause the error, all others do not update:

    Timeout Requests after seconds     queueTimeout
    Enable Per Application Settings     isPerAppSettingsEnabled
    Maximum Output Buffer Size     maxOutputBufferSize
    Memory Limit for In-Memory Virtual File System    inMemoryFileSystemLimit
    Memory Limit per Application for In-Memory Virtual File System inMemoryFileSystemAppLimit
    Clear temporary files created during CFaaS after   cFaasGeneratedFilesExpiryTime
    Executor Pool Configuration (Async Framework): Core Pool Size corePoolSize
    Executor Pool Configuration (Async Framework): Max Pool Size maxPoolSize
    Executor Pool Configuration (Async Framework): Keep Alive Time keepAliveTime
    Azure Service Bus Thread Pool Config: Core Pool Size  corePoolSizeAzureServiceBus
    Azure Service Bus Thread Pool Config: Max Pool Size  maxPoolSizeAzureServiceBus
    Azure Service Bus Thread Pool Config: Keep Alive Time  keepAliveTimeAzureServiceBus
    Maximum number of POST request parameters   postParametersLimit
    Maximum size of post data     postSizeLimit
    Enable mobile's server workflow     isServerMobile