• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Cold Fusion 5 and Cold Fusion MX on same system

New Here ,
Sep 17, 2008 Sep 17, 2008

Copy link to clipboard

Copied

I have cold fusion 5 installed on my machine and i installed cold fusion mx too. Cold fusion MX will be using its inbuilt webserver. Now i have a website which i want to execute using the cold fusion MX but i dont want to place the code inside coldfusionMX7\wwwroot\cfide. I want to place the code in a virtual directory and execute from there.

TOPICS
Advanced techniques

Views

490

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 17, 2008 Sep 17, 2008

Copy link to clipboard

Copied

Hi,

You need to edit your "jrun-web.xml" (which normally resides under your "cf_root/wwwroot/WEB-INF/" directory). And add your directory name inside like this,

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/your_directory</system-path>
</virtual-mapping>

Then restart your CF Server.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 18, 2008 Sep 18, 2008

Copy link to clipboard

Copied

daverms
thanks for a quick reply
but when i replaced my code with this, it did not work. below is the code which i replaced with.

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/sachin_data/activities/websites/</system-path>
</virtual-mapping>

The page cannot be replaced error is displaced.

I have cf 5.0 installed on port 80 i.e the default and cf 7 MX on 8500

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 18, 2008 Sep 18, 2008

Copy link to clipboard

Copied

Hi,

No need to replace your existing code, as this will be acting as a separate mapping. (So put this code as a separate entity)

Also in your,

<system-path>C:/sachin_data/activities/websites/</system-path>

declaration remove the "/" from the "websites/" and try restarting your server again after saving the changes made..


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 22, 2008 Sep 22, 2008

Copy link to clipboard

Copied

LATEST
Hi,

this also did not worked.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation