• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ColdFusion 11 Update 12 monitoring service

New Here ,
Oct 03, 2017 Oct 03, 2017

Copy link to clipboard

Copied

We recently had an outage in one of the Production environments where the monitoring service didnt start and below is the error we saw in the logs.

[8/31/17 4:52:21:286 MDT] 00000069 SystemOut     O Aug 31, 2017 04:52:21 AM Error [server.startup : 0] - Unable to initialise Monitoring service: java.lang.NoSuchMethodError: org/slf4j/spi/LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

I see the below error in exception.log that the Monitoring service is unable to initialize.

-- exception.log

"Error","server.startup : 0","08/31/17","04:52:21",,"Unable to initialise Monitoring service: java.lang.NoSuchMethodError: org/slf4j/spi/LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V"

java.lang.NoSuchMethodError: org/slf4j/spi/LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)

"Error","Non-deferrable Alarm : 1","08/31/17","06:51:42",,"The Monitoring service is not available. This exception is usually caused by service startup failure. Check your server configuration."

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Monitoring service is not available.

at coldfusion.server.ServiceFactory.getMonitoringService(ServiceFactory.java:223)

Any help on this is appeciated! If you need more information please let me know.

Update: 10/06/2017

We had the same problem again this morning and same errors. Any help on this is appreciated.

Message was edited by: Craig Nauman

Views

878

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2018 Apr 10, 2018

Copy link to clipboard

Copied

Craig  did you ever resolve this? Or have you since removed or reapplied the update , or another since then, which my have fixed things?


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2018 Jun 18, 2018

Copy link to clipboard

Copied

This still remains as an issues for us. When we manually bounce the environment monitoring service starts fine. Only thing i have observed so far is when we startwebsphere using our automated job tool it always fails, it does not fail when we start from Appserver. Any thoughts?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

LATEST

Interesting to hear that the problem remains. I have still more thoughts for you.

So first,as I asked previously (in April), if you found the problem happening since that update 12, had you tried either removing it, or updating to a later update of CF11? Your problem may go away, especially if there was an error during the update. I realize you may not want to do that, so read on.

Second, you didn't say originally that this error was happening so sporadically for you. That's interesting to hear. It read more like the kind of thing that left your instance not running. So you can go for months without it happening (you first wrote here in Oct), right? we start from Appserver

And you are saying that the error happens ONLY when you start it with your "automated job tool", not when you "start from Appserver". That, too, is a potentially interesting clue. Does it also fail if the entire box is restarted?

Third, this is also your first mention that this is on Websphere. So what's the difference between the "automated job tool" and the "start from appserver". Is the former starting all of Websphere (which relates to my last question)? And is the latter starting just the CF instance/app/war/ear within it?

Perhaps the issue is that when you start Websphere, it tries to start the CF instance/app itself but before some needed/related/depended upon other app is loaded, or before some underlying aspects of Websphere have been completely loaded. That's just a guess..

Finally, if none of that is helpful and especially if you may be reluctant to remove update 12 or proceed forward to newer ones, one thing you could and should check is whether there may have been an error during the applying of that update 12. It happens often, and it's not unusual for an odd error like you're reporting to have such an error during update to be the root cause. I have a blog post on finding and dealing with such errors (which log, where in the log to look, as it's not obvious) as well as some proposed workarounds for common problems:

How to solve common problems with applying ColdFusion updates (in 10 and above)

Let us know what you find or how it goes.


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation