Skip to main content
Inspiring
January 9, 2012
Question

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

  • January 9, 2012
  • 1 reply
  • 2163 views

Hi, every monday morning, I seem to be getting this error on my server.

I've googled it and I cant seem to find an answer. 

I checked the  coldfusion-out.log and I cant seem to find anything too crazy taking place right before the error starts.

For me, it only seems to happen on Monday morning!!!!  Go figure!

any ideas?

ROOT CAUSE:

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

        at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)

        at coldfusion.CfmServlet.processTimeout(CfmServlet.java:296)

        at coldfusion.CfmServlet.service(CfmServlet.java:216)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  1. javax.servlet.ServletException: ROOT CAUSE:
  2. coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

        at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)

        at coldfusion.CfmServlet.processTimeout(CfmServlet.java:296)

        at coldfusion.CfmServlet.service(CfmServlet.java:216)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

This topic has been closed for replies.

1 reply

Legend
January 9, 2012

Check JRun.xml that metrics service is not enabled provided you are not using CF metrics for analysing  CF performance statistics.

Details:

C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\jrun.xml

This part:

...

<attribute name="metricsEnabled">false</attribute>

...

Probably a good idea to take a copy of jrun.xml before applying any changes if doing such. Jrun.xml changes do not take effect until CF restart.

HTH, Carl.