At 01:31 PM 1/13/2003 -0500, you wrote: >Hello, > >I've seen other reports on this exact topic regarding the combination of >Apache 2.0.43 on Solaris or Linux with CFMX Updater 2. > >Attempting to reproduce this today, I installed Apache 2.0.43 from the >binary not the rpm, and then installed CFMX and Updater on a clean >server. I was not able to reproduce the problem so far, but I'd like to >keep looking into this. > >I am using Red Hat 8.0 vanilla (not supported due to some Verity, etc.. >issues). One difference is that you upgraded your Apache server from >2.0.40, whereas I installed a separate instance of 2.0.43. > >Below are some configurations to consider. It would be interesting to >know what mappings exist in the jrun.xml, what the docroot is set as in >the httpd.conf, and if the JRun Settings are in the httpd.conf. Finally, >there are two things to look into, creating a new mapping in jrun.xml and >also running wsconfig.jar to remove the existing connector and then >reinstall it. Also, what are the CF logs saying? Can you infer any other >conclusions from the logs? > > >Items for comparison: >--------------------- >- jrun-web.xml >- httpd.conf > > >jrun-web.xml >------------- >My /opt/coldfusionmx/wwwroot/WEB-INF/jrun-web.xml has only one virtual >mapping: > > <virtual-mapping> > <resource-path>/WEB-INF</resource-path> > <system-path>/opt/coldfusionmx/wwwroot/WEB-INF</system-path> > </virtual-mapping>
jrun-web.xml -------------- <virtual-mapping> <resource-path>/WEB-INF</resource-path> <system-path>/opt/coldfusionmx/wwwroot/WEB-INF</system-path> </virtual-mapping> >/usr/local/apache2/conf/httpd.conf >----------------------------------- > >DocumentRoot "/var/www/html" My DocumentRoot "/var/www/html" >-and- > ># JRun Settings >LoadModule jrun_module /opt/coldfusionmx/runtime/lib/wsconfig/2/mod_jrun20.so ><IfModule mod_jrun20.c> > JRunConfig Verbose false > JRunConfig Apialloc false > JRunConfig Ssl false > JRunConfig Ignoresuffixmap false > JRunConfig Serverstore > /opt/coldfusionmx/runtime/lib/wsconfig/2/jrunserver.$ > JRunConfig Bootstrap 127.0.0.1:51010 > #JRunConfig Errorurl <optionally redirect to this URL on errors> > AddHandler jrun-handler .jsp .jws ></IfModule> httpd.conf ---------------- # JRun Settings LoadModule jrun_module /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so <IfModule mod_jrun20.c> JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap true JRunConfig Serverstore /opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51010 JRunConfig Errorurl <error.html> AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws </IfModule> >Workarounds? >------------- >1) If the above entries are comparable to the equivalent on your system, >then perhaps you could add a second mapping in jrun-web.xml under the one >for /WEB-INF: > > <virtual-mapping> > <resource-path>/WEB-INF</resource-path> > <system-path>/opt/coldfusionmx/wwwroot/WEB-INF</system-path> > </virtual-mapping> > > <virtual-mapping> > <resource-path>/*</resource-path> > <system-path>/var/www/html</system-path> > </virtual-mapping> > >2) /opt/coldfusionmx/jre/bin/java -jar >/opt/coldfusionmx/runtime/lib/wsconfig.jar & > >That should start a gui on the X display. ColdFusionMX should be running >when using wsconfig. Remove the existing connector using the gui, then >Add the connector again by choosing "..." and browsing to and selecting >the conf directory such as /usr/local/apache2/conf > > > > >Related reports: >-------------------- >http://www.houseoffusion.com/cf_lists/index.cfm?method=messages&threadid=668&forumid=14&refresh=0 >Resolved (unknown solution?). > >http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=2&threadid=513658 >Open. > > >Let me know how it goes. > >Steven Erat >Macromedia > > > > > >-----Original Message----- >From: Dave Wilson [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 13, 2003 12:57 PM >To: CF-Linux >Subject: RE: cf5 & linux newbie > > >Charles, > >Have you got something like the following in your httpd.conf file? > ># JRun Settings >LoadModule jrun_module >/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so ><IfModule mod_jrun20.c> > JRunConfig Verbose false > JRunConfig Apialloc false > JRunConfig Ssl false > JRunConfig Ignoresuffixmap false > JRunConfig Serverstore >/opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store > JRunConfig Bootstrap 127.0.0.1:51010 > #JRunConfig Errorurl <optionally redirect to this URL on errors> > AddHandler jrun-handler .jsp .jws ></IfModule> > >I had a similar experience when I first installed CFMX on a new RH7.2 with >Apache 1.3.27 machine. Everything appeared to install successfully then I >was getting 404's in the CF Administrator. I then discovered the jrun >directives were missing from my httpd.conf. > >To fix it, I completely removed CFMX as recommended in the release notes and >then reinstalled and all was well. > >As for your installation with Apache 2.0.43 - The process you described >sounds very different to the process I went through today in upgrading from >Apache 2.0.36 to 2.0.43 and applying Updater 2 - The exact process is >outlined at >http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx >_updater.html#installApache > >Be careful - there are a couple small typoes in the instructions: >First typo is actually an incorrect directory assignation for the JVM >(remove "runtime") >Second typo is an extraneous space between "-" and "v" (remove the space) >Both typoes are in the sample command for running the web server connector. > >HTH, >Dave > >-----Original Message----- >From: Charles Kibler [mailto:[EMAIL PROTECTED]] >Sent: 13 January 2003 17:23 >To: CF-Linux >Subject: Re: cf5 & linux newbie > > >It is one of the acceptable documents, however, since I get a JRun Servlet >error instead of an http error, it appears that Apache is not getting the >file, but JRun is grabbing it and trying to handle it(as it should) but >does not know where it is. If I disable Coldfusion, I get an entirely >different error coming from Apache, which is expected then. > >I got a response back from Macromedia that said to look into >/lib/neo-runtime.xml in the following: >This is what I found: ><struct type='coldfusion.server.ConfigMap'> > <var name='/'> > <string>/var/www/html</string> > </var> ></struct> > >/var/www/html is the server document root, which is correct as shown above. > >I do figure that JRun somewhere does not have this setting to /var/www/html >where /CFIDE/adminstrator/index.cfm resides. > >At 10:49 AM 1/13/2003 -0600, you wrote: > >In your site description in httpd.conf file do you have the default > >document set > >to index.cfm? > > > >===================================== > >Douglas White > >group Manager > >mailto:[EMAIL PROTECTED] > >http://www.samcfug.org > >===================================== > >----- Original Message ----- > >From: "Charles Kibler" <[EMAIL PROTECTED]> > >To: "CF-Linux" <[EMAIL PROTECTED]> > >Sent: Monday, January 13, 2003 9:30 AM > >Subject: cf5 & linux newbie > > > > > >| Get a 404 File Not Found when trying to go to >CFIDE/administrator/index.cfm > >| > >| Linux 8.0 and updates are installed - box is up-to-date. Updated Apache >from > >2.0.40 to .43 as required for updater. Installed Coldfusion MX Enterprise > >using > >coldfusion-60-linux-en.bin (installed fine). > >| Installed cfmx_updater_linux.bin (installed with no errors) > >| I used /opt/coldfusionmx for the install dir > >| I used /var/www/html for the document root and location of CFIDE > >| I started coldfusion and the connector wizard succeeded and coldfusion > >started > >fine. > >| I did a restart of httpd and coldfusion - both succeeded fine. > >| When I try to access the /CFIDE/administrator/ index.cfm I get a JRun > >Servlet > >Error 404 Not Found. > >| I can put a html file in CFIDE and get it to display fine, as well as in > >administrator. It seems that Coldfusion does not know where the cfm files >are > >or the jrun handler does not. I have searched through all the faqs and > >searched > >google for the problems to no avail. Everything looks right. > >| Any help would be GREATLY appreciated > >| > >| > >| website: http://128.174.122.17/CFIDE/administrator/index.html > >| > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
