Hello Matt,

Matt Walter wrote:

> I know with the advance of JSP, it might be asked, "why bother with Cold Fusion".  
>Well, that's what the majority of our corporate apps are written in...and that's 
>thousands.  So, things need to be able to coexist and installing multiple web servers 
>is not an acceptable option by the IT/IS shop since then they would have to allow 
>that for everybody.  Which could get enormous.  So, is there any now, or going to be, 
>support by Orion for CF?  A config similar to Apache, which we use now, would be 
>ideal.

Hello, I hope I make you happy by saying that Cold Fusion works very fine with Orion 
already. You have to do a few steps to get it to work though. We'll make this easier 
soon.

When you install the Cold Fusion you select to install support for an "other" web 
server. When you select the document root you have to enter it yourself 
(default-site/html in the orion dir if you haven't changed anything).

Then when this is done, make sure the cfusion/bin directory is in your system path and 
add the following lines to web-application.xml:

 <servlet auto-reload="false">
  <servlet-name>cfm</servlet-name>
  <servlet-class>com.evermind.server.http.CGIServlet</servlet-class>
  <init-param>
   <param-name>interpreter</param-name>
   <param-value>cfml</param-value>
  </init-param>
 </servlet>

 <servlet-mapping>
  <servlet-name>cfm</servlet-name>
  <url-pattern>/*.cfm</url-pattern>
 </servlet-mapping>

And all .cfm documents will work fine.

Hope this helps, this should allow you to make a nice transition to JSP without 
throwing all cold fusion code out immediately...

Karl Avedal
The Orion team

Reply via email to