Peter Boughton
unread,May 27, 2012, 9:12:36 AM5/27/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ra...@googlegroups.com
Global/server datasources are defined in railo-server.xml and web context specific datasources are defined in railo-web.xml
The directory which contains a context's railo-web.xml config file is defined within the servlet configuration, as the parameter "railo-web-directory", which occurs in the global web.xml
For Tomcat, the global web.xml is {tomcat}/conf/web.xml
For Jetty, the global web.xml is {jetty}/etc/webdefault.xml
For Resin, the global web.xml is ... I have no idea where, and the Resin docs do not give an easy answer. :/ Search your Resin directory for "railo.loader.servlet.CFMLServlet" and you should find where it's defined.
Once you've found the railo-web-directory parameter, there are two primary ways it's likely to be configured:
If the value is "{web-root-directory}/WEB-INF/railo/" then this means that Railo's config file is in the webroot, inside WEB-INF/railo.
If the value is (something like) "/opt/railo/configs/{web-context-hash}/" then you need to identify the web-context-hash for the site you want (e.g. by checking the home page of the server admin) and that will tell you the directory to check.
After modifying a railo-web.xml file manually, restart railo to ensure the changes are picked up.