Specify lucee-server path location?

When I deploy/run a lucee servlet in a context for the first time, a bunch of files are created. First, there’s the lucee-web in the web context, but also a lucee-server at the container level. I’d like to be able to specify where the lucee-server directory and contents are created. How do I go about that?

You can specify the location in an init param in the web.xml file, here is an example: https://github.com/foundeo/ubuntu-nginx-lucee/blob/master/etc/tomcat8/web.xml#L54-L71

You can also use system properties lucee.web.dir and lucee.base.dir there may be an environment variable equivalent to those as well.

Pete Freitag

1 Like