1 Reply Latest reply: Sep 24, 2013 4:14 AM by Oracle,CindyZeng RSS

    Exception, com.sleepycat.je.EnvironmentFailureException:

    1005812

      Hello

      We are seeing the following exceptions after it was advised that upgrading to Berkley DB  5.0.73 would fix the issues… (je-5.0.73.jar)

      The Platform we are running this is  Linux

       

      1)       Linux njqemsaux04 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 20 11:05:23 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

       

       

      We only set the following to 90 M

      EnvironmentConfig envConfig = new EnvironmentConfig();

                 

      2)                     envConfig.setConfigParam(EnvironmentConfig.LOG_FILE_MAX, "90000000"); //90M

       

       

       

      3)       These are the contents of  the ENV HOME DIR  ( where the DB files are stored)

       

      total 179672

      -rw-rw-r--   1 fxall fxall        0 Jun 10 17:21 je.info.0.lck

      -rw-rw-r--   1 fxall fxall        0 Jun 10 17:21 je.lck

      drwxrwxr-x 266 fxall fxall    49152 Jun 10 17:21 ..

      -rw-rw-r--   1 fxall fxall 89909152 Jun 11 02:10 00000000.jdb

      -rw-rw-r--   1 fxall fxall 89920384 Jun 11 02:16 00000001.jdb

      drwxr-xr-x   2 fxall fxall     4096 Jun 11 02:16 .

      -rw-rw-r--   1 fxall fxall  4076773 Jun 11 02:16 00000002.jdb

      -rw-rw-r--   1 fxall fxall     5563 Jun 11 02:16 je.info.0

       

       

       

      4)       These were the exceptions in PRODN

       

       

      Jun 11, 2013 2:16:58 AM com.sleepycat.je.utilint.DaemonThread run

      SEVERE: <DaemonThread name="Cleaner-1"/> caught exception, com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) /opt/fxall/logs/TG_REGION com.sleepycat.je.log.ChecksumException: Read invalid log entry type: 102 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0x0/0x9bc934 parent IN=5 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x1/0x430c18e lastLoggedVersion=0x2/0x55d46 parent.getDirty()=true state=0 Exiting

      1. com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) /opt/fxall/logs/TG_REGION com.sleepycat.je.log.ChecksumException: Read invalid log entry type: 102 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0x0/0x9bc934 parent IN=5 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x1/0x430c18e lastLoggedVersion=0x2/0x55d46 parent.getDirty()=true state=0

              at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:851)

              at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:809)

              at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1412)

              at com.sleepycat.je.dbi.CursorImpl.getCurrentAlreadyLatched(CursorImpl.java:1466)

              at com.sleepycat.je.dbi.CursorImpl.getNext(CursorImpl.java:1595)

              at com.sleepycat.je.cleaner.UtilizationProfile.getObsoleteDetail(UtilizationProfile.java:632)

              at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:439)

              at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:289)

              at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:151)

              at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:163)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: com.sleepycat.je.log.ChecksumException: Read invalid log entry type: 102

              at com.sleepycat.je.log.LogEntryHeader.<init>(LogEntryHeader.java:161)

              at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:928)

              at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:848)

              at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:809)

              at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1416)

              ... 8 more

       

       

       

       

      1. com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 5.0.73) /opt/fxall/logs/TG_REGION com.sleepycat.je.log.ChecksumException: Read invalid log entry type: 102 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0x0/0x9bc934 parent IN=5 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x1/0x430c18e lastLoggedVersion=0x2/0x55d46 parent.getDirty()=true state=0

              at com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureException.java:196)

              at com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1512)

              at com.sleepycat.je.Database.checkEnv(Database.java:1884)

              at com.sleepycat.je.Database.openCursor(Database.java:676)

              at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:415)

              at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:53)

              at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:29)

              at com.sleepycat.collections.DataCursor.init(DataCursor.java:170)

              at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:58)

              at com.sleepycat.collections.StoredContainer.getValue(StoredContainer.java:300)

              at com.sleepycat.collections.StoredMap.get(StoredMap.java:240)

              at com.fxall.ems.berkleyDB.BerkleyDBInterface.getObjectFromCache(BerkleyDBInterface.java:353)

              at com.fxall.ems.persistance.BerkleyDBPersist.getChildOrder(BerkleyDBPersist.java:354)

              at com.fxall.ems.sor.meclient.MEClient.handleApiCancelOrderReport(MEClient.java:734)

              at com.fxall.ems.sor.meclient.MEOutHandler.onOrderCancelled(MEOutHandler.java:132)