AUTOM8N
AUTOM8N copied to clipboard
lucee dies after alias domain addition
@AnoopAlias
As soon as I add an alias, Lucee dies. Then begins working as normal again after I manually restart it /etc/init.d/lucee_ctl start
Before:
Add alias:
After:
Hi @cmerola can you try deploying the lucee jar on resin
https://autom8n.com/xtendweb/ColdFusion_Java.html#setting-up-coldfusion
"Using Caucho resin" section
Lucee restart will not be practical on servers with many accounts or for production deployments
If its for one site its fine
I will check out why the adding Alias + restart lucee cause the issue in the meanwhile
@AnoopAlias I've purchased another license and deployed this using Caucho resin, but it appears it won't be compatible with the CF system we need to run, as it runs Lucee as a .jar and not an actual full installation, and I need to be able to customize the lucee configs. Could it be possible the documentation is missing those steps? I also ran into an issue with being able to access http://127.0.0.1:8080/lucee-context/admin/web.cfm, which I assume is due to an incorrect /etc/resin/app-default.xml file? Those instructions were a bit vague as I wasn't sure if I was to prepend, append, mix, or overwrite that file.
The hosts on this server will rarely change, so it isn't the end of the world if a restart needs to happen adding or removing services, but there will be a lot of traffic. Ideally I would rather use Resin if I can get it to work properly.
Also a random question, where would the appropriate place be to add a CFM redirect? No matter where I put it, it doesn't seem to work as anticipated.
Let me know if you'd rather me open a ticket regarding all of this.
Thanks!
@cmerola -- I had a working system with Railo (Lucee's predecessor) and the instructions are from there. You should not have any issues with the jar deployment versus bundled deployment as the bundled tomcat deployment is just there as an easy one for beginners.
You have to merge the items in the doc to whatever is there already in /etc/resin/app-default.xml
the cfm must be added in the public_html with the appropriate ColdFusion template selected for Nginx
I am a bit busy with the next release which brings some changes to the clustering setup but please open a ticket with the server details and I can try to setup Resin+Lucee from my end.
https://autom8n.com/howtos/grant_access_to_autom8n_sysadmin.html