Copy link to clipboard
Copied
Hello,
My cold-fusion8 server is continuously go down and then UP. I have gazed on to the logs and I could see the error "Event Gateway Disabled". Anyone faced this issue before ? If so please help me.
=====================================================
Event viewer shows these
=====================================================
Event Type: Error
Event Source: ColdFusion 8 Application Server
Event Category: None
Event ID: 257
Date: 1/21/2015
Time: 5:44:20 PM
User: N/A
Computer: XXXXXXXXXX
Description:
The ColdFusion 8 Application Server service was terminated. Check the server "coldfusion" log files for more information.
======================================================
Thank you.
Copy link to clipboard
Copied
Look for the entries in Coldfusion's log files at the time the issue occurred. Copy-paste what you find here, and we might all contribute suggestions.
Copy link to clipboard
Copied
I got these "Information","main","01/21/15","17:44:31",,"Event Gateway Disabled." from eventgateway.log at the time issue occured.
Copy link to clipboard
Copied
What about entries in the other logs?
Copy link to clipboard
Copied
faisal bawa wrote:
I got these "Information","main","01/21/15","17:44:31",,"Event Gateway Disabled." from eventgateway.log at the time issue occured.
"Information" tells you that Coldfusion is functioning normally. Otherwise you would have got a "Warning" or an "Error".
By default, event gateways are disabled upon start-up. ColdFusion logs this fact for formality, that's all.
Copy link to clipboard
Copied
Please see the different logs (Application log, Exception log, server log). I am afraid about that server log. Please see.
=================
Application log
*****************
"Error","jrpp-7","01/21/15","17:44:59",,"Variable STATE is undefined. The specific sequence of files included or processed is: E:\inetpub\vhosts\domain.com\httpdocs\mail_action_Insurance.cfm, line: 7 "
=================
Exception log
*****************
"Error","jrpp-7","01/21/15","17:44:59",,"Variable STATE is undefined. The specific sequence of files included or processed is: E:\inetpub\vhosts\domain.com\httpdocs\mail_action_Insurance.cfm, line: 7 "
coldfusion.runtime.UndefinedVariableException: Variable STATE is undefined.
at coldfusion.runtime.CfJspPage._get(CfJspPage.java:325)
at coldfusion.runtime.CfJspPage._get(CfJspPage.java:287)
at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1405)
at cfmail_action_Insurance2ecfm1165245929.runPage(E:\inetpub\vhosts\domain.com\httpdocs\mail_action_Insurance.cfm:7)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at com.intergral.fusionreactor.filter.FusionReactorFilter.B(Unknown Source)
at com.intergral.fusionreactor.filter.FusionReactorFilter.A(Unknown Source)
at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(Unknown Source)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
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)
==============================
server log
*************
"Information","main","01/21/15","17:44:30",,"Starting security..."
"Information","main","01/21/15","17:44:30",,"Starting scheduler..."
"Information","main","01/21/15","17:44:30",,"Starting WatchService..."
"Information","main","01/21/15","17:44:30",,"Starting debugging..."
"Information","main","01/21/15","17:44:30",,"Starting sql..."
"Information","main","01/21/15","17:44:31",,"Pool Manager Started"
"Information","main","01/21/15","17:44:31",,"Starting mail..."
"Information","main","01/21/15","17:44:31",,"Starting runtime..."
"Information","main","01/21/15","17:44:31",,"CORBA Configuration not enabled"
"Information","main","01/21/15","17:44:31",,"Starting cron..."
"Information","main","01/21/15","17:44:31",,"Starting registry..."
"Information","main","01/21/15","17:44:31",,"Starting client..."
"Information","main","01/21/15","17:44:31",,"Starting xmlrpc..."
"Information","main","01/21/15","17:44:31",,"Starting graphing..."
"Information","main","01/21/15","17:44:31",,"Starting verity..."
"Information","main","01/21/15","17:44:31",,"Starting archive..."
"Information","main","01/21/15","17:44:31",,"Starting document..."
"Information","main","01/21/15","17:44:31",,"Starting eventgateway..."
"Information","main","01/21/15","17:44:31",,"Starting FlexAssembler..."
"Information","main","01/21/15","17:44:31",,"Starting .NET..."
"Information","main","01/21/15","17:44:31",,"Starting Monitoring..."
"Information","main","01/21/15","17:44:31",,"ColdFusion started"
Copy link to clipboard
Copied
Your log files show nothing out of the ordinary. In fact, they show ColdFusion starting up cleanly, without any issues. The only problem is the coding error on line 7 of the page mail_action_Insurance.cfm.
Ensure that the variable named 'state' exists. If necessary, use cfparam.
Copy link to clipboard
Copied
server log at the time of issue
*********************************
"Information","main","01/21/15","17:44:29",,"Starting logging..."
"Information","main","01/21/15","17:44:29",,"Starting license..."
"Information","main","01/21/15","17:44:30",,"Enterprise Edition enabled"
"Information","main","01/21/15","17:44:30",,"Starting crypto..."
"Information","main","01/21/15","17:44:30",,"Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)"
"Information","main","01/21/15","17:44:30",,"Starting security..."
"Information","main","01/21/15","17:44:30",,"Starting scheduler..."
"Information","main","01/21/15","17:44:30",,"Starting WatchService..."
"Information","main","01/21/15","17:44:30",,"Starting debugging..."
"Information","main","01/21/15","17:44:30",,"Starting sql..."
"Information","main","01/21/15","17:44:31",,"Pool Manager Started"
"Information","main","01/21/15","17:44:31",,"Starting mail..."
"Information","main","01/21/15","17:44:31",,"Starting runtime..."
"Information","main","01/21/15","17:44:31",,"CORBA Configuration not enabled"
"Information","main","01/21/15","17:44:31",,"Starting cron..."
"Information","main","01/21/15","17:44:31",,"Starting registry..."
"Information","main","01/21/15","17:44:31",,"Starting client..."
"Information","main","01/21/15","17:44:31",,"Starting xmlrpc..."
"Information","main","01/21/15","17:44:31",,"Starting graphing..."
"Information","main","01/21/15","17:44:31",,"Starting verity..."
"Information","main","01/21/15","17:44:31",,"Starting archive..."
"Information","main","01/21/15","17:44:31",,"Starting document..."
"Information","main","01/21/15","17:44:31",,"Starting eventgateway..."
"Information","main","01/21/15","17:44:31",,"Starting FlexAssembler..."
"Information","main","01/21/15","17:44:31",,"Starting .NET..."
"Information","main","01/21/15","17:44:31",,"Starting Monitoring..."
"Information","main","01/21/15","17:44:31",,"ColdFusion started"
Copy link to clipboard
Copied
Thank you for your reply.
And sorry to bother you, then, any idea about "The ColdFusion 8 Application Server service was terminated" this. This happening intermittently
Did you faced this issue anytime in your career.
Copy link to clipboard
Copied
My pleasure. I am glad to be of help.
Say what? I have had periods when I have had to battle with intermittent server termination for days and days. Nine times out of ten the cause turned out to be a faulty setting or a coding error.
Hence my suggestion that you begin by correcting the errors that ColdFusion found in the code. Another potential source of server problems is the Application file. Could you share yours with us?
The Event Viewer shows ColdFusion stopping at 17:44:20. Your logs show it restarting at 17:44:31. So, let us take a step back. Are there any log entries in the 1 minute interval between 17:43:20 and 17:44:20?
Copy link to clipboard
Copied
Okay, is the mentioned coding error will cause the total CF server functionality ? Any chance for that ?
Copy link to clipboard
Copied
I could see another thing that 'ColdFusion Event Gateway Services' is disabled in coldfusion administrator. Is this would cause the issue ?
Thank you.
Copy link to clipboard
Copied
As I explained, that is actually as it should be. When you install ColdFusion, the Event Gateway is disabled by default. Did you see the 2 questions in my last post?