On 12/11/04 5:26 PM, The Wolf wrote:

Since I have ColdFusion MX for J2EE running on Tomcat, the context root is '/cfusion' (even through Apache web server), that means that CFML files will only be processes under that context root, e.g. '/cfusion/myapp/index.cfm' etc.

I am still looking on how to setup FarCry with a contex root other than '/'.

I finally figured out how to run FarCry on ColdFusion MX for J2EE on Tomcat.

Thanks to Tim Lucas and all the others who contributed to this thread.


Here are a few details about my setup:

- Mac OS X 10.3.6
- Apache web server 1.3.29 and mod_jk 1.2.6
- Tomcat 5.0.28
- ColdFusion MX 6.1 U1 for J2EE

My ColdFusion installation is in the '/mySites/cfusion' directory.
My ColdFusion administrator URL is <http://localhost/cfusion/CFIDE/administrator/>.



Here are the steps I followed to install FarCry:

- I created the '/mySites/cfusion/FC' directory.

- I extracted the 'FarCryV2-2.tar.gz' file, moved the 'farcry_aura', 'farcry_core' and 'fourq' directories into the '/mySites/cfusion/FC' directory.

- I loaded the FarCry installer into my web browser, the URL is
<http://localhost/cfusion/FC/farcry_core/admin/install/>.
I noticed that the FarCry installer automatically created a ColdFusion mapping the first time I loaded it:
Logical Path: "/farcry"
Directory Path: "/mySites/cfusion/FC"


- I executed the FarCry installer with the following info:
        Application Mapping: "/cfusion/FC/farcry_myapp/www"
        FarCry Admin Mapping: "/cfusion/FC/farcry_core/admin"

- I logged into the FarCry administrator at <http://localhost/cfusion/FC/farcry_core/admin/> and it worked fine.

- I took a look at my FarCry test application at <http://localhost/cfusion/FC/farcry_myapp/www/> and it looked fine.


To sum up: it looks like FarCry doesn't actually require the web server mappings ('/farcry' and '/farcry_myapp') in order to run, it works fine even without them, I think the documentation should be updated about that, I was pretty confused at the beginning ...


The only problem in my setup is that FarCry URLs are pretty long, but since I am running ColdFusion in the '/cfusion' context root, I don't see any easy workaround to that. Probably I could use Apache URL rewriting and proxying capabilites to have shorter URLs ...


Please let me know if I missed something in my FarCry install, any suggestion would be greatly appreaciated, this is my first experience with FarCry.


Feel free to modify this message and put it on the FarCry website, it may help other users of ColdFusion MX for J2EE to setup FarCry ...

Thanks.

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to