I recently cloned a client’s repo on my local machine, cd’d to the root, and typed “start cfengine=adobe@11”. It appeared to download the package as it does with other cf engines, but the server isn’t starting. There’s no icon in the system tray, and when I type “stop”, it reads “server already stopped”. I get the same results with another folder I created to test the CF11 engine in CB.
I’ve set up up a number of dummy CF sites on my machine using CommandBox with other cfengines (adobe@2016, adobe@2021) and had no problems with them starting up. A message in CB reads to add “–debug --console” to the start command if the server won’t start. So I did that and the below is what output to the screen:
"…
[ERROR] java.lang.NullPointerException
[ERROR] at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] at runwar.Server.createServletDeployment(Server.java:1360)
[ERROR] at runwar.Server.startServer(Server.java:517)
[ERROR] at runwar.Start.main(Start.java:51)
[ERROR] javax.servlet.ServletException: java.lang.NullPointerException
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
[ERROR] at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] at runwar.Server.createServletDeployment(Server.java:1360)
[ERROR] at runwar.Server.startServer(Server.java:517)
[ERROR] at runwar.Start.main(Start.java:51)
[ERROR] Caused by: java.lang.NullPointerException
[ERROR] at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] … 13 more
[DEBUG] Runwar: Running shutdown hook
[DEBUG] Runwar: shutdown hook:stopServer()
[INFO ] Runwar: ******************************************************************************
[INFO ] Runwar: *** stopping server ‘CF11Test’ (socket 49857)
[INFO ] Runwar: ******************************************************************************
[DEBUG] Runwar: All deployments undeployed and underlying Undertow servers stopped
[DEBUG] Runwar: Stopped server
[DEBUG] Runwar: shutdown hook joining main thread
[DEBUG] Runwar: Shutdown hook finished
Server’s output stream closed. It’s been stopped elsewhere.
Stopping server…
ERROR (5.9.0+00721)
Server process returned failing exit code [1]"
I don’t know what all of that’s telling me. The client is running their site on CF11, so using CF11 for my my local dev envi would be ideal – thanks much.