Preface to say I am a long time Lucee user on Windows and have enough linux experience to get myself in trouble (which may be the case here…it’s been a while)
I’ve set up some debian VMs on proxmox and installed 6.2.0.321 on one of them and MySQL on another. The web & server admins load fine and I was able to create verified datasources pointing at the MySQL vm. So this part of my homelab setup is working fine and seems to indicate I didn’t mess up the install.
I have HOSTS set up on both my windows machine and the webserver to point homeApps.local to 192.168.1.147 but they resolve to the Apache2 Debian default page and http://homeapps.local/index.cfm is a 404.
For the life of me I can’t figure out why server admin isn’t picking up the VHost I set up in server.xml
Pretty sure that will break or Tomcat ignore the directive. There is also a space precending in the alias value. However, above you are using the context directive Are you using mod_cfml and that directive together? Wouldn’t that be a problem? If you want to deactivate mod_cfml and use another approach of setting up the web context , here is a walkthrough on windows in another (unrelated) post, which in Tomcat is pretty the same on linux:
I managed to get rid of the 404 on http://homeapps.local/index.cfm as I hadn’t run a2ensite on the homeApps.conf file. It serves html fine now but is not being parsed by Lucee.
Nothing in Lucee or Apache2 logs but this does occur on every restart of the service in the catalina. And it seems to be context related so probably the reason but there is no other information as to why.
19-Apr-2025 10:40:12.871 SEVERE [main] org.apache.catalina.core. StandardContext . loadOnStartup Servlet [RestServlet] in web
application [] threw load() exception
java. lang. ClassCastException: class lucee.runtime. exp. PageServletException cannot be cast to class
lucee.loader.servlet . jakarta. ServletExceptionlavax (lucee.runtime.exp. PageServletException and
lucee. loader. servlet jakarta . ServletExceptionJavax are in unnamed module of loader java.net. URLClassLoader @18769467)
at lucee.loader.servlet .jakarta.RestServlet.init (RestServlet.java:42)
Probably unrelated but I’ve gotten this errors while using Log Viewer and Log Analyzer plugins
[CFMLServlet] threw exception
java. lang. ClassCastException: class lucee.runtime. exp. PageServletException cannot be cast to class
lucee loader.servlet jakarta. ServletExceptionlavax (lucee.runtime. exp. PageServletException and
lucee loader.servlet jakarta. ServletExceptionJavax are in unnamed module of loader java.net. URLClassLoader @18769467)
at lucee.loader.servlet.jakarta.CFMLServlet.init(CFMLServlet.java:42)
I just created a new VM, installed apache2 and ran the installer again and got the following error
I just ran the install on a new VM running Ubuntu server (previous VM was debian 12) and got exactly the same error.
UPDATE: I just ran the 7 BETA installer on a new VM and it completed without error. So maybe an issue with the 6.x installer?
I’ll now see if the webcontext issue is resolved…
UPDATE 2: Used the 7.0.0.202 installer with exactly the same server VM template (Debian 12/Apache2 ) using default Lucee settings and
IT WORKS. No screwing around…right out of the box.
So I guess there’s something borked in the 6.x installer script for Debian 12 and Ubuntu server 24.05? It’s absolutely repeatable (because I tried installing 6.x over a dozen times)
Yes! That runs without error. I haven’t tried setting up a webcontext yet but given that 7 Beta worked I’m guessing this will as well. I’ll post back if not.