Copy link to clipboard
Copied
Hello,
We are running Coldfusion9 standard on Ubuntu 10.04 LTS with Apache 2.2.14 as our web server. We also have the newrelic agent install to report metrics from the JVM.
We are getting the error below in our JRun Logs.
02/11 12:47:01 error Error while reading header S_OTHER_TRY
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at jrun.servlet.jrpp.ProxyEndpoint.getHeader(ProxyEndpoint.java:760)
at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124)
at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124)
at coldfusion.runtime.CgiScope.resolve(CgiScope.java:221)
at coldfusion.runtime.CgiScope.containsName(CgiScope.java:301)
at coldfusion.runtime.CgiScope.search(CgiScope.java:334)
at coldfusion.runtime.NeoPageContext.searchScopes(NeoPageContext.java:766)
at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:638)
at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:622)
at coldfusion.runtime.PageScope.resolveName(PageScope.java:52)
at coldfusion.runtime.PageScope.containsName(PageScope.java:57)
at coldfusion.runtime.Scope.containsKey(Scope.java:105)
at coldfusion.runtime.Scope.put(Scope.java:72)
at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:1080)
at coldfusion.runtime.NeoPageContext.SymTab_setSplitNameInMap(NeoPageContext.java:1385)
at coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPageContext.java:1355)
at coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageContext.java:1437)
at coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java:571)
at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:434)
at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:427)
at coldfusion.runtime.CfJspPage._set(CfJspPage.java:421)
at cfsavecontent2ecfm1472308084.runPage(E:\cf9_final\cfusion\wwwroot\WEB-INF\cftags\savecontent.cfm:11)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:352)
at cfexception_en2exml1611803641.runPage(/opt/coldfusion9/wwwroot/WEB-INF/exception/exception_en.xml:28)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at cfdetail2ecfm284188317.runPage(/opt/coldfusion9/wwwroot/WEB-INF/exception/detail.cfm:35)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:271)
at cfTemplateNotFoundException2ecfm309127556.runPage(/opt/coldfusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundException.cfm:2)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
at coldfusion.filter.ExceptionFilter.runBuiltInHandler(ExceptionFilter.java:552)
at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:329)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:84)
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.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
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)
I have been unable to find an answer as to why this error occurs. Can anyone help out?
Thanks,
James
Copy link to clipboard
Copied
Does anyone from Adobe watch this forum who may be able to answer this question?
James
Copy link to clipboard
Copied
I've seen this error when the browser closes the connection to the web server but the page did not finish processing (in other words the connection between the web server connector is closed and CF is just finding out and throwing an error).
Copy link to clipboard
Copied
This is, as mack_ has said, caused by the connection between the web-server and CF closing down and then CF doing a scope check to try and find a variable. One of the scopes it checks is the CGI scope and it tries to access the connection to the web-server to get those details, but it times-out.
Often this is caused by using isDefined() rather than structKeyExists().
See the following link for more information: http://www.coldfusionmuse.com/index.cfm/2009/8/6/examining.isDefined