| |
|
|
Welcome to the Macromedia Online Forums. If you are new to the forums community,
read an overview
of how to get started using the web-based Macromedia Online Forums. Get more extensive help by using the Help link below.
|
Aidan
Junior Member
Posts: 8
Joined: Sep 2002
|
|
Saturday, September 28, 2002 3:28 PM
|
|
The ColdFusion MX service isn't starting. I've read the numerous other posts on this and have tried the steps below. I suspect the problem is due to (6). Any ideas why the initial set up appears to have gone wrong and (more importantly) how to fix it? TIA
System setup: Completely fresh installation of Windows 2000 Professional, running IIS 5.0. No Service Packs installed. ColdFusion 5 not previously installed. IIS works find, able to browse .html and .asp pages without problems.
(1) Opening the CFAdmin page displays a 500 Internal Server Error.
(2) Trying to start the ColdFusion MX service manually returned "Service-specific Error 2".
(3) I wiped the machine, did a complete reinstall and didn't install any Service Packs. CFMX service still doesn't start.
(4) I altered the Recovery settings for the service to "Restart the Service" for both first and second fail. Trying to start the service returns the "Service-specific Error 2" message.
(5) Confirmed that, as per Sean Corfield's blog at http://www.corfield.org/blog/2002_07_01_archive.html checked that jvm.config doesn't pass corrupt arguments and that the line says: # Arguments to VM java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m
(6) In Internet Services Manager | Home Directory | Configuration the .cfc, .cfm, .cfml and .jsp extensions are mapped to C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll However, this path doesn't exist. The closest folder to the one referenced is at C:\CFusionMX\runtime\lib\wsconfig\ which contains just two files, jrunwin32.dll and wsconfig.log Should I just change the mapping for the 4 extensions above to the jrunwin32.dll file instead?
(7) Read the page "To configure IIS for ColdFusion MX in Windows" at http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/configuring4.jsp#1118876 Running c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws IIS -site "0" -map .cfm,.cfc,.cfml,.jsp -v from the command prompt returns os.name: Windows 2000 os.version: 5.0 os.arch: x86 platform: intel-win web server: IIS File C:\CFusionMX\runtime\lib\wsconfig\jrunwin32.dll newer than JAR file C:\CFusionMX\runtime\lib\wsconfig.jar so not extracted findServers(): attempting connect to port 2901 on host 127.0.0.1 Could not connect to any JRun servers on host localhost. Confirm that the JRun server is started. The "JRunScripts" virtual directories weren't automatically created. Is this because the initial installation went wrong? (although it appeared to complete fine)
(8) Looked at Task Manager | Processes and jrun.exe is listed with a PID of 488. Does that mean that JRun really is running?
-------------------------
Aidan Whitehall aidanwhitehall@fairbanks.co.uk Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775
Referring URL 1: http://www.corfield.org/blog/2002_07_01_archive.html
Referring URL 2: http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/configuring4.jsp#1118876
|
|
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
Top
|
border="0" width="10" height="8"> |
Bottom
|
border="0" width="10" height="8"> |
|
|
Aidan
Junior Member
Posts: 8
Joined: Sep 2002
|
|
Monday, September 30, 2002 6:07 PM
|
|
This problem has been resolved, thanks to Jon Moneymaker.
Jon suggested that I uninstall CFMX, alter the home directory of the Default web site in IIS to something other than "C:\Inetpub\wwwroot" and then reinstall CFMX. This worked.
Previously, after the installation of CFMX, the folder C:\CFusionMX\runtime\lib\wsconfig\ only contained two files, jrunwin32.dll and wsconfig.log.
After having pointed the home directory of the Default web site to a different folder and reinstalled CFMX, \lib\wsconfig\ now also contained wsconfig.properties and the \1\ subfolder containing, amongst other files, jrun.dll.
In addition to the 4 extensions mentioned in the previous post, an entry for .jws was added (also pointing to \1\jrun.dll), together with the JRunScripts virtual directory.
-------------------------
Aidan Whitehall aidanwhitehall@fairbanks.co.uk Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775
|
|
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
Top
|
|
Bottom
|
border="0" width="10" height="8"> |
|
|
steelerfan
Junior Member
Posts: 5
Joined: Mar 2003
|
|
Monday, March 31, 2003 4:44 AM
|
|
Aidan, I am having this same problem. I am reading through my IIS docs but for the life of me I can not find any information on changing the default web page.
Finally found it. Thanks anyway.
Edited: Monday 31, March, 2003 at 4:47 AM by steelerfan
|
|
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
|
|
Top
|
border="0" width="10" height="8"> |
Bottom
|
|
|
|
steelerfan
Junior Member
Posts: 5
Joined: Mar 2003
|
|
Monday, March 31, 2003 5:19 AM
|
|
I have done as instructed but I still get the same error.
Aidan can you give me more information on how you resolved this? (I am going insane here, Im into double digit hours trying to get this to work)
|
|
| |
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
Top
|
|
Bottom
|
|
|
|
Aidan
Junior Member
Posts: 8
Joined: Sep 2002
|
|
Monday, March 31, 2003 6:28 AM
|
|
Following suggestions from users on CF-Talk, I've found that the best way to set up ColdFusion is to
- uninstall your web server and ColdFusion if either are installed
- install ColdFusion MX, using the Standalone web server
- follow the installation through to the end
- confirm you can access the Administrator
- reboot
- confirm the ColdFusion MX Application Server service starts correctly
- again, confirm that you can still access the Administrator over port 8500
- shut down the three ColdFusion services
- install Updater 3 (the most recent at time of writing), accepting the default settings
- restart the three ColdFusion services
- again, confirm you can connect
- reboot, confirm all services start up and that you can again access the Administrator
- install your web server
- run the relevant connector batch file, depending on your web server (note: if you installed Apache 2, you'll have to edit the path in the batch file from (from memory) /apache/ to /apache2/)
- confirm your web server can serve up a ColdFusion template successfully
Additionally, if it's a multi-homed server, set cacheRealPath to false (follow Steps 1 to 5 missing our step 3 of Referring URL 1) and if it's a production server, disable RDS by following the steps in Referring URL 2.
I've got two development boxes, one running IIS 5.1 and one running Apache 2. Both work fine, but from now on I'm going to use Apache if possible (i.e. if ASP isn't required), simply because it's fast and has been rock-solid.
I think that's about it; hopefully nothing's missed out. Trust me, I've installed and reinstalled ColdFusion on the two development boxes and a server countless times and have hit some sort of problem every time with only one exception. However, the step-by-step approach above has so far (touch wood) stood me in good stead.
And "thanks!" to the original poster for pointing it out; no name, so unfortunately can't give credit.
-------------------------
Aidan Whitehall aidanwhitehall@fairbanks.co.uk Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775
Referring URL 1: http://www.macromedia.com/support/coldfusion/ts/documents/tn18307.htm
Referring URL 2: http://www.macromedia.com/support/coldfusion/ts/documents/tn17276.htm
|
|
| |
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
|
border="0" width="10" height="8"> |
Top
|
border="0" width="10" height="8"> |
Bottom
|
border="0" width="10" height="8"> |
|
|
|
|
| |