Welcome to Railo/Lucee page

154 views
Skip to first unread message

Gunnar Lieb

unread,
Mar 30, 2015, 1:38:35 AM3/30/15
to lu...@googlegroups.com
We are running Railo (hopefully soon Lucee) with Apache, Tomcat and mod_cfml on Linux. Our application is Contentbox/Coldbox based. It's just one site on the server.

After restarting the server sometimes the first page hit shows the Welcome to Railo page. This can become a serious problem if you have decent load on the server.
As well your Google index becomes poluted. After checking our remaining pages in Google index and searching for "Welcome to Railo" index.cfm I got the feeling
that this doesn't happen only on startup.

Is there a way to permantly remove/disable documentation and index pages from Lucee on production machines? Will they return on updates if I just delete the pages?

I'm also proposing to add as well on all documentation pages: <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">.



Alex Skinner

unread,
Mar 30, 2015, 1:55:06 AM3/30/15
to lu...@googlegroups.com

Jordan

Should chime in here there are a load of configuration settings you can tweak for mod cfml that make this less likely to happen.

I'm wondering whether it would be better for you to manually edit the welcome page with no index no follow or actually get the page to throw the correct httpcode for application still starting come back later. Instinctively the latter feels right. I guess that's a 503?

A

Sent from my phone

--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/50270d63-69ba-46e5-8f10-79fe4200eac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jordan Michaels

unread,
Mar 30, 2015, 3:17:58 AM3/30/15
to lu...@googlegroups.com
Hi Gunnar,

You're probably hitting the context creation timeout - you can enable logging in the mod_cfml valve to be sure and increase that timeout as needed, but since you only have one site, you don't really need to use mod_cfml. Mod_cfml is designed to dynamically create multiple contexts on the fly. Since you only have one context, I'd recommend just adding that context to your tomcat server.xml file so that the context is created as Tomcat starts up rather than on the fly. The /opt/railo/tomcat/conf/server.xml file should be well commented, so you should be able to use the notes to create your single context.

You might also consider giving your server more resources to work with. If it's too slow to create a context under load so that it hits the timeout, chances are good that your app's performance is suffering as well. I'd also be interested to know why you're restarting Railo while the server is under load? That seems like an important issue as well.

Hope this helps!

Kind regards,
Jordan Michaels

Gunnar Lieb

unread,
Mar 30, 2015, 4:33:09 AM3/30/15
to lu...@googlegroups.com
Hi Jordan,

thanks, I will remove mod_cfml, since we have only one site.
The server has a lot of cores and memory, so there should be no problem with the general performance.
The site has a pretty high crawl rate, so there is almost no chance to do a restart when there is no load, but normally we take the node offline and then do a restart.

Besides the problem we are having it looks that more people are suffering from this. Just do a Google search.

Best regards,

Gunnar

Gunnar Lieb

unread,
Mar 30, 2015, 4:34:58 AM3/30/15
to lu...@googlegroups.com
Alex, do you know if Railo/Lucee doc and index files will be rewritten on updates? So if I do a change there will it be persistant?

Jamie Jackson

unread,
May 28, 2015, 2:49:20 PM5/28/15
to lu...@googlegroups.com
BTW, here's a Lucee ticket about this (which references a conversation you and I had about the topic): https://luceeserver.atlassian.net/browse/LDEV-301
Reply all
Reply to author
Forward
0 new messages