Railo server config xml file location

230 views
Skip to first unread message

Dan Skaggs

unread,
Jun 6, 2013, 2:17:43 PM6/6/13
to ra...@googlegroups.com
Can one of you fine folks point me to the location of the config file that holds the settings managed by the Server Administrator?

I attempted to disable the request timeout by setting the number to 0 a bit ago and borked my entire Railo install. The server administrator took the zero value, submitted the form and promptly started throwing an exception on every request (both my application and the server administrator site).  The exception thrown is "timeout must be a postive number"

I found the railo-web.xml.cfm file that contains a bunch of settings (presumably for the web context administrator app) but have yet to find the file for the server configs.

Thanks!
Dan

Igal @ getRailo.org

unread,
Jun 6, 2013, 2:54:49 PM6/6/13
to ra...@googlegroups.com
run this in Railo:

<cfdump eval="expandPath( '{railo-server}' )">


Igal
> --
> Did you find this reply useful? Help the Railo community and add it to
> the Railo Server wiki at https://github.com/getrailo/railo/wiki
>
>
> If you don't have time, add a request to the Railo Server wiki to-do
> page at https://github.com/getrailo/railo/wiki/Todo
> ---
> You received this message because you are subscribed to the Google
> Groups "Railo" group.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Igal Sapir
Railo Core Developer
http://getRailo.org/

Dan Skaggs

unread,
Jun 6, 2013, 3:13:00 PM6/6/13
to ra...@googlegroups.com
That's just it, I can't run *any* CF code right now. Any request to the server administrator OR any page in my application returns the exception.

This is my local development environment and was installed using the Windows 64-bit installer installing to the default location of c:\railo.

Thanks
Dan

Dan Skaggs

unread,
Jun 6, 2013, 3:42:52 PM6/6/13
to ra...@googlegroups.com
For any one else that happens to to *accidentally* do this, here's the file and node that you need to update to fix it:
C:\railo\lib\railo-server\context\railo-server.xml

Look for a node that looks like:

<application allow-url-requesttimeout="false" listener-mode="curr2root" listener-type="mixed" requesttimeout="0,0,0,0" script-protect="none"/>

and update the requesttimeout attribute. It works just like createTimeSpan does in CF code (days, hours, minutes, seconds).

Many thanks to my buddy Jim Priest for running that code snippet Igal provided and pointing me in the right direction.

Dan

Michael Offner

unread,
Jun 7, 2013, 2:59:22 AM6/7/13
to ra...@googlegroups.com
FYI, we solved the problem

micha


2013/6/6 Dan Skaggs <dan.s...@web-meister.com>



--
/micha

Michael Offner CTO Railo Technologies GmbH

Dan Skaggs

unread,
Jun 7, 2013, 12:07:41 PM6/7/13
to ra...@googlegroups.com
Excellent! Thanks a bunch Micha!

Jim Priest

unread,
Jun 6, 2013, 3:59:23 PM6/6/13
to ra...@googlegroups.com
Since this really borks things... should this be filed as a bug maybe?

Add some validation to the admin form that prevents you from setting it to 0.

Jim
Reply all
Reply to author
Forward
0 new messages