I've only recently been playing with Multiple Instances of CFMX on JRun with Apache. I also did an install of farcry on one of the instances I set up with no problems.
I say no problems.... it took me a while to get everything just right with the JRun instances and Apache (with the help for Andy Allan from the Scottish CFUG), but now I can set up instances like I've been doing it all my CF life.. :)
I wrote myself a check list of what I needed to do and posted it on my blog.
http://nil.checksite.co.uk/index.cfm/2006/5/2/CFMX-MultiServer-Set-up
Its not got a huge amount of detail, so there is an element of RFTM, but I hope it helps you with setting up your instances.
Stephen
On 18/05/06,
Troy Simpson <[EMAIL PROTECTED]> wrote:
>>>>>
I run multiple versions of farcry on my multiserver system. Remove
JRUN from the equation. You set up the multiserver environment the
same for any coldfusion application -- I assume you have this right.
>>>>>
This is exactly what I am trying to accomplish.
Thank you so much.
Forgive me for being a little dense (or hardheaded), but how can I
remove JRUN from the equation?
My JRUN server instance is located here:
D:\servers\jrun01\
I have configured the ColdFusion Application as an EAR with a
ColdFusion
WAR:
D:\servers\jrun01\cfusion-ear\cfusion-war
My context root for the ColdFusion WAR is set as root ("/") in this
config
file:
D:\servers\jrun01\cfusion-ear\META-INF\application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN"
"http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application id="Application_ID">
<display-name>Macromedia ColdFusion MX</display-name>
<description>Macromedia ColdFusion MX</description>
<module id="WebModule_1">
<web>
<web-uri>cfusion-war</web-uri>
<context-root>/</context-root>
</web>
</module>
</application>
The JWS web server config file ( jrun-web.xml) is located here:
D:\servers\jrun01\cfusion-ear\cfusion-war\WEB-INF
The config file also has a virtual mapping to the context root and if I
unremark this bit of code I get my errors again.
<!--
<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>d:/cfprojects/farcry01/www</system-path>
</virtual-mapping>
-->
So there appears to be a conflict between the context root in
application.xml and the virtual mapping in jrun-web.xml.
The application.xml says that the web server root "/" should point to
here:
D:\servers\jrun01\cfusion-ear\cfusion-war\WEB-INF
But the jrun-web.xml virtual mapping says that the web server root "/"
should point to here:
d:/cfprojects/farcry01/www
I guess JWS chooses d:/cfprojects/farcry01/www and then everything
blows up.
Thanks again,
Troy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---
