ColdFusion MX 6.1 with Apache 2.2 on Windows

Comments

11 comments posted
I ran into the same thing

I ran into the same thing when trying to get CF 7 running on my new SuSE server. It ran Apache 2 as well.

Dave Livingston's picture
Posted by Dave Livingston (not verified) on Fri, 09/29/2006 - 7:14pm
I'm having the same problem

I'm having the same problem until I read this but now I'm getting an error that says:

Created file C:\CFusionMX7\runtime\lib\wsconfig\jrunwin32.dll
findServers(): found server coldfusion at 127.0.0.1:2920
Found JRun server coldfusion at 127.0.0.1:2920
JRun server default cannot be found on host 127.0.0.1.
Confirm that JRun server 127.0.0.1 is started.

Clayton Weaver's picture
Posted by Clayton Weaver (not verified) on Sat, 11/18/2006 - 1:06pm
Clayton, are you running

Clayton, are you running CFMX6 or 7? Did you have CFMX running when you ran the 'java' command?

Damien's picture
Posted by Damien on Sun, 11/19/2006 - 6:26pm
I have CFMX7 and yes it is

I have CFMX7 and yes it is running I also have JRun running but now I get a new odd problem:

Created file C:\CFusionMX7\runtime\lib\wsconfig\jrunwin32.dll
findServers(): found server default at 127.0.0.1:2908
Found JRun server default at 127.0.0.1:2908
findServers(): found server admin at 127.0.0.1:2910
Found JRun server admin at 127.0.0.1:2910
findServers(): found server coldfusion at 127.0.0.1:2920
Found JRun server coldfusion at 127.0.0.1:2920
this host is toshibauser:192.168.1.100
Exception occured trying to get an MBean

I tried the fix the site recommended and it run fine but I can't view the index.cfm file for CF admins and my apache server won't start yet.

Clayton Weaver's picture
Posted by Clayton Weaver (not verified) on Wed, 11/22/2006 - 8:30pm
I just went to using Apache

I just went to using Apache 2.2.3 and Coldfusion MX 6.1 since they work. Version 7 doesn't seem to work for some reason.

Clayton Weaver's picture
Posted by Clayton Weaver (not verified) on Thu, 11/23/2006 - 6:51pm
If you get the MBean error it

If you get the MBean error it is because the wsconfig is using a 1.5 or later version of the JVM.

http://www.adobe.com/go/fa9e26a2

Go through and uninstall the later JVM and reinstall the 1.4.2_x (I did 1.4.2_13). When you command line again if you get the "JRun server default cannot be found on host 127.0.0.1. Confirm that JRun server 127.0.0.1 is started." Then try adding the -server parameter to the command line and make sure that your virus software is disabled.

John Blayter's picture
Posted by John Blayter (not verified) on Sun, 01/28/2007 - 4:42pm
Great tip, Travis, thanks!

Great tip, Travis, thanks!

Damien's picture
Posted by Damien on Sat, 03/03/2007 - 2:54am
@Damien - Thanks for posting

@Damien - Thanks for posting this... it saved me a lot of time today. One thing worth noting is that you don't have to download a jdk/jre if you get the "'java' is not recognized as an internal or external command, operable program or batch file." error. You can simply run the command using ColdFusion's JRE by running the command from the \cfusionmx\runtime\bin directory. You just have to provide the full path to wsconfig.jar as follows (using your example above):
java -Dtrace.ci=1 -jar /cfusionmx/runtime/lib/wsconfig.jar -ws apache -dir /apache2.2/conf -bin /apache2.2/bin/httpd.exe -coldfusion -v

Travis's picture
Posted by Travis (not verified) on Sat, 03/03/2007 - 2:44am
Thank God for all you guys...

Thank God for all you guys... I pulled my hair out for about 3+ hours before I found this site. I'm up and running with Apache 2.2.4 and ColdFusion MX 6.1.

D.J.'s picture
Posted by D.J. (not verified) on Thu, 06/28/2007 - 6:28pm
Glad to be able to help,

Glad to be able to help, DJ.

FYI, I've got this setup running with about a dozen sites (hundreds of domain aliases) in a production environment and it is working great.

Damien's picture
Posted by Damien on Thu, 06/28/2007 - 6:55pm
Trying this with Coldfusion

Trying this with Coldfusion MX 6.1 Pro, Apache 2.2.11, and Windows XP SP3, I got the following error:

This web server is already configured for JRun

I had already tried to configure the server per the installation utility. The fix is to simply delete the entire contents of the runtime/lib/wsconfig directory. You may wish to include that in your instruction list prior to running the utility.

Thanks for the tips overall -- it seems to be working for me.

Kieran's picture
Posted by Kieran (not verified) on Wed, 11/11/2009 - 5:01pm

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Potential spoilers can be hidden between [spoiler][/spoiler] tags to hide them by default.

More information about formatting options

CAPTCHA
Fill in the two words you see below - it's case sensitive so uppercase letters are different to lowercase letters. Apologies for this inconvenience but my site has been bombarded by spammers lately.