startup welcome to railo

Sometimes during startup the Railo welcome page shows up one time (maybe more).
With the next request Contentbox shows correctly.

Any idea why this happens and how to avoid this?

Btw we have now one site with 250+ pages railo documentation in Google index :frowning:

Iā€™m running ACF 11 on my laptop and every time that I start my ContentBox site, which I am just testing has only 4 pages, I get a timeout error. If I refresh, sometimes, I get a different timeout error and I have to reload again, other times the site loads. Eventually the site loads. So it may be a similar issue that you are seeing with Railo.

First error for Gunnar.

This is usually a mod cfml issue. I am guessing you are running Railo with mod cfml? If you are it means that mod cfml is trying to dynamically add a web context to tomcat to Match the web server. You can only avoid that if you do not use mod cfml and actually define the site in the tomcat server.xml. There are also some properties for mod cfml to help with that as well. Usually it is a load issue and mod cfml waits for x amount of seconds to try again.

As for the acf issue. The almost likely suspect is reporting execution times in the settings. This setting is stupid and doesnā€™t even report correct execution times. Plus it is a hog. I would recommend removing it and turn on fusion reactor instead.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

A provider is a dummy object that is injected instead of your real object. It delays creation of the real dependency until the first time you go to use it. You can call its get() method to get the actual dependency, or the onmissingMethod will kick in and just proxy your method calls straight through to the real object.

http://wiki.coldbox.org/wiki/WireBox.cfm#Providers

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

we are using mod_proxy. Is it the same behaviour with it?

When you hit the default host, it can also mean that no host was found that matched the domain name in use. Is there a chance that Railo is getting restarted and taking a long time to load the contexts? I would start by removing the default host in Tomcat, or at least removing the code so when you hit it, you just get a blank page or meta refresh.

How many different sites are you running on that server?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

ups, we are using mod_cfml Itā€™s just one site running on the server. The section in server.xml looks like:

`


`

Iā€™ve never actually used mod_cfml outside of just experimenting with it. Itā€™s whole thing is that it makes it easier if you are adding sites all the time since it creates the Tomcat config on the fly for you. I would recommend just creating a single static host and use a reverse proxy to an AJP listener. Just make sure the host name in the server.xml matches the host names in the apache site. If youā€™re using a server alias, you can add tags inside the Tomcat host as well. Actually, come to think of it, if youā€™re only using a single Railo site, you could probably just configure your Tomcat host to be a generic catch all though Iā€™m not sure what the syntax is right off.

I would be interested though in hearing if this is a bug in mod_cfml or just a misconfiguration. Thereā€™s no one left really on the Railo list, but you could ask on the Lucee list since I assume the connector is pretty much the same and see if anyone else has had that issue.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

We are running mostly one application on one server, so we will probably drop mod_cfml.
How do you configure it? Like simple proxy example here Installation apache Ā· getrailo/railo Wiki Ā· GitHub
But simply proxy routes all requests to tomcat, so ProxyPassMatch should be added, right?

Gunnar

All you need to do is add a host to the server xml with the right domain and asset location. I will post later on how it looks. Mod cfml is just a convenience.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

I have removed the docs from the Google index and did a check if there are still Railo index pages. First Google showed just three but after choosing to display identical pages as well I got 200+ pages in the indexā€¦ This is bad. So it seems that it is not only after a restart.

Quick check on Google (seach for: ā€œwelcome to railoā€ index.cfm") showed that other sites have the problem as well (not the unconfigured Railo server, but the pages which show real content if you click them.

Gunnar this is easy to resolve. I can show you if you like.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

I have fixed it, removed mod_cfml from server.cml So now if the server is not ready we get a 503 which is fine.

After checking everything I found almost 40 domain names in the Catalina directory. Scary. Mostly our domains which are forwarded, but some
strange other domains as well.