Skip to main content
nikos101
Inspiring
October 27, 2009
Question

CF9 + CF8 running at the same time?

  • October 27, 2009
  • 1 reply
  • 1440 views

I'm wanting to try out CF9 in my dev server. Is it ok to have CF8 running at the same time?

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    October 27, 2009

    It is OK. However, I would run the one on port 8500, the other on port 8501. I am assuming your Coldfusion installations will be single-server. To reset the port to 8501, for example, follow these steps.

    1) Stop Coldfusion.

    2) Save a back-up the file {path_to_Coldfusion_directory}\runtime\servers\coldfusion\SERVER-INF\jrun.xml elsewhere.

    3)  Open the original jrun.xml file for editing. Locate the tag named WebService (near the bottom of the file). Change the port attribute to 8501. The values of the attributes interface and deactivated must be * and false, respectively.

    <service class="jrun.servlet.http.WebService" name="WebService">
        <attribute name="port">8500</attribute>
        <attribute name="interface">*</attribute>
        <attribute name="deactivated">false</attribute>

    </service>


    4) Start Coldfusion. Coldfusion should now serve pages on port 8501.

    nikos101
    nikos101Author
    Inspiring
    October 28, 2009

    Thanks very much

    It is OK. However, I would run the one on port 8500, the other on port 8501. I am assuming your Coldfusion installations will be single-server. To reset the port to 8501, for example, follow these steps.

    On my dev server cf8 is running on 8501, I guess if I install CF9 it will defualt to 8500

    I want to port all my cf8 applications over to cf9, is there a way to copy the datasoures and other settings from cf8 to cf9?
    Also for the application files (Flex apps and cfc's) in cf8 web root, can I just copy them from cf8 web root to cf9 web root, and they will work?
    Inspiring
    October 28, 2009
    I want to port all my cf8 applications over to cf9, is there a way to copy the datasoures and other settings from cf8 to cf9?
    Also for the application files (Flex apps and cfc's) in cf8 web root, can I just copy them from cf8 web root to cf9 web root, and they will work?

    You can archive the settings from the CF8 server and deploy them on the CF9 server.

    And there's nothing to stop you having both servers pointing to the same webroot.

    --

    Adam