{jrun.home}/servers/cfusion/cfusion-ear/
In that directory is META-INF/, containing application.xml, and cfusion-war/, containing the ColdFusion instance itself.
Download the Railo 3.0.2 WAR file (at the bottom of the downloads page) and unpack the WAR file to a directory called railo-war. You can use jar xvf or rename the .war to .zip and just unzip it. Your railo-war/ directory should now contain WEB-INF/, index.cfm and License.txt.
Now move that railo-war/ directory into the cfusion-ear/ directory mentioned above (so it's next to the cfusion-war/ directory.
Finally, edit that application.xml file and copy the <module> definition for cfusion-war and change it to say railo-war for the web-uri and /railo for the context-root.
Start ColdFusion and you'll see it starts both application servers. http://localhost/index.cfm is Adobe ColdFusion and http://localhost/railo/index.cfm is Railo CFML.
If you write frameworks (like I do), this makes it easier to test across multiple engines.
-Djavax.xml.parsers.DocumentBuilderFactory=
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
(all on one line, no space after the =)com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

12 responses so far ↓
1 Joel Richards // Jan 31, 2009 at 8:09 AM
2 Bas // Feb 6, 2009 at 1:40 AM
SERVER-INF/ should be META-INF/ ;-) Besides that is works fine! Thanks!
3 Sean Corfield // Feb 6, 2009 at 8:36 AM
4 Dan Vega // Feb 13, 2009 at 7:24 PM
5 chris hough // Aug 17, 2009 at 12:27 AM
I am running osx as well.
also, considering the amount of memory this takes up, would it be more beneficial to setup up railo and openbd in separate instances? can this be done?
Thank you and I hope you had a great weekend
6 Sean Corfield // Aug 17, 2009 at 12:42 AM
As for the OpenBD problems, try the OpenBD mailing list?
7 chris hough // Aug 17, 2009 at 10:35 AM
hope you have a great week!
8 Rob Barthle // Oct 19, 2009 at 11:47 AM
I am running osx as well. "
I second this, I am having the exact same problem, not sure where I went wrong? I'm pretty new to multi-server and JRun, I expanded the openbd.war contents in /Applications/Jrun4/servers/openbd11/ and JRun seemed to like it well enough, but all that runs is the index.jsp page when I go to the internal server on port 8302, the index.cfm file gives me the 403 error.
9 Sean Corfield // Oct 19, 2009 at 12:14 PM
10 Rob Barthle // Oct 19, 2009 at 12:38 PM
I'm also giving Railo a try as well, first one to work wins! :-)
11 Leigh // Dec 14, 2009 at 7:00 PM
Did you ever have any luck figuring out the 403 error?
-Leigh
12 Mike Henke // Jun 11, 2010 at 5:55 PM
Leave a Comment