Skip to main content
Participating Frequently
September 7, 2013
Question

CF Service continuously restarts every 25 seconds

  • September 7, 2013
  • 1 reply
  • 2376 views

After my laptop froze yesterday I rebooted, and now the ColdFusion 9 Application Server service starts and restarts endlessly!  Although it's set to start automatically, upon bootup it does not start.  So I start it manually.  Then I look at the Windows Event Viewer which reports:

"The ColdFusion 9 Application Server service for the "coldfusion" server was started.  PID is 5788".  That's good.  But then, about 9 seconds later, Event Viewer reports:

"The ColdFusion 9 Application Server service for the "coldfusion" server is restarting."  16 seconds later, the Event Viewer reports that the service has, in fact, started again.  And 9 seconds after that, it reports that the service is starting again.

Unless I manually stop the service, this cycle continues, with the CF service restarting itself every 25 seconds, give or take a second.  Needless to say, I can't use ColdFusion.  When I try to reach a page, I get error 500: "There is no web application configured to service your request"

I am running the developer edition of CF9, Windows.

Please help!  Thanks in advance.

Peter

This topic has been closed for replies.

1 reply

Charlie Arehart
Community Expert
Community Expert
September 7, 2013

That’s odd, indeed. By default, when run as a Windows service, CF is set to restart if it goes down. So I think the real question for you is to find why it’s going down.

Rather than look at the Event logs, how about looking at the CF logs, especially not \logs but rather \runtime\logs. The *–out.log’s there especially are valuable, serving as effectively the “console log” for the service. You may see in there something happening before it goes down (or before it comes back up) that may be helpful. Look also in ]cf9]\runtime\bin, where you may see hotspot compiler failure logs (hs_err_pid logs).

/charlie

/Charlie (troubleshooter, carehart. org)
Participating Frequently
September 8, 2013

The coldfusion-out.log includes this:

Server coldfusion ready (startup time: 9 seconds)

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x6d6e2424, pid=5456, tid=7724

#

# JRE version: 6.0_17-b04

# Java VM: Java HotSpot(TM) Server VM (14.3-b01 mixed mode windows-x86 )

# Problematic frame:

# C  [nio.dll+0x2424]

#

# An error report file with more information is saved as:

# C:\ColdFusion9\runtime\bin\hs_err_pid5456.log

#

# If you would like to submit a bug report, please visit:

#   http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

The detailed error report, C:\ColdFusion9\runtime\bin\hs_err_pid5456.log, has a ton of information, but I don’t understand much of it.  I’ll be happy to post it all if you think you might be able to make heads or tails of it.

I’m hoping to avoid having to reinstall CF.  Do you think there is another solution?

Thank you.

Peter

Charlie Arehart
Community Expert
Community Expert
September 8, 2013

I don’t recognize that one, no. Perhaps someone else or from Adobe may.

I would say that it’s possible that it could be related to some requests that are running. I know you say it happens “as soon as you start CF”. How about stopping your web server (IIS or Apache, assuming you have CF connected to one) and THEN restart CF. See if the problem still happens. If not, and you then restart the web server and CF then crashes, you know it has something to do with incoming traffic.

/charlie

/Charlie (troubleshooter, carehart. org)