Lucee/Tomcat Server Error "Init factory"

I am still pretty new to Lucee/Tomcat. I’m testing it out on a Google Cloud VM and I am getting the following Application error when I try and load a CFM site:

“INFO”,“ajp-nio-127.0.0.1-8009-exec-8”,“08/18/2024”,“17:20:32”,“startup”,“Init factory”

I haven’t been able to find too much information on this particular error. 99% sure its a Tomcat configuration problem.

The Lucee server admin is working fine. Any help would be appreciated!

As you can read, this is an INFO line, not an error.

Could you explain your problem better and what you would like to achieve?

2 Likes

Ahh, OK. That makes sense.

I have a clean install of Lucee/IIS on a Windows machine. I am just trying to load a new site with an index.cfm file and getting a 500 Server error.

I went into the application log to look for the error and found that INFO line.

I may have been looking in the wrong log (still getting used to this). This error might be what’s actually happening…

18-Aug-2024 19:13:56.561 SEVERE [ajp-nio-127.0.0.1-8009-exec-10] org.apache.catalina.core.StandardWrapperValve.invoke Allocate exception for servlet [CFMLServlet]
lucee.runtime.exp.PageServletException: C:\inetpub\wwwroot\cax\html\WEB-INF

I have figured it out based on that other error. The directory was missing the WEB-INF/lucee folders.

Installing Lucee with Tomcat is quite simple:

  1. Install Tomcat
  2. Download Lucee’s war and rename it to ROOT.war
  3. Copy ROOT.war in a Tomcat webroot
  4. Start Tomcat

Tomcat will unpack your war with everything you need (/WEB-INF directory too).

1 Like