com.tc.objectserver.persistence.db.DBException

com.sleepycat.je.EnvironmentFailureException: (JE 4.1.7) JAVA_ERROR: Java Error occurred, recovery may not be possible.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via Terracotta by canos, 11 months ago
    com.sleepycat.je.EnvironmentFailureException: (JE 4.1.7) JAVA_ERROR: Java Error occurred, recovery may not be possible.
  • com.tc.objectserver.persistence.db.TCDatabaseException: (JE 4.1.10) JAVA_ERROR: Java Error occurred, recovery may not be possible.
  • com.sleepycat.je.EnvironmentFailureException: (JE 4.1.10) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 4.1.10) /home/terracotta/tc-data/configs/../data
  • Stack trace

    • com.tc.objectserver.persistence.db.DBException: com.sleepycat.je.EnvironmentFailureException: (JE 4.1.7) JAVA_ERROR: Java Error occurred, recovery may not be possible. at com.tc.objectserver.storage.berkeleydb.BerkeleyDBPersistenceTransactionProvider.newTransaction(BerkeleyDBPersistenceTransactionProvider.java:25) at com.tc.objectserver.persistence.db.ManagedObjectPersistorImpl.loadObjectByID(ManagedObjectPersistorImpl.java:288) at com.tc.objectserver.impl.PersistentManagedObjectStore.getObjectByID(PersistentManagedObjectStore.java:127) at com.tc.objectserver.handler.ManagedObjectFaultHandler.handleEvent(ManagedObjectFaultHandler.java:55) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:130) Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 4.1.7) JAVA_ERROR: Java Error occurred, recovery may not be possible. at com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1434) at com.sleepycat.je.Environment.checkEnv(Environment.java:2117) at com.sleepycat.je.Environment.beginTransactionInternal(Environment.java:1280) at com.sleepycat.je.Environment.beginTransaction(Environment.java:1262) at com.tc.objectserver.storage.berkeleydb.BerkeleyDBPersistenceTransactionProvider.newNativeTransaction(BerkeleyDBPersistenceTransactionProvider.java:30) at com.tc.objectserver.storage.berkeleydb.BerkeleyDBPersistenceTransactionProvider.newTransaction(BerkeleyDBPersistenceTransactionProvider.java:23) at com.tc.objectserver.persistence.db.FastObjectIDManagerImpl.flushToCompressedStorage(FastObjectIDManagerImpl.java:204) at com.tc.objectserver.persistence.db.FastObjectIDManagerImpl.checkpointToCompressedStorage(FastObjectIDManagerImpl.java:283) at com.tc.objectserver.persistence.db.FastObjectIDManagerImpl.access$200(FastObjectIDManagerImpl.java:31) at com.tc.objectserver.persistence.db.FastObjectIDManagerImpl$CheckpointRunner.run(FastObjectIDManagerImpl.java:331) Caused by: java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39) at java.nio.ByteBuffer.allocate(ByteBuffer.java:312) at com.sleepycat.je.log.LogManager.marshallIntoBuffer(LogManager.java:691) at com.sleepycat.je.log.LogManager.multiLog(LogManager.java:379) at com.sleepycat.je.log.LogManager.log(LogManager.java:328) at com.sleepycat.je.tree.LN.log(LN.java:557) at com.sleepycat.je.tree.LN.optionalLog(LN.java:430) at com.sleepycat.je.tree.Tree.insertNewSlot(Tree.java:2534) at com.sleepycat.je.tree.Tree.insert(Tree.java:2467) at com.sleepycat.je.dbi.CursorImpl.put(CursorImpl.java:1209) at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:1799) at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:1756) at com.sleepycat.je.Cursor.putNotify(Cursor.java:1689) at com.sleepycat.je.Cursor.putInternal(Cursor.java:1626) at com.sleepycat.je.Database.putInternal(Database.java:1186) at com.sleepycat.je.Database.put(Database.java:1058) at com.tc.objectserver.storage.berkeleydb.BerkeleyDBTCBytesBytesDatabase.put(BerkeleyDBTCBytesBytesDatabase.java:50) at com.tc.objectserver.storage.berkeleydb.BerkeleyDBTCObjectDatabase.put(BerkeleyDBTCObjectDatabase.java:37) at com.tc.objectserver.storage.berkeleydb.BerkeleyDBTCObjectDatabase.insert(BerkeleyDBTCObjectDatabase.java:74) at com.tc.objectserver.persistence.db.ManagedObjectPersistorImpl.basicSaveObject(ManagedObjectPersistorImpl.java:344) at com.tc.objectserver.persistence.db.ManagedObjectPersistorImpl.saveAllObjects(ManagedObjectPersistorImpl.java:404) at com.tc.objectserver.impl.PersistentManagedObjectStore.commitAllObjects(PersistentManagedObjectStore.java:90) at com.tc.objectserver.impl.ObjectManagerImpl.flushAllAndCommit(ObjectManagerImpl.java:860) at com.tc.objectserver.impl.ObjectManagerImpl.releaseAllAndCommit(ObjectManagerImpl.java:666) at com.tc.objectserver.tx.ServerTransactionManagerImpl.commit(ServerTransactionManagerImpl.java:389) at com.tc.objectserver.handler.CommitTransactionChangeHandler.handleEvent(CommitTransactionChangeHandler.java:31) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:130)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 3 months ago
    Unknown user
    Once, 7 months ago
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    12 more bugmates