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

Please Help - Randomly HTTP 503 Internal server error

New Here ,
Aug 09, 2012 Aug 09, 2012

Copy link to clipboard

Copied

Hi all,

I have a Coldfusion 10 standard Edition installation with MSSQL 2005 on Windows Server 2008 R2 server about 2 week old.

It is one of my live server and it is dealing with medium to high volume of traffic.

Since deploying this server, it has been getting random HTTP 503 internal server errors,

which require the entire server restart (as coldfusion application server, IIS restart will not able

to resolve the problem). Within this two weeks, sometimes it can last for couple of days without problem,

and sometimes it require 4-5 times server restart within one day.

I can't replicate the error on demand, but I could paste one of the windows server event log here:

          Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2

          Faulting module name: isapi_redirect.dll, version: 1.2.32.0, time stamp: 0x4f745a78

          Exception code: 0xc0000005

          Fault offset: 0x000000000000cd68

          Faulting process id: 0xfd4

          Faulting application start time: 0x01cd745ad58e3393

          Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

          Faulting module path: C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll

          Report Id: 144b3231-e04e-11e1-8e6d-00505687001e

And I started suspecting the problem is because the connector comes with coldfusion 10, based on one of the bug reports from apache

https://issues.apache.org/bugzilla/show_bug.cgi?id=48826.

Based on the information in log file, they are pretty similar.

Any suggestions on how to fix this random server error would be greatly appreciated!

Many thanks

Ryan

Views

19.4K

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 ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

Please, is there anyone could help? or confirm this at least?

Thanks in advance

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
LEGEND ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

Is there anything in the CF or Tomcat logs?

--

Adam

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 ,
Aug 12, 2012 Aug 12, 2012

Copy link to clipboard

Copied

Hi Adam

Thanks for your reply, I couldn't find anything useful in tomcat log, beside the system event log I have supplied in my original post, here is the cf log when 503 error happened.

07/08/2012 9:50:11 PM org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet [CFCServlet] in context with path [/] threw exception [coldfusion.filter.AxisFilter$WebServiceInvocationException: The web service operation caused an invocation exception.] with root cause

java.net.SocketException: Connection reset by peer: socket write error

          at java.net.SocketOutputStream.socketWrite0(Native Method)

          at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

          at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

          at org.apache.coyote.ajp.AjpProcessor.output(AjpProcessor.java:299)

          at org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1093)

          at org.apache.coyote.Response.doWrite(Response.java:533)

          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:373)

          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:460)

          at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:324)

          at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:301)

          at org.apache.catalina.connector.Response.flushBuffer(Response.java:565)

          at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:307)

          at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:909)

          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)

          at coldfusion.xml.rpc.CFCServlet.doAxisPost(CFCServlet.java:295)

          at coldfusion.filter.AxisFilter.invoke(AxisFilter.java:75)

          at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:443)

          at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)

          at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

          at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

          at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

          at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

          at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

          at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:155)

          at coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:331)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)

          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

07/08/2012 9:50:13 PM org.apache.coyote.ajp.AjpProcessor getRealPathFromServer

SEVERE: Error in getRealPathFromConn

java.net.SocketException: Connection reset

          at java.net.SocketInputStream.read(SocketInputStream.java:168)

          at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:313)

          at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:434)

          at org.apache.coyote.ajp.AjpProcessor.readString(AjpProcessor.java:415)

          at org.apache.coyote.ajp.AjpProcessor.getRealPathFromServer(AjpProcessor.java:397)

          at org.apache.coyote.ajp.AbstractAjpProcessor.getRealPath(AbstractAjpProcessor.java:1112)

          at org.apache.naming.resources.FileDirContext.doGetRealPath(FileDirContext.java:198)

          at org.apache.naming.resources.BaseDirContext.getRealPath(BaseDirContext.java:412)

          at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4475)

          at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:414)

          at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.java:335)

          at coldfusion.runtime.ServletContextWrapper.doGetRealPath(ServletContextWrapper.java:184)

          at coldfusion.runtime.ServletContextWrapper._doGetRealPath(ServletContextWrapper.java:116)

          at coldfusion.runtime.ServletContextWrapper.getRealPath(ServletContextWrapper.java:98)

          at coldfusion.filter.PathFilter.invoke(PathFilter.java:77)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

          at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)

          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:204)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)

          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

Exception thrown by error-handling template:

java.lang.IllegalStateException: getOutputStream() has already been called for this response

          at org.apache.catalina.connector.Response.getWriter(Response.java:633)

          at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:214)

          at coldfusion.runtime.NeoJspWriter.initWriter(NeoJspWriter.java:96)

          at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:315)

          at coldfusion.runtime.NeoPageContext.flushOutput(NeoPageContext.java:1997)

          at coldfusion.filter.ExceptionFilter.runBuiltInHandler(ExceptionFilter.java:680)

          at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:375)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:108)

          at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

          at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

          at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

          at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:155)

          at coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:331)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)

          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

07/08/2012 9:50:13 PM org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet [CFCServlet] in context with path [/] threw exception [coldfusion.filter.AxisFilter$WebServiceInvocationException: The web service operation caused an invocation exception.] with root cause

java.net.SocketException: Connection reset by peer: socket write error

          at java.net.SocketOutputStream.socketWrite0(Native Method)

          at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

          at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

          at org.apache.coyote.ajp.AjpProcessor.output(AjpProcessor.java:299)

          at org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1093)

          at org.apache.coyote.Response.doWrite(Response.java:533)

          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:373)

          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:460)

          at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:324)

          at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:301)

          at org.apache.catalina.connector.Response.flushBuffer(Response.java:565)

          at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:307)

          at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:909)

          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)

          at coldfusion.xml.rpc.CFCServlet.doAxisPost(CFCServlet.java:295)

          at coldfusion.filter.AxisFilter.invoke(AxisFilter.java:75)

          at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:443)

          at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)

          at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

          at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

          at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

          at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

          at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

          at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:155)

          at coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:331)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)

          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

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 ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

I am the only one who having this issue?

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
Participant ,
Aug 18, 2012 Aug 18, 2012

Copy link to clipboard

Copied

Luo,

You're not the only one having this problem. I removed CF9 after migrating to CF10 and all systems failed. I get the same results as you. I'm going back to 9.

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 ,
Aug 19, 2012 Aug 19, 2012

Copy link to clipboard

Copied

Thanks for your reply djkhalif

I can not roll back to the version it was, because it was using coldfusion 6.1 and we need some new functions from later version, plus the coldfusion 10 is the only licence we have.

It is affecting all my production servers, and I have to baby sitting them everyday 24/7. Kind frustrating.

Thanks for your information again

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 ,
Aug 14, 2012 Aug 14, 2012

Copy link to clipboard

Copied

sorry to ask again, but is there any thing I could confirm this issue whether because of a faulty connector delivered with cf10 or something else

thanks again

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
Guest
Aug 17, 2012 Aug 17, 2012

Copy link to clipboard

Copied

https://issues.apache.org/bugzilla/show_bug.cgi?id=45063

Use "LocalSystem" for DefaultAppPool identity.

Van

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 ,
Aug 19, 2012 Aug 19, 2012

Copy link to clipboard

Copied

Thanks for your reply Van

I am not really understand the IIS setting, but the server machine serves multiple sites , each site is using a application pool and every application uses "ApplicationPoolIdentity" as their Identity. There is a "DefaultAppPool" uses "ApplicationPoolIdentity", but I don't believe it has been used though.

My problem is, we are using a network login for the coldfusion application service instead of "Local System Account", due to the file access permission in our network.

Should I change all the application pools to use "LocalSystem"? Will this affect the fille access required by the coldfusion services?

Thanks in advance

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 ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

I'm having the same issue, IIS 7.5 on Windows Server 2008 64bit.  The issue will cause the application pool to crash specifically when doing a cffile action="upload".  My logs are showing the exact same errors as yours both in ColdFusion and in the Windows Event viewer. 

Is there a bug submission somewhere where I can vote this issue up? 

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 ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

Thanks for your information bittersweetryan

Is this happening in your development environment or it is happening in a production environment?

Are you able to replicate the crash yourself?

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 ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

It is in a brand new server that is being tested for production.   I can replicate the crash every time, the server will work fine until I do a cffile action=upload.  The application pool will then crash causing the server to stop responding.   This is on a Windows 2008 Server 64bit, IIS 7.5, and ColdFusion 10.  

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 ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

Your problem is a bit different to mine, I am sure I do have lots cffile when action is upload in my application, and that part will be called multiple times. But the server only crash randomly and I can't replicate the error myself.

It went down 4 times in an hour this morning and I am frustrating a lot and lots of pressure at the moment.

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 ,
Aug 24, 2012 Aug 24, 2012

Copy link to clipboard

Copied

I think I reduced my problem as far as I can go.  Its not the CFFILE operation itself, its with a http request with a large amount of content, such as doing an XHR file upload.   This causes the IIS connector to tomcat to throw numerous errors.  If your thread pool is set to die after x number of errors the pool will crash leaving the server unresponsive.  My solution was to do traditional form based file uploads instead of using XHR.

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 ,
Aug 26, 2012 Aug 26, 2012

Copy link to clipboard

Copied

Could you please post some sample codes from your application which causing server crashes for you? There are lots of cffile in my application and I have no idea which one in what situationwill send some large amount of content  and crash the server.

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 ,
Aug 26, 2012 Aug 26, 2012

Copy link to clipboard

Copied

Furthermore, you are right, IIS will stop functioning after certain number of errors been send to it, the default was 5.

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 ,
Aug 28, 2012 Aug 28, 2012

Copy link to clipboard

Copied

Ryan, I am having the same issue.  I tried the change that Van suggested above, so we'll see that it works.  I used the advice in the article in his link to change the account that the IIS 7.5 application pool runs under.  You can learn more about changing it here:  http://technet.microsoft.com/en-us/library/cc771170%28v=ws.10%29.aspx .  I would never have found it otherwise--it is tucked in application pool > advanced settings > process model - identity.  Change to LocalService and hope for the best.

If you solve it though some other method, please post as I have 5 servers ready to go into production once this issue is solved.

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 ,
Aug 28, 2012 Aug 28, 2012

Copy link to clipboard

Copied

Klevenson

Since you have tried to solve the problem by changing the identify to LocalService, would you able to tell me whether it is working or not?

I am not able to do such changes, since my servers have already into production.

My temperate solution is increasing the number of error IIS can handle before shut itself off.

It is in application pool > Advance setting > Rapid-Faill Protection - Maximum Failures

Since I have found the IIS will shut itself off after 5 errors been sent from connector, by increasing the number here, it temperately solved my problem (but my event log still full of errors from connector)

I am also trying to contact Adobe in a formal way to discuss about this issue.

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 ,
Aug 28, 2012 Aug 28, 2012

Copy link to clipboard

Copied

Also there is a ticket has been sent to adobe bug report by one of our fellow cf 10 user

and here is the original post

http://forums.adobe.com/thread/1016323?tstart=0

and the actual ticket

https://bugbase.adobe.com/index.cfm?event=bug&id=3318104

I couldn't try the solution suggested by JakeHand, since the servers are in production

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
Explorer ,
Aug 29, 2012 Aug 29, 2012

Copy link to clipboard

Copied

We're getting the same issue on our CF 10 server too. It'll run fine for an hour or two, then fill up the coldfusion-error.log with about 4Mb of this error - over and over. Often the system will choke at this point.

I can not say whether or not this is related to our ongoing issue with support: trying to get CF10 and ASP4 to run at the same time:

Aug 29, 2012 10:43:28 AM org.apache.coyote.ajp.AjpProcessor getRealPathFromServer

SEVERE: Error in getRealPathFromConn

java.net.SocketException: Connection reset by peer: socket write error

    at java.net.SocketOutputStream.socketWrite0(Native Method)

    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

    at java.net.SocketOutputStream.write(SocketOutputStream.java:124)

    at org.apache.coyote.ajp.AjpProcessor.getRealPathFromServer(AjpProcessor.java:391)

    at org.apache.coyote.ajp.AbstractAjpProcessor.getRealPath(AbstractAjpProcessor.java:1112)

    at org.apache.naming.resources.FileDirContext.doGetRealPath(FileDirContext.java:198)

    at org.apache.naming.resources.BaseDirContext.getRealPath(BaseDirContext.java:412)

    at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4475)

    at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:414)

    at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.java:335)

    at coldfusion.runtime.ServletContextWrapper.doGetRealPath(ServletContextWrapper.java:184)

    at coldfusion.runtime.ServletContextWrapper._doGetRealPath(ServletContextWrapper.java:116)

    at coldfusion.runtime.ServletContextWrapper.getRealPath(ServletContextWrapper.java:98)

    at flex.util.ServletPathResolver.resolveRealPath(ServletPathResolver.java:55)

    at flex.util.ServletPathResolver.deduceFile(ServletPathResolver.java:30)

    at flex.util.PathResolver.resolveFile(PathResolver.java:111)

    at flex.compiler.CachedComponentLoader.createSourceFileAppRoot(CachedComponentLoader.java:634)

    at flex.compiler.AppRootASClassLoader.createSourceFile(AppRootASClassLoader.java:33)

    at flex.compiler.CachedComponentLoader.hasClassName(CachedComponentLoader.java:832)

    at flex.compiler.linker.Loader$1.fetch(Loader.java:406)

    at macromedia.util.SoftCache.get(SoftCache.java:81)

    at flex.compiler.linker.Loader.getClassName(Loader.java:395)

    at flex.compiler.CompositeLoader.hasClassName(CompositeLoader.java:198)

    at flex.compiler.linker.Loader$1.fetch(Loader.java:406)

    at macromedia.util.SoftCache.get(SoftCache.java:81)

    at flex.compiler.linker.Loader.getClassName(Loader.java:395)

    at flex.compiler.linker.Loader.findClassName(Loader.java:383)

    at macromedia.asc.AsPackageManager.getAsPackage(AsPackageManager.java:190)

    at macromedia.asc.AsCompiler.loadSymbolTable(AsCompiler.java:1208)

    at macromedia.asc.AsParse.loadSymbolTable(AsParse.java:7714)

    at macromedia.asc.AsParse.loadSymbolTable(AsParse.java:7653)

    at macromedia.asc.AsParse.parseMemberExpr(AsParse.java:992)

    at macromedia.asc.AsParse.parseLeftHandSideExpr(AsParse.java:794)

    at macromedia.asc.AsParse.parsePostfixExpr(AsParse.java:757)

    at macromedia.asc.AsParse.parseUnaryExpr(AsParse.java:1472)

    at macromedia.asc.AsParse.parseCastExpr(AsParse.java:1303)

    at macromedia.asc.AsParse.parseMultiplicativeExpr(AsParse.java:676)

    at macromedia.asc.AsParse.parseAdditiveExpr(AsParse.java:637)

    at macromedia.asc.AsParse.parseShiftExpr(AsParse.java:1478)

    at macromedia.asc.AsParse.parseRelationalExpr(AsParse.java:1515)

    at macromedia.asc.AsParse.parseEqualityExpr(AsParse.java:1581)

    at macromedia.asc.AsParse.parseBitAndExpr(AsParse.java:1679)

    at macromedia.asc.AsParse.parseBitXorExpr(AsParse.java:1655)

    at macromedia.asc.AsParse.parseBitOrExpr(AsParse.java:1632)

    at macromedia.asc.AsParse.parseAndExpr(AsParse.java:1703)

    at macromedia.asc.AsParse.parseOrExpr(AsParse.java:1738)

    at macromedia.asc.AsParse.parseConditionalExpr(AsParse.java:1773)

    at macromedia.asc.AsParse.parseAssignmentExpr(AsParse.java:1801)

    at macromedia.asc.AsParse.parseExpression(AsParse.java:1899)

    at macromedia.asc.AsParse.parseStatement(AsParse.java:6215)

    at macromedia.asc.AsParse.parseBlock(AsParse.java:2294)

    at macromedia.asc.AsParse.parseFunction(AsParse.java:3140)

    at macromedia.asc.AsParse.parseStatement(AsParse.java:6091)

    at macromedia.asc.AsParse.parseToplevelStatements(AsParse.java:2187)

    at macromedia.asc.AsParse.parseStatements(AsParse.java:2162)

    at macromedia.asc.AsParse.compileScript(AsParse.java:7126)

    at macromedia.asc.AsCompiler.parseString(AsCompiler.java:1083)

    at macromedia.asc.ActionScriptCompiler.parseOnly(ActionScriptCompiler.java:76)

    at flex.compiler.CodeGenContext.parseOnly(CodeGenContext.java:135)

    at flex.compiler.WatcherVisitor.compileAndReplaceFunctions(WatcherVisitor.java:172)

    at flex.compiler.WatcherVisitor.execute(WatcherVisitor.java:150)

    at flex.compiler.WatcherVisitor.doWatcherPass(WatcherVisitor.java:1562)

    at flex.compiler.SwcBuilder.createClass(SwcBuilder.java:646)

    at flex.compiler.SwcBuilder.createSwc(SwcBuilder.java:80)

    at flex.compiler.MxmlLoader.compileComponent(MxmlLoader.java:410)

    at flex.compiler.J2eeMxmlCompiler.compileSourceEntry(J2eeMxmlCompiler.java:60)

    at coldfusion.tagext.html.form.CFFlexApi$CompileMxml.run(CFFlexApi.java:412)

    at java.security.AccessController.doPrivileged(Native Method)

    at coldfusion.tagext.html.form.CFFlexApi.compile(CFFlexApi.java:226)

    at coldfusion.tagext.html.form.MxmlOutput.compileMXML(MxmlOutput.java:65)

    at coldfusion.tagext.html.form.MxmlOutput.compile(MxmlOutput.java:53)

    at coldfusion.tagext.html.form.FormTag.doEndTag(FormTag.java:878)

    at cfadmin2ecfm274100841._factor49(D:\webserve\intraweb\fobs\wfas\admin.cfm:2010)

    at cfadmin2ecfm274100841._factor50(D:\webserve\intraweb\fobs\wfas\admin.cfm:35)

    at cfadmin2ecfm274100841.runPage(D:\webserve\intraweb\fobs\wfas\admin.cfm:1)

    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)

    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)

    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

    at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)

    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:443)

    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

    at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)

    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

    at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)

    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:204)

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

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

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

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

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
Explorer ,
Aug 29, 2012 Aug 29, 2012

Copy link to clipboard

Copied

Upon further review of the logs here, it's possible that these events could be triggered by CF's invocation of flash forms (ie CFFORM type='flash'). They seem to coincide in close proximity.

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
Engaged ,
Aug 29, 2012 Aug 29, 2012

Copy link to clipboard

Copied

Everyone should "vote" for the bug that was entered for this.  That will help show Adobe that more than one user is experiencing the issue.

https://bugbase.adobe.com/index.cfm?event=bug&id=3318104

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 ,
Aug 29, 2012 Aug 29, 2012

Copy link to clipboard

Copied

Miguel,

I added my vote.

Ryan

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 ,
Aug 29, 2012 Aug 29, 2012

Copy link to clipboard

Copied

AlHolden,

I've noticed that the connector definately crashes when there is a http request with a large content payload.  If I do a HTML5 file upload the server will crash immediately.  Do your forms submit a large amount of data in the post?

Ryan

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