DeveloperSide.NET Forums
July 21, 2019, 10:00:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Coldfusion MX 7 and Webside integration Issues  (Read 18306 times)
0 Members and 1 Guest are viewing this topic.
majika
Member
*
Posts: 14


View Profile
« on: February 03, 2007, 05:19:03 PM »

I just thought as I am having problem's trying to get Coldfusion MX 7 running on your latest release of the all in one Web Developer kit v1.94 (+SSL mod included)

I just think that it will be a good idea to have a tutorial on this topic as I am unable to find any reference in this forum to setting such a system and keeping it running stable. The only references I have found are from members who have already got the desired setup running using Apache as the web server and CFMX as the Development Application and NOT their Methods for how!

My Dev Platform sits behind a router (IP:192.168.1.65) Router Address is (IP:192.168.1.254) the Gatekeeper to the network is (IP:192.168.1.64) and the host names reflect this as follows:

- The three systems below are the critical ones but I have extra Content and Storage servers running independantly off another Router ring
 
Router=(dsldevice.lan) The Gatway PC=(gateway.lan) Dev Platform=(hub01.lan)


I have forwarded all ports as desired (80, 8080, 3306-9) so I can see Localhost, Tomcat, PHPMyAdmin etc from all 3 workstations - So thats fine.

Now comes the fiddly part when I install Coldfusion as I want all applications and servers to run under one roof, sort of speak.

So during the installation procedure of Coldfusion MX  I add Apache 2.2.4 as the server as promped by the installer prompt screen and the httpd.conf dir as the Apache Configuration directory,  Right ?? - The install goes through fine.

Now after the install procedure I check the httpd.conf file for any changes and notice at the end of the file that Coldfusion has added the following:

Code:
LoadModule jrun_module "G:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so"

<IfModule mod_jrun20.c>
    JRunConfig Verbose true
    JRunConfig Apialloc true
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore "G:/CFusionMX7/runtime/lib/wsconfig/1/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51011
    #JRunConfig Errorurl <optionally redirect to this URL on errors>
    #JRunConfig ProxyRetryInterval 600
    #JRunConfig ConnectTimeout 15
    #JRunConfig RecvTimeout 300
    #JRunConfig SendTimeout 15
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>


Anyway when I try to administer CFusion its looking under localhost (127.0.0.1) for the CFIDE/administrator/index.cfm  directory which is not there:

http://localhost/CFIDE/administrator/index.cfm.

In keeping with your mythology I have included the extra CF code as a module so that everything is under "/suite-extra/...  And I have included this into my httpd.conf file as a type of PREREQUISITE

But your doing a great job on this projects and I'm glad to see its a GPL'ed and open to all ! keep up the good work  !
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: February 03, 2007, 06:07:23 PM »

Great point. I really should have tutorials for ColdFusion and DreamWeaver as a lot of people use those two. And I could put up something on the main page saying the Suite works with CF and DW... Its just that I have never used the two.

Where does "CFIDE/administrator/index.cfm" reside? Could you alias that dir to the URL? 'Alias /CFIDE /CF-install-dir/CFIDE'
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias

Could the installation have copied the above to \www\Apache22\htdocs\ ?

From the looks of things, you also need 'mod_jrun22.so', not 'mod_jrun20.so'...
http://www.adobe.com/go/8001e97

http://www.google.com/search?q=coldfusion+apache+2.2+windows
http://www.google.com/search?q=coldfusion+apache+2.2

Keep me updated, and check error.log.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #2 on: February 03, 2007, 06:20:11 PM »

http://blog.cutterscrossing.com/index.cfm/2007/1/16/CFMX7-and-Apache-224
http://mattwoodward.com/blog/index.cfm?commentID=305
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
majika
Member
*
Posts: 14


View Profile
« Reply #3 on: February 04, 2007, 09:24:17 PM »

Thanks for your great reply's I will get stuck in straight away and get this issue sorted as you have pointed me to many useful and knowledgeable places. As for the 'mod_jrun20.so' will that be better to update or stay with default for the install and then update to 'mod_jrun20.so' afterwards ???

File system basic layout:
With respect to your second point I think this is the actual problem. Due to security issues i though it be wise to install outside of the main web application directory and just have the following directorys which need aliasing:

  ' G:\www\coldfusionMX7\CFIDE '
 
 ' G:\CFusionMX7\wwwroot\WEB-INF '  <-- I Need to link this dir as it sit's outside of the main web file system ???

  ' G:\www\Apache22\conf\httpd.conf '   <- Shown just for relationship between directory,s

Alias /coldfusion/CFIDE/  G:/CFusionMX7/wwwroot/WEB-INF  (or may change this, trial and error ;)

<Directory G:/CFusionMX7/wwwroot/WEB-INF >
Order allow,deny
Allow from all
</Directory>


Now I will return tomorrow or day after to update on my results as requested but it looks like its an alias issue in the httpd.conf file. 
Cheers :)
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #4 on: February 04, 2007, 09:34:09 PM »

Quote
As for the 'mod_jrun20.so' will that be better to update or stay with default for the install and then update to 'mod_jrun20.so' afterwards ???

From what I have read, mod_jrun20.so is for Apache 2.0, and mod_jrun22.so is for Apache 2.2

Apache 2.2 will not work with mod_jrun20.so, you need to get that linked CF update.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
majika
Member
*
Posts: 14


View Profile
« Reply #5 on: February 04, 2007, 10:50:27 PM »

already on it :)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!