Skip to content

Instantly share code, notes, and snippets.

@sajithdilshan
Created March 31, 2016 19:08
Show Gist options
  • Save sajithdilshan/7776b81fb72c090a79faccdb2dbbc8db to your computer and use it in GitHub Desktop.
Save sajithdilshan/7776b81fb72c090a79faccdb2dbbc8db to your computer and use it in GitHub Desktop.
<html>
<head><title>Apache Tomcat/7.0.68 - Error report</title>
<style><!--
H1 {
font-family: Tahoma, Arial, sans-serif;
color: white;
background-color: #525D76;
font-size: 22px;
}
H2 {
font-family: Tahoma, Arial, sans-serif;
color: white;
background-color: #525D76;
font-size: 16px;
}
H3 {
font-family: Tahoma, Arial, sans-serif;
color: white;
background-color: #525D76;
font-size: 14px;
}
BODY {
font-family: Tahoma, Arial, sans-serif;
color: black;
background-color: white;
}
B {
font-family: Tahoma, Arial, sans-serif;
color: white;
background-color: #525D76;
}
P {
font-family: Tahoma, Arial, sans-serif;
background: white;
color: black;
font-size: 12px;
}
A {
color: black;
}
A.name {
color: black;
}
HR {
color: #525D76;
}
--></style>
</head>
<body><h1>HTTP Status 500 - org.glassfish.jersey.server.ContainerException: java.net.SocketTimeoutException: Read timed
out</h1>
<HR size="1" noshade="noshade">
<p><b>type</b> Exception report</p>
<p><b>message</b> <u>org.glassfish.jersey.server.ContainerException: java.net.SocketTimeoutException: Read timed out</u>
</p>
<p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u>
</p>
<p><b>exception</b>
<pre>javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.net.SocketTimeoutException: Read timed out org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:397) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) </pre>
</p><p><b>root cause</b>
<pre>org.glassfish.jersey.server.ContainerException: java.net.SocketTimeoutException: Read timed out org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:256) org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:238) org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:480) org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:311) org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) org.glassfish.jersey.internal.Errors.process(Errors.java:315) org.glassfish.jersey.internal.Errors.process(Errors.java:297) org.glassfish.jersey.internal.Errors.process(Errors.java:267) org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:316) org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:286) org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1073) org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:377) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) </pre>
</p><p><b>root cause</b>
<pre>java.net.SocketTimeoutException: Read timed out java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.socketRead(SocketInputStream.java:116) java.net.SocketInputStream.read(SocketInputStream.java:170) java.net.SocketInputStream.read(SocketInputStream.java:141) org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:535) org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:504) org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:566) org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:137) org.apache.coyote.http11.AbstractInputBuffer.doRead(AbstractInputBuffer.java:339) org.apache.coyote.Request.doRead(Request.java:438) org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:290) org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:449) org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:315) org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:200) org.glassfish.jersey.message.internal.EntityInputStream.read(EntityInputStream.java:101) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream.read(ReaderInterceptorExecutor.java:300) org.jvnet.mimepull.MIMEParser.fillBuf(MIMEParser.java:440) org.jvnet.mimepull.MIMEParser.readBody(MIMEParser.java:216) org.jvnet.mimepull.MIMEParser.access$600(MIMEParser.java:68) org.jvnet.mimepull.MIMEParser$MIMEEventIterator.next(MIMEParser.java:165) org.jvnet.mimepull.MIMEParser$MIMEEventIterator.next(MIMEParser.java:132) org.jvnet.mimepull.MIMEMessage.makeProgress(MIMEMessage.java:198) org.jvnet.mimepull.MIMEMessage.parseAll(MIMEMessage.java:181) org.jvnet.mimepull.MIMEMessage.getAttachments(MIMEMessage.java:106) org.glassfish.jersey.media.multipart.internal.MultiPartReaderClientSide.readMultiPart(MultiPartReaderClientSide.java:225) org.glassfish.jersey.media.multipart.internal.MultiPartReaderServerSide.readMultiPart(MultiPartReaderServerSide.java:90) org.glassfish.jersey.media.multipart.internal.MultiPartReaderClientSide.readFrom(MultiPartReaderClientSide.java:179) org.glassfish.jersey.media.multipart.internal.MultiPartReaderClientSide.readFrom(MultiPartReaderClientSide.java:91) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:258) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:234) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:154) org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:73) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:154) org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1124) org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:851) org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:783) org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:233) org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider.getEntity(FormDataParamValueFactoryProvider.java:376) org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider.access$000(FormDataParamValueFactoryProvider.java:87) org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider$FormDataParamValueFactory.provide(FormDataParamValueFactoryProvider.java:203) org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:81) org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:121) org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342) org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101) org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:303) org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) org.glassfish.jersey.internal.Errors.process(Errors.java:315) org.glassfish.jersey.internal.Errors.process(Errors.java:297) org.glassfish.jersey.internal.Errors.process(Errors.java:267) org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:316) org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:286) org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1073) org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:377) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) </pre>
</p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.68 logs.</u></p>
<HR size="1" noshade="noshade">
<h3>Apache Tomcat/7.0.68</h3></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment