Powered By Railo

Wish List

My Amazon.com Wish List

Tags

adobe air ajax apple cf community cfml coldfusion examples ext flash flex google javascript max2007 max2008 misc open source programming railo software technology ui

Recent Entries

The Pirate Bay Sold!
Railo Documentation
iPhone Navi Software Now Available!
iPhone OS3 Cracked!

Search

RSS


Subscribe

Enter your email address to subscribe to this blog.

Blogroll

An Architect's View
Ben Forta
CFSilence
Coldfusion Jedi
Rey Bango
TalkingTree



Changing the Railo Deployment Folder

You want to install Railo on JBoss but don't want to deploy it into the c:\jboss\server\default\deploy folder so that you to go so deep to get to your cfm pages. In fact you would rather deploy it to somewhere like c:\railo. Well this little tutorial comes courtesy once again from Markus Skrabal and

is translated from German into English by yours truly.

Changing the Railo Deployment Folder

You have two choices if you want to change the deployment folder for Railo under JBoss you can:

  1. Use symlinks
  2. or change the Deployment folder

The first under a Nix system should be pretty obvious, under Windows however, you will probably have to use the tool Junction from Windows Sysinternals which can be found at: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx.

To change the deployment folder you have to do a little tooling around in the jboss-service.xml file located in %JBOSS_HOME%\servers\default\conf folder. At the end of that file you should see a tag that looks something like:


<attribute name="URLs">
deploy/
</attribute>

This is the place where you can add your own deployment folder and do something like:


<attribute name="URLs">
deploy/,file:///c:/MYRAILO/
</attribute>

What this basically tells JBoss, if I am not mistaken, is to look in both the deploy and railo folders for applications, not just simply the deploy folder.

Happy Coding...

Comments