I'm running a developer install of CF2023u2 and, a...
# adobe
t
I'm running a developer install of CF2023u2 and, after a restart of the service today, I am getting a 500 error with no way to access my app or the CF admin. From what I can tell, the log suggests something going wrong with checking the CF install/license type(?) I'll post the log in a thread, but has anyone seen this and know of a solution?
Copy code
Jul 18, 2023 5:33:18 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet [CfmServlet]
java.lang.NullPointerException: Cannot invoke "coldfusion.server.LicenseService.isStandard()" because the return value of "coldfusion.server.ServiceFactory.getLicenseService()" is null
	at coldfusion.CfmServlet.init(CfmServlet.java:99)
	at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:137)
	at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:111)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1106)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1063)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:747)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:115)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:373)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:833)
m
shot in the dark here but is this machine not connected to the internet?
If you stop and restart the service, does that fix the issue?
t
Machine is def connected to internet. Stop/Restart does not help.
m
Hm... @priyank_adobe any ideas here? This feels like a "machine can't get to the licensing server" issue but it is in dev mode so that shouldn't matter...
t
Maybe a false alarm. Looks like a JAR conflict with some Log4J files we include on the class path. Noticed another log from CF saying an appender could not be loaded. I removed them and was able to get the admin to pull up again. Now I need to see when we added these files because things have been running without issue as far as I know. I'll follow up if it does seem to be something with CF. For now, I think it's on our end creating the issue. Thanks for the help.
1
👍 1
m
Glad you cleared the log4J jam 😉
😁 1