com.mongodb.MongoException$Network: can't say something

JIRA | Ryan Nitz | 8 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Should make a config option at the Collection level that doesn't throw an exception if any write fails. OLD------ ----- When the driver is interrupted during a server read/write (via a server shutdown), it throws a MongException. Some people may care about this but others do not (like me :-)). It creates a lot of noise in my log files. I can catch all the exceptions and look at the cause but that would result in a lot of ugly code. It would be handy if you could configure the Mongo object to not throw these. can't say something com.mongodb.MongoException$Network: can't say something at com.mongodb.DBTCP.say( at com.mongodb.DBMessageLayer.doUpdate( at com.mongodb.DBApiLayer$MyCollection.update( at lindex.ds.PageDs.updateAttr( at lindex.telemeter.PageBacklinkCountSensor.execute( at at Caused by: java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end( at at at java.nio.channels.SocketChannel.write( at com.mongodb.DBPort.go( at com.mongodb.DBPort.say( at com.mongodb.DBTCP.say( ... 6 more

    JIRA | 8 years ago | Ryan Nitz
    com.mongodb.MongoException$Network: can't say something
  2. 0

    RE: Looks like consumer fetchers get stopped we are not getting any data | 2 years ago

Root Cause Analysis

  1. java.nio.channels.ClosedByInterruptException

    No message provided

    at java.nio.channels.spi.AbstractInterruptibleChannel.end()
  2. Java RT
    1. java.nio.channels.spi.AbstractInterruptibleChannel.end(
    4. java.nio.channels.SocketChannel.write(
    4 frames
  3. MongoDB Java Driver
    1. com.mongodb.DBPort.go(
    2. com.mongodb.DBPort.say(
    3. com.mongodb.DBTCP.say(
    4. com.mongodb.DBMessageLayer.doUpdate(
    5. com.mongodb.DBApiLayer$MyCollection.update(
    5 frames
  4. lindex.ds
    1. lindex.ds.PageDs.updateAttr(
    1 frame
  5. lindex.telemeter
    1. lindex.telemeter.PageBacklinkCountSensor.execute(
    1 frame
  6. oemware.core
    1 frame
  7. Java RT
    1 frame