HTTP Status 500 - com.mongodb.MongoException$Network: Read operation to server lprdmong-db03:8234 failed on database db_mass_media


type Exception report

message com.mongodb.MongoException$Network: Read operation to server lprdmong-db03:8234 failed on database db_mass_media

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: com.mongodb.MongoException$Network: Read operation to server lprdmong-db03:8234 failed on database db_mass_media
	org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:487)
	org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)

root cause

com.mongodb.MongoException$Network: Read operation to server lprdmong-db03:8234 failed on database db_mass_media
	com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:298)
	com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
	com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
	com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66)
	com.mongodb.DBCollection.findOne(DBCollection.java:940)
	com.mongodb.DBCollection.findOne(DBCollection.java:914)
	com.mongodb.DBCollection.findOne(DBCollection.java:858)
	com.mongodb.gridfs.GridFSDBFile.getChunk(GridFSDBFile.java:99)
	com.mongodb.gridfs.GridFSDBFile$MyInputStream.read(GridFSDBFile.java:154)
	com.mongodb.gridfs.GridFSDBFile$MyInputStream.read(GridFSDBFile.java:144)
	org.glassfish.jersey.message.internal.ReaderWriter.writeTo(ReaderWriter.java:115)
	org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:79)
	org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:105)
	org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:60)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
	org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711)
	org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
	org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434)
	org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329)
	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:317)
	org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
	org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
	org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
	org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)

root cause

java.net.SocketTimeoutException: Read timed out
	java.net.SocketInputStream.socketRead0(Native Method)
	java.net.SocketInputStream.read(SocketInputStream.java:150)
	java.net.SocketInputStream.read(SocketInputStream.java:121)
	java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	org.bson.io.Bits.readFully(Bits.java:73)
	org.bson.io.Bits.readFully(Bits.java:50)
	org.bson.io.Bits.readFully(Bits.java:37)
	com.mongodb.Response.<init>(Response.java:42)
	com.mongodb.DBPort$1.execute(DBPort.java:164)
	com.mongodb.DBPort$1.execute(DBPort.java:158)
	com.mongodb.DBPort.doOperation(DBPort.java:187)
	com.mongodb.DBPort.call(DBPort.java:158)
	com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:290)
	com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
	com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
	com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66)
	com.mongodb.DBCollection.findOne(DBCollection.java:940)
	com.mongodb.DBCollection.findOne(DBCollection.java:914)
	com.mongodb.DBCollection.findOne(DBCollection.java:858)
	com.mongodb.gridfs.GridFSDBFile.getChunk(GridFSDBFile.java:99)
	com.mongodb.gridfs.GridFSDBFile$MyInputStream.read(GridFSDBFile.java:154)
	com.mongodb.gridfs.GridFSDBFile$MyInputStream.read(GridFSDBFile.java:144)
	org.glassfish.jersey.message.internal.ReaderWriter.writeTo(ReaderWriter.java:115)
	org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:79)
	org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:105)
	org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:60)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86)
	org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
	org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
	org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711)
	org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
	org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434)
	org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329)
	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:317)
	org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
	org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
	org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
	org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
	org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.


Apache Tomcat/7.0.42