Lucee Install Fails

I can’t seem to get Lucee to install correctly. I got the Lucee Windows installer from here. Once the Lucee installer gets close to finishing, it gets stuck on the “Starting Lucee Service” page. The Windows Services console indicates that the Lucee service is already started. See this screenshot for reference.

It will sit on this screen for at least 10 minutes. I haven’t been patient enough to wait any longer than that because it seems that it shouldn’t take that long for Lucee to start. If I manually restart the Lucee service, the installer finishes. However, I’m then unable to access the Lucee server admin.

Lucee Error (missinginclude)
Message	Page /lucee/server/admin.cfm [C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\context\server\admin.cfm] not found
Mapping	/lucee
Java Stacktrace	lucee.runtime.exp.MissingIncludeException: Page /lucee/server/admin.cfm [C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\context\server\admin.cfm] not found 
 	at lucee.runtime.PageSourceImpl.loadPage( 
 	at lucee.runtime.PageContextImpl._doInclude( 
 	at lucee.runtime.PageContextImpl._doInclude( 
 	at lucee.runtime.listener.ModernAppListener._onRequest( 
 	at lucee.runtime.listener.ModernAppListener.onRequest( 
 	at lucee.runtime.PageContextImpl.execute( 
 	at lucee.runtime.PageContextImpl._execute( 
 	at lucee.runtime.PageContextImpl.executeCFML( 
 	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML( 
 	at lucee.loader.engine.CFMLEngineWrapper.serviceCFML( 
 	at lucee.loader.servlet.CFMLServlet.service( 
 	at javax.servlet.http.HttpServlet.service( 
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( 
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter( 
 	at org.apache.tomcat.websocket.server.WsFilter.doFilter( 
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( 
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter( 
 	at org.apache.catalina.core.StandardWrapperValve.invoke( 
 	at org.apache.catalina.core.StandardContextValve.invoke( 
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke( 
 	at org.apache.catalina.core.StandardHostValve.invoke( 
 	at org.apache.catalina.valves.ErrorReportValve.invoke( 
 	at mod_cfml.core.invoke( 
 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke( 
 	at org.apache.catalina.core.StandardEngineValve.invoke( 
 	at org.apache.catalina.connector.CoyoteAdapter.service( 
 	at org.apache.coyote.http11.Http11Processor.service( 
 	at org.apache.coyote.AbstractProcessorLight.process( 
 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process( 
 	at java.util.concurrent.ThreadPoolExecutor.runWorker( 
 	at java.util.concurrent.ThreadPoolExecutor$ 
 	at org.apache.tomcat.util.threads.TaskThread$ 
Timestamp	4/24/17 1:51:49 PM CDT

I’ve been running a fresh install since I posted this, and it’s still just sitting at the “Starting Lucee Service” screen. That’s over two hours, and I feel it’s a safe assumption that it shouldn’t be taking that long.

There should be an install.log in the Lucee root folder. Does that provide any clues as to what’s going wrong?

@Julian_Halliwell I don’t see an install log anywhere in my Lucee root. I also couldn’t locate the log elsewhere.

Strange. One always gets written whenever I use the installer. Do you have a JAVA_HOME environment variable defined pointing to a JDK? I’ve found the absence of that can cause problems.

I didn’t have JAVA_HOME defined previously. I added that to my environment variables, uninstalled Lucee, started a fresh Lucee install and it still got stuck on the “starting Lucee” screen. I left it like that yesterday, came back today to discover the server had been rebooted due to Windows Updates. Now everything appears to be working as expected.

Not sure if it was the newly created environment variable or the reboot that did it. Anyway, thanks for the help.

1 Like