Link to home
Start Free TrialLog in
Avatar of Qsorb
QsorbFlag for United States of America

asked on

Could not connect to any jrun/coldfusion servers on host localhost

When attempting to add a website with ColdFusion 8 standard's "Web Server Configuration Tool" I receive this error:

"could not connect to any jrun/coldfusion servers on host localhost"

Everything else seems to be running fine, all IIS servers, CF8, etc. No unusual errors system wide at all.

JRUN.EXE is running as seen in the task manager processes.

In the Web Server Configuration tool properties, IIS6 is selected.  The JRUN Host box in the tool properties is empty as is the JRun Server selection box. I cannot select the OK button as it's grayed out.

I turned the Firewall off and set folder security to EVERYONE with all privileges and there is no TCP/IP filtering. I've read just about every link I can find so a link will not help. I really need some suggestions.

A month ago we were attacked by a virus which affected or destroed all exe files on the hard drive on the same machine. And yes, we will consider reinstalling but not now. We replaced most or all of the exe files in the coldfusion folder. The system seems stable, fast, no errors in the error logs. So my guess is there's still a bad exe file I need to repalce, that relates to the tool configuration.

Obviously JRUN.EXE is running but I cannot figure out what else may be wrong. I do not want to reinstall CF at this point or the OS. I want to get this tool working first.  What are some of the suggestions you all may have to get it working other than what the error suggests? What exe file other than jrun.exe would affect this tool so I can check it's good?
Avatar of ThutM0se
ThutM0se

Run this from the command line in the dir wsconfig is in:

wsconfig -host localhost -list

It should try to locate the servers. See if it even locates anything. Are you running a multi instance jrun installation? Double check to make sure both the admin and cfusion servers are running.

You don't necessarily need the config tool to add a website and allow it to use cold fusion. If you can't get wsconfig to work, try just adding a virtual directory mapping /CFIDE pointing to the cold fusion's CFIDE. You can just copy it from another site if you need the path. Go into the handler mappings within IIS and setup a mapping for .cfm/.cfc pointing to the isapi dll. Again you can copy those paths from another site. Also setup a wildcard mapping with the same path. I believe that's really all you need to do.
Avatar of Qsorb

ASKER

I did as you suggested and got this return:

JRun servers: coldfusion

We are not running any multi-instances, just the first option when installing, solo.

I'll wait to continue based on your response to what I found.
Well at least its seeing the instance. If your running a single server install you wouldn't have an admin instance I believe. I ran that same command on one of my servers and got the same.

When you click add inside of wsconfig the jrun host is localhost and it does say coldfusion as the jrun server right? I'm not sure why that would really fail. Maybe the IIS connector isn't working.

Since you had that virus problem have you just tried running a repair on cold fusion? Might be worth a try before you get knee deep in this stuff.
Avatar of Qsorb

ASKER

It would appear I first needed to turn the website ON in IIS admin. How embarrassing for me.
I need to be sure that's it. And if it is, you still get the points for hanging in there. But I need to be sure and get back to you today or tomorrow.
ASKER CERTIFIED SOLUTION
Avatar of ThutM0se
ThutM0se

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Qsorb

ASKER

When the coffee wears off, hey? Don't drink after 10am!

Thanks for your help. And again, anyone reading this because of similar problems do this firstg:

Turn on your IIS website so it's working!