org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX

Spring JIRA | Rafael Rios | 2 years ago
  1. 0

    CursorNotFound in multithreading Java process with Spring Data MongoDB

    Stack Overflow | 2 years ago | Ganchix
    org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX
  2. 0

    CursorNotFound in multithreading Java process with Spring Data MongoDB - scriptscoop.com

    iswwwup.com | 1 year ago
    org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX
  3. 0

    I have a problem with a multithreading java process, in my main I launch a paged query and put the result in threads, where executes select, updates, and a lot of crazy things. The methods used to do the query are {{Query.skip(int skip)}} and {{Query.limit(int limit)}} with 10.000 limit value. The process throws the following exception when paged more than 800.000 elements: {noformat} Exception:org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:60) at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1918) at org.springframework.data.mongodb.core.MongoTemplate.executeFindMultiInternal(MongoTemplate.java:1801) at org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1612) at org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1596) at org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:535) at org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:526) {noformat} Where is the problem? My mongo options: {code:xml} <mongo:options auto-connect-retry="true" connections-per-host="30" socket-keep-alive="true" max-auto-connect-retry-time="15000" max-wait-time="60000" socket-timeout="0" /> {code}

    Spring JIRA | 2 years ago | Rafael Rios
    org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have a problem with a multithreading java process, in my main I launch a paged query and put the result in threads, where executes select, updates, and a lot of crazy things. The methods used to do the query are {{Query.skip(int skip)}} and {{Query.limit(int limit)}} with 10.000 limit value. The process throws the following exception when paged more than 800.000 elements: {noformat} Exception:org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:60) at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1918) at org.springframework.data.mongodb.core.MongoTemplate.executeFindMultiInternal(MongoTemplate.java:1801) at org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1612) at org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1596) at org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:535) at org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:526) {noformat} Where is the problem? My mongo options: {code:xml} <mongo:options auto-connect-retry="true" connections-per-host="30" socket-keep-alive="true" max-auto-connect-retry-time="15000" max-wait-time="60000" socket-timeout="0" /> {code}

    Spring JIRA | 2 years ago | Rafael Rios
    org.springframework.dao.DataAccessResourceFailureException: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX
  6. 0

    mongodb - java.lang.OutOfMemoryError: Java heap space & Timeout waiting for a pooled item after 120000 MILLISECONDS - Ask Ubuntu

    askubuntu.com | 1 year ago
    org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'executePushScheduleTask' on target class [class com.pro.project.scheduler.service.SchedulerServiceImpl] failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timeout waiting for a pooled item after 120000 MILLISECONDS; nested exception is com.mongodb.MongoTimeoutException: Timeout waiting for a pooled item after 120000 MILLISECONDS

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.dao.DataAccessResourceFailureException

      Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX; nested exception is com.mongodb.MongoException$CursorNotFound: Cursor XXXXXXXX not found on server XXXXXXXX:XXXXX

      at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible()
    2. Spring Data MongoDB - Core
      MongoTemplate.find
      1. org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:60)
      2. org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1918)
      3. org.springframework.data.mongodb.core.MongoTemplate.executeFindMultiInternal(MongoTemplate.java:1801)
      4. org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1612)
      5. org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1596)
      6. org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:535)
      7. org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:526)
      7 frames