tomcatcoldfusionrailocontextpathopenbd

How to make Railo/OpenBD process files under Tomcat <Context/> nodes?


I have a Tomcat host defined like this, with the WEB-INF of Railo OR OpenBD in the webapps/ROOT directory.

<Host name="daves.cool.website.com"  appBase="webapps">
    <Context path="/remote" docBase="/full/path/to/remotedirectory" />
</Host>

If I put a CFM file under the ROOT of my webapps directory, it is processed as expected by either Railo or OpenBD. When I move that same file to the remotedirectory, it is returned as unparsed text with straight CFML code. How can I instruct the appserver to have OpenBD or Railo process files in the defined Context directories?

[edit: this is a Windows server]


Solution

  • You need a web application deployed in the remotedirectory, i.e., an exploded Railo or OpenBD WAR file.