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.GridFS.findOne(GridFS.java:203)
	org.springframework.data.mongodb.gridfs.GridFsTemplate.findOne(GridFsTemplate.java:199)
	gov.fcc.services.file.storage.repository.FileStorageRepository.get(FileStorageRepository.java:84)
	gov.fcc.enterprise.services.rest.resources.StorageResource.get(StorageResource.java:51)
	sun.reflect.GeneratedMethodAccessor3705.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:483)
	org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
	org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
	org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
	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.GridFS.findOne(GridFS.java:203)
	org.springframework.data.mongodb.gridfs.GridFsTemplate.findOne(GridFsTemplate.java:199)
	gov.fcc.services.file.storage.repository.FileStorageRepository.get(FileStorageRepository.java:84)
	gov.fcc.enterprise.services.rest.resources.StorageResource.get(StorageResource.java:51)
	sun.reflect.GeneratedMethodAccessor3705.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:483)
	org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
	org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
	org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
	org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
	org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
	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