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

ColdFusion 8, 2.0.63 and http-2.2.22 Connectors

New Here ,
Oct 15, 2012 Oct 15, 2012

I have many CF apps running under a single version of apache.  I need to pull them out one by one and upgrade apache for each one.  I am running CF8 want to be able to run 2 different versions of apache, (http-2.0.63 and http-2.2.22).

First is is possible to run CF with 2 different versions of apache?

Second  can I just do something as simple as  edit  files in /data/cf8/servers/cfusion/cfusion-ear/cfusion-war/cfdocs/htmldocs  to add mod_jrun22.so?

Sorry but I'm a CF noob admin.

941
Translate
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
Enthusiast ,
Oct 16, 2012 Oct 16, 2012

I haven't used two versions of apache on the same server  myself but in theory I think it should work fine. You will want to run the wsconfig binary (in your case it is probably located at /data/cf8/bin/wsconfig)  to run the web server connector tool and then it will create an entry in /data/cf8/lib/wsconfig/{number} where {number} will probably be 2. The wsconfig binary should also edit the httpd.conf file to add the mod_jrun module config when you run it.  Make sure you backup your lib/wsconfig/ folder first.  You may be able to get this working without running wsconfig if you copy over the httpd.conf settings pertanent to mod_jrun from your first install, but I think apache 2.0.x is going to use mod_jrun20.so and apache 2.2.x is going to use mod_jrun22.so

Translate
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 ,
Oct 16, 2012 Oct 16, 2012

Hi Peter, thanks for the responce.  Let me try this.  I assume the web server connector tool is a GUI tool?

Translate
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
Enthusiast ,
Oct 16, 2012 Oct 16, 2012

If you run the tool without options it runs a gui, but you can also run it from the shell, see this doc for reference:

http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fd9.html

Translate
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 ,
Nov 06, 2012 Nov 06, 2012
LATEST

Hi Peter, Okay some thingr are makng more sence with the links you sent.  Thank you.  I am now stuck with the 2 questions;

First here is my situiation.  I have a web server, server-1 and an app server, server-2.  Apache runs on server-1 and CF runs on server-2. 

I am logged into server-2  and that is where I am running wsconfig.

Issue 1: When I run the wsconfig, in the "Jrun Host:" field no matter what I type it errors and says "Could not connect to any JRun/ColdFuson servers on host server-2 (or server-1 or server-2.minacs.com etc...)  what am I doing wrong?

Issue 2: Also when I run the wsconfig I clicked the "configure web server for Colfusion 8 applications". and neet to enter the Apache configuration Directory:  Assuming the path for the apache config on server-1 is /data/web3/apache-2.2.22-web/conf what is the correct syntax?

Translate
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