Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Server Administration / December 2006



Tip: Looking for answers? Try searching our database.

Cron service not available error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LoanXEngine - 25 Apr 2006 19:07 GMT
A production issue appeared today at one of our customer sites.... and I am
unable to login to CFadmin.  I stop and restart the services, but still the
same issue appears.  See below.

Anyone have any thoughts? Ideas? Has anyone ever seen this before??

Error Occurred While Processing Request  
The Cron service is not available.  
This exception is usually caused by service startup failure. Please check your
server configuration.  
 
The error occurred in Application.cfm: line 78
 
-1 : Unable to display error's location in a CFML template.

 


--------------------------------------------------------------------------------
 
Please try the following:
Check the ColdFusion documentation to verify that you are using the correct
syntax.
Search the Knowledge Base to find a solution to your problem.

 
Browser   Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR
1.1.4322)
Remote Address   127.0.0.1
Referrer    
Date/Time   25-Apr-06 12:57 PM
 
Stack Trace (click to expand)  
at
cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\ad
ministrator\Application.cfm:78)

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Cron
service is not available.
    at coldfusion.server.ServiceFactory.getCronService(ServiceFactory.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
    at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
    at
cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\ad
ministrator\Application.cfm:78)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:157)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
    at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilt
er.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

 
 
:confused;
robisen@gmail.com - 26 Apr 2006 05:58 GMT
This might be because of how you have named a scheduled task.  Look at
bug 45409 here

http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx.html

"You cannot use single quotes (') in named resources (for example, data
sources, probes, Verity collections, and so on). Using a single
quote--for example, creating a scheduled task with name="Let's
Rock"--causes a WDDX parsing error when the server restarts, and the
service whose data contains the single quote fails.

To remedy this, back up and edit the XML file for the failing service.
For example, if the Cron service is failing after naming a scheduled
task "Let's Rock", make a backup copy of cf_root\lib\neo-cron.xml and
edit the original version of the file to change every instance of
"Let's Rock" to "Lets Rock"."
kaymaan - 27 Dec 2006 18:32 GMT
Hi LoanXEngine,

This issue appeared in one of our production servers today and nothing
(restarting CF services & rebooting the machine) seems to fix it.  Since you
experienced this problem several months ago, I was wondering if you were able
to fix it and how (short of uninstalling and reinstalling the CF)?

Any help you can provide will be greatly appreciated.

Thanks.
kaymaan - 27 Dec 2006 21:30 GMT
For the benefit of anyone else who might run into this problem, here is what I
did to solve this problem on our server:

I noticed that the cf_root\lib\neo-cron.xml file had a size of 0, so I
restored it from a back-up copy.  Stopped & restarted the CF service and all
was well again.

Rgds.
LoanXEngine - 28 Dec 2006 03:51 GMT
Yes,

We figured it out as well. The neo-cron.xml file corrupted.  If you use a lot of cfschedule and don't clean it out regularly....  definitely keep yourself a backup of neo-cron...

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.