coldfusioninstancejrun

New Instance Creates A New /CFIDE Mapping


I've created a new instance of ColdFusion and for whatever reason it has a mapping for /CFIDE pointing at:

C:\JRun4\servers\{instance}\cfusion.ear\cfusion.war\CFIDE 

Even though my default instance has:

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\CFIDE

I'd rather keep it pointing at the CFIDE under Apache, but I'm unable to edit the mapping. If I manually change it in neo-runtime.xml it gets automagically switched back to the WAR location when I restart the instance.

Please, no suggestions to just rely on an Apache virtual directory. While this would work for scripts, etc it doesn't truly solve the problem. If I wanted to use the Admin API or even create Admin extensions I'd be worrying about 2 separate CFIDE directories.


Solution

  • Todd, if you can't resolve your particular issue (as per comments directly against your initial question), you could perhaps just a directory junction instead: get rid of the new instance's CFIDE dir completely, and create a junction at that location pointing to the one you wish to share between instances.

    This is a slight hack, but if all else fails it'll work.

    But to be clear: I do not have the problem you are having on CF9.0.1: what you're trying to do should work. So I think there's something else afoot here which probably needs addressing.