Skip to main content
collaboranaut
Participating Frequently
September 12, 2023
Question

ColdFusion 2021, error launching Administrator (Could not initialize class net.sf.ehcache.config)

  • September 12, 2023
  • 3 replies
  • 702 views

I will preface this with full disclosure. I know as much about ColdFusion as Jon Snow (I am basically the CF Admin when there is a problem or an upgrade, so once every year or two). I am not sure what was changed, but I get an error logging into the Administrator, takes me to a page, enter.cfm (log below). What I can say is that this was working a few weeks back, and I presume a monthly reboot for Windows updates made some change take place, but there is no record of said change (we have outside parties updating an application). So a stretch, but I was thinking if I could find the Java settings/arguments, I could compare them to our working Test instance. Have not been able to manually fund this, nor a post with this information, and could be the wrong direction anyway. Any thoughts?  

 

Oh, and this is not impacting our application/site, just seemingly the Administrator.

 

 

Sep 11, 2023 22:00:01 PM Error [http-nio-8500-exec-1] - Could not initialize class net.sf.ehcache.config.ConfigurationFactory null <br>The error occurred on line 684., http://hostname:8500/CFIDE/administrator/enter.cfm , /CFIDE/administrator/enter.cfm
Sep 11, 2023 22:00:02 PM Error [http-nio-8500-exec-1] - Could not initialize class net.sf.ehcache.config.ConfigurationFactory The specific sequence of files included or processed is:  DRIVE:\ColdFusion2021\cfusion\wwwroot\CFIDE\administrator\enter.cfm, line: 684
Sep 11, 2023 22:00:12 PM Error [http-nio-8500-exec-4] - Could not initialize class net.sf.ehcache.config.ConfigurationFactory null <br>The error occurred on line 684., http:// hostname:8500/CFIDE/administrator/enter.cfm, /CFIDE/administrator/enter.cfm
Sep 11, 2023 22:00:12 PM Error [http-nio-8500-exec-4] - Could not initialize class net.sf.ehcache.config.ConfigurationFactory The specific sequence of files included or processed is: DRIVE:\ColdFusion2021\cfusion\wwwroot\CFIDE\administrator\enter.cfm, line: 684

 
This topic has been closed for replies.

3 replies

collaboranaut
Participating Frequently
September 19, 2023

Thank you both, the post you linked to is the CF developer we have contracted, so that is our environment. I am going to move forward with manually applying CF patches to see if this resolves the problem. Thanks.  

Community Expert
September 12, 2023

Someone else recently reported a problem with ehcache when they used the CACHEDWITHIN attribute of CFQUERY. This sounds pretty similar. Sadly, no answer is available there yet either.

 

https://community.adobe.com/t5/coldfusion-discussions/error-after-changing-cfadmin-password-could-not-initialize-class-net-sf-ehcache-config-configuration/m-p/14077550#M195766

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC