Skip to main content
Inspiring
October 29, 2009
Answered

Unable to start ColdFusion...

  • October 29, 2009
  • 3 replies
  • 16803 views

(I hope the only answer to this problem will not be a virus and the need to re-build my PC!)

Unable to access CF as localhost (both a website I wrote which had been working fine and http://localhost:8500/cfide/administrator), I checked out the Start Menu and sure enough, CF was being instructed to load a boot time. So I uninstalled CF8 and tried to install CF9, un-checking the parts about searching capabilities (Verity, etc.). I believe it claimed to install okay, but then my virus software, AVG, claimed that a CF program was... *malware*! I didn't have the common sense to write down the full pathname, but JRUN was somewhere in that pathname. So I completely uninstalled my Java, and reinstalled the latest version of Java from the java.com website. (In the interim, Firefox told me its new version was incompatible with the installed version of Flash Player and I better update that, attempted to do so, and on the first attempt, was told that "the download did not pass the integrity check", but it succeeded when I tried the second time.) But finally, with the latest version of Java installed, and went back to the task of installing CF9...

After first uninstalling the earlier install of CF9, I undertook the process again (from a saved copy of the .exe by the way, and will all other windows closed). This time I went with all the defaults (built-in server, search capabilities, remote capabilities). At length, I was told "You have successfully completed the first step" and "Now launch the Configuration Wizard in the default browser" (not exact quotes, but close). When I attempted to do so (by clicking Done, since the checkbox for launching the Configuration Wizard was checked), I received the message: "Firefox can't establish a connection to the server at 127.0.0.1."

In other words, after all of the above, I'm back at square one. Does anyone have any ideas as to what I should try next?

Thanks for your help.

Peyton

Message was edited by: PeytonT: Now 3 hours later, I have completed a full scan of the computer (685,000) files, and no infections were found - just 82 'warnings', all of them tracking cookies. But entering the url "127.0.0.1/cfide/administrator" (without the quotes of course) still returns nothing.

This topic has been closed for replies.
Correct answer Adam Cameron.

Curiouser and curiouser. First I uninstalled CF9 (as I have always done before these new installations). Then I installed CF9 with the built-in server option, un-checking the verity, solr, and .NET options since I was viewing this as hopefully my final installation and I will have no use for those functions. I was told that the installation was successful (at least its "first step", the next step being the Configuration Wizard. However, when I checked Task Manager. I was surprised to find that no jrun.exe or jrunsvc.exe were present, although they had been after my few earlier sucessful installs. Not surprisingly if the Configuration Wizard requires jrun, 8500/cfide/administrator/index.cfm did not succeed in loading it.

(My memory is hazy on this one point: Either I loaded jrun.exe manually and was then successful in going to 8500/cfide/administrator/index.cfm, and didn't bother to write down that event since it seemed obvious, or I simply assumed it would be successful. But it was late, so I went to bed, with the intent of continuing this morning.)

Going at the task this morning, not only do I find no jrun or jrunsvc having been loaded at reboot (none in Task Manager anyway), but the ColdFusion9 directory did not contain them either, nor much else I'm now accustomed to finding there.Nor were there copies of jrun.exe or jrunsvc.exe anywhere on my hard drive. The only files containing the character string "jrun" were:

1. Some copies of C__COLDFUSION8_RUNTIME_BIN_JRUN.EXE.ndb in a subdirectory of my Documents and Settings directory containing AVG9 in its name. Maybe part of the problem? All were added in the past few days, during the time I was dealing only with CF9, not the CF8.

2. The two files JRUN.EXE-3707B9DE.pf and JRUNSVC.EXE-2F13F13F.pf, both dated last night, at a specific time I would take to be *during* the install.

The 'cf-j2ee-readme.txt' file tells me there could be more to all this than I envisioned, so I'm getting these results posted while I read that readme file more carefully.Meantime, any light you can shed would be appreciated as always. Potentially relevant is the fact that in my installation I left RDS checked, with the wild guess it might help a third party with debugging remotely some day. Reading the readme, I wonder if that's why I was offered the default choice of EAR which I accepted (or was that offer made at an earlier step?...). Anyway, as I said, I'm sending this much right away, fearful as ever that I will lose it all by a loss of power or some other glitch. (One last quick point, though: my computer does meet the hardware requirements for EAR.)


The 'cf-j2ee-readme.txt' file tells

It tells me that you didn't select either of the "install CF" (either stand-alone or multi-server) options during the install, you choice the "create EAR/WAR" file option.  Which doesn't install CF, it just creates a EAR or WAR file (for deployment on an existing J2EE server).

--

Adam

3 replies

Yoosaf Abdulla
Participating Frequently
September 22, 2020

None of the above solutions worked for me in CF2018. 

The solution was the Java.Home variable in windows environment variables was incorrect. 

please refer: https://community.hostek.com/t/coldfusion-service-startup-failures/550

BKBK
Adobe Expert
November 1, 2009
entering the url "127.0.0.1/cfide/administrator" (without the quotes of course) still returns nothing.

My guess is that the CF9 installer saw the port 8500 as still registered with the old CF8, and defaulted to port 8501. So, try

http://127.0.0.1:8501/CFIDE/administrator

PeytonTAuthor
Inspiring
November 3, 2009

Well, guys, here's an update. The virus protection company assured me they were mistaken in claiming that JRUN has a virus. I had already decided to trust it by then, placed JRUN on the 'trusted' list, and succeeded in installing ColdFusion 9, after which I was able to get to my website (localhost). Now, a few days later, it has suddenly stopped working again for no reason I can fathom. Whenever I try to go to http://localhost:8080/cfide/administrator, I get the message "The Macromedia application server(s) are unreachable". Same story, needless to say, when I try to go to my site.

I have always used port 8080 since I'm a connected to a router and evidently port 80 is occupied. For whatever reason it doesn't work, so 8080 is the port I've been using for over a year; it has always worked until my recent difficulties, and it was working just a few days ago after the installation of ColdFusion 9. Now it does not work. 8500 also does not work, nor does 8501. And the issue cannot be one of permissions since nothing that I know of changed in that regard in a very long time.

Other ideas?

Right now, I suppose I'll just reinstall again...

Peyton

PeytonTAuthor
Inspiring
November 7, 2009
But there's just one more thing I'd like to try first: the built-in server.

Choose the option of built-in server during installation. After installation, use the Web Server Configuration Tool to add IIS. In my opinion, that is the most problem-free way to do a single-server installation of Coldfusion on Windows.


Curiouser and curiouser. First I uninstalled CF9 (as I have always done before these new installations). Then I installed CF9 with the built-in server option, un-checking the verity, solr, and .NET options since I was viewing this as hopefully my final installation and I will have no use for those functions. I was told that the installation was successful (at least its "first step", the next step being the Configuration Wizard. However, when I checked Task Manager. I was surprised to find that no jrun.exe or jrunsvc.exe were present, although they had been after my few earlier sucessful installs. Not surprisingly if the Configuration Wizard requires jrun, 8500/cfide/administrator/index.cfm did not succeed in loading it.

(My memory is hazy on this one point: Either I loaded jrun.exe manually and was then successful in going to 8500/cfide/administrator/index.cfm, and didn't bother to write down that event since it seemed obvious, or I simply assumed it would be successful. But it was late, so I went to bed, with the intent of continuing this morning.)

Going at the task this morning, not only do I find no jrun or jrunsvc having been loaded at reboot (none in Task Manager anyway), but the ColdFusion9 directory did not contain them either, nor much else I'm now accustomed to finding there.Nor were there copies of jrun.exe or jrunsvc.exe anywhere on my hard drive. The only files containing the character string "jrun" were:

1. Some copies of C__COLDFUSION8_RUNTIME_BIN_JRUN.EXE.ndb in a subdirectory of my Documents and Settings directory containing AVG9 in its name. Maybe part of the problem? All were added in the past few days, during the time I was dealing only with CF9, not the CF8.

2. The two files JRUN.EXE-3707B9DE.pf and JRUNSVC.EXE-2F13F13F.pf, both dated last night, at a specific time I would take to be *during* the install.

The 'cf-j2ee-readme.txt' file tells me there could be more to all this than I envisioned, so I'm getting these results posted while I read that readme file more carefully.Meantime, any light you can shed would be appreciated as always. Potentially relevant is the fact that in my installation I left RDS checked, with the wild guess it might help a third party with debugging remotely some day. Reading the readme, I wonder if that's why I was offered the default choice of EAR which I accepted (or was that offer made at an earlier step?...). Anyway, as I said, I'm sending this much right away, fearful as ever that I will lose it all by a loss of power or some other glitch. (One last quick point, though: my computer does meet the hardware requirements for EAR.)

PeytonTAuthor
Inspiring
October 30, 2009

NEW AND POSSIBLY RELEVANT INFORMATION: This morning when I booted up my computer, the AVG security program presented me with the following message:

"Identity protection: Malware detected: C:\COLDFUSION\JNBRIDGE\JNBDOTNETSIDE.EXE"

Could this be true? Has someone compromised the ColdFusion code? Or is AVG simply mistaken?

Keep in mind that I have a clean install of ColdFusion 9, Developer Edition, done just last night.

Inspiring
October 30, 2009

I doubt the CF code has a virus. Try disabling AVG and see if CF will start up. You may need to somehow allow or unblock the service in question.

And just as a side not, something that used to get me when installing CF was the permissions. Make sure the service is starting under an account with sufficient permissions, though I'm not sure what those are.