SEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] threw exception

Advocate ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard


We have been running CF 11 U5 for a while now with no problems at all. We run CF Enterprise on IIS 8.5 on Server 2k12 64bit.

Recently a few of our clients have been complaining that when they upload files via our various methods of file uploads they get errors back. These errors are browser errors telling them connection has been reset, or page cannot be display etc.

This only seems to happen once the file size goes above 300-400kb. We have no restrictions in IIS as 95% of our other clients have no trouble uploading files up to 200MB.

Nothing has changed to any of the code that runs these uploads. We have a mixture of standard pages with form post which CF then uploads the image to some pages that use jquery file upload plugins which post to CF pages that do the upload.

It doesn't seem that anything is ever uploaded and the user gets the error back pretty quickly within 2-5 seconds of starting the upload. The uploaded files are usual images (jpg) or zip files.

This only seems to affect a limited amount of people as well. When every I try to replicate the issue uploading the same files from my side  I never see the problem and everything works as intended. A lot of our other clients have no issues uploading either.

Looking at the IIS logs they are getting a 400 error. Failed request logs tell me its a bad request.

When looking at the Coldfusion error log I get the following error:

Oct 07, 2015 9:56:53 AM org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] threw exception Socket read failed


  at org.apache.coyote.ajp.AjpProcessor.readMessage(

  at org.apache.coyote.ajp.AjpProcessor.receive(

  at org.apache.coyote.ajp.AbstractAjpProcessor.refillReadBuffer(

  at org.apache.coyote.ajp.AbstractAjpProcessor$SocketInputBuffer.doRead(

  at org.apache.coyote.Request.doRead(

  at org.apache.catalina.connector.InputBuffer.realReadBytes(

  at org.apache.tomcat.util.buf.ByteChunk.substract(



  at com.oreilly.servlet.multipart.BufferedServletInputStream.fill(

  at com.oreilly.servlet.multipart.BufferedServletInputStream.readLine(

  at com.oreilly.servlet.multipart.LimitedServletInputStream.readLine(

  at com.oreilly.servlet.multipart.PartInputStream.fill(



  at com.oreilly.servlet.multipart.FilePart.write(

  at com.oreilly.servlet.multipart.FilePart.writeTo(

  at coldfusion.filter.FormScope.fillForm(

  at coldfusion.filter.FusionContext.SymTab_initForRequest(

  at coldfusion.filter.GlobalsFilter.invoke(

  at coldfusion.filter.DatasourceFilter.invoke(

  at coldfusion.filter.CachingFilter.invoke(

  at coldfusion.filter.RequestThrottleFilter.invoke(

  at coldfusion.CfmServlet.service(

  at coldfusion.bootstrap.BootstrapServlet.service(

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(

  at coldfusion.monitor.event.MonitoringServletFilter.doFilter(

  at coldfusion.bootstrap.BootstrapFilter.doFilter(

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(

  at org.apache.catalina.core.StandardWrapperValve.invoke(

  at org.apache.catalina.core.StandardContextValve.invoke(

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(

  at org.apache.catalina.core.StandardHostValve.invoke(

  at org.apache.catalina.valves.ErrorReportValve.invoke(

  at org.apache.catalina.core.StandardEngineValve.invoke(

  at org.apache.catalina.connector.CoyoteAdapter.service(

  at org.apache.coyote.ajp.AjpProcessor.process(

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(


  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  at java.util.concurrent.ThreadPoolExecutor$ Source)

  at org.apache.tomcat.util.threads.TaskThread$

  at Source)

This error is where I am stumped. What could cause this error for a select few people uploading files?

Any ideas?







Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation