sivaprasad9394
Occasional Collector

AccessIOException: Database error - Environment invalid because of previous exception?

Jump to solution

Hello Team,

While executing the Delta Deployment i am getting the below error message.

Delta_error.png

Error Log:

FATAL 08.05.2018 06:21:26.718 (de.espirit.firstspirit.server.scheduler.GenerateTaskExecutor): Cannot open AclFileSystem at /opt/wcms/fs/web/fs5staging/6333735/6913688/ (configDir=/opt/wcms/fs/data/schedule/6913688)

de.espirit.firstspirit.common.IOError: Cannot open AclFileSystem at /opt/wcms/fs/web/fs5staging/6333735/6913688/ (configDir=/opt/wcms/fs/data/schedule/6913688)

    at de.espirit.firstspirit.generate.AclFileHandleFactory.<init>(AclFileHandleFactory.java:27)

    at de.espirit.firstspirit.server.scheduler.GenerateTaskExecutor.getAclFileHandleFactory(GenerateTaskExecutor.java:411)

    at de.espirit.firstspirit.server.scheduler.GenerateTaskExecutor.getAclFileHandleFactory(GenerateTaskExecutor.java:419)

    at de.espirit.firstspirit.server.scheduler.GenerateTaskExecutor.run(GenerateTaskExecutor.java:126)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.executeLocal(ScheduleManagerImpl.java:2475)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.executeLocal(ScheduleManagerImpl.java:2458)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.call(ScheduleManagerImpl.java:2390)

    at de.espirit.firstspirit.server.ExecutionManagerImpl$ExtendedCallable.call(ExecutionManagerImpl.java:590)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at de.espirit.common.util.BoundedExecutorService$RunnableWrapper.run(BoundedExecutorService.java:436)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

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

    at de.espirit.common.util.SuspendableThread.run(SuspendableThread.java:56)

Caused by: de.espirit.firstspirit.access.AccessIOException: Database error - Environment invalid because of previous exception: com.sleepycat.je.RunRecoveryException: (JE 3.3.98) Channel closed, may be due to thread interrupt

    at de.espirit.firstspirit.io.AclFileSystemImpl.<init>(AclFileSystemImpl.java:51)

    at de.espirit.firstspirit.io.AclFileSystemImpl.<init>(AclFileSystemImpl.java:36)

    at de.espirit.firstspirit.generate.AclFileHandleFactory.<init>(AclFileHandleFactory.java:25)

    ... 15 more

Caused by: Environment invalid because of previous exception: com.sleepycat.je.RunRecoveryException: (JE 3.3.98) Channel closed, may be due to thread interrupt

    at com.sleepycat.je.log.FileManager$LogEndFileDescriptor.force(FileManager.java:2063)

    at com.sleepycat.je.log.FileManager.syncLogEnd(FileManager.java:1466)

    at com.sleepycat.je.log.FSyncManager.executeFSync(FSyncManager.java:276)

    at com.sleepycat.je.log.FSyncManager.fsync(FSyncManager.java:217)

    at com.sleepycat.je.log.FileManager.groupSync(FileManager.java:1493)

    at com.sleepycat.je.log.LogManager.multiLog(LogManager.java:353)

    at com.sleepycat.je.log.LogManager.log(LogManager.java:279)

    at com.sleepycat.je.log.LogManager.log(LogManager.java:268)

    at com.sleepycat.je.log.LogManager.logForceFlush(LogManager.java:130)

    at com.sleepycat.je.recovery.Checkpointer.doCheckpoint(Checkpointer.java:526)

    at com.sleepycat.je.dbi.EnvironmentImpl.invokeCheckpoint(EnvironmentImpl.java:1639)

    at com.sleepycat.je.Environment.sync(Environment.java:1218)

    at de.espirit.firstspirit.acl.bdb.BerkeleyAccessControlDb.sync(BerkeleyAccessControlDb.java:331)

    at de.espirit.firstspirit.acl.bdb.BerkeleyAccessControlDb.close(BerkeleyAccessControlDb.java:287)

    at de.espirit.firstspirit.acl.db.AccessControlDb.close(AccessControlDb.java:55)

    at de.espirit.firstspirit.io.AclFileSystemImpl.close(AclFileSystemImpl.java:80)

    at de.espirit.firstspirit.generate.AclFileHandleFactory.close(AclFileHandleFactory.java:48)

    at de.espirit.firstspirit.server.scheduler.ScheduleContextImpl.close(ScheduleContextImpl.java:368)

    at de.espirit.common.io.IoUtil.safeClose(IoUtil.java:65)

    at de.espirit.common.io.IoUtil.safeClose(IoUtil.java:132)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$ScheduleRunnable.doRun(ScheduleManagerImpl.java:2204)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$ScheduleRunnable.run(ScheduleManagerImpl.java:2026)

    at de.espirit.firstspirit.server.ExecutionManagerImpl$RunnableWrapper.call(ExecutionManagerImpl.java:625)

    ... 9 more

Caused by: java.nio.channels.ClosedByInterruptException

    at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)

    at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:392)

    at com.sleepycat.je.log.FileManager$LogEndFileDescriptor.force(FileManager.java:2055)

    ... 31 more

Thank you.

Regards,

Siva

0 Kudos
1 Solution

Accepted Solutions
pavone
I'm new here

Hello Siva,

I think you should contact our Technical Support and report this problem.

Best regards,

Tim

View solution in original post

0 Kudos
3 Replies
pavone
I'm new here

Hello Siva,

I think you should contact our Technical Support and report this problem.

Best regards,

Tim

0 Kudos

Did you get an answer?

0 Kudos
sivaprasad9394
Occasional Collector

Dear All,

The problem was resolved in R21 Release. FS 5.2.2109 by Espirit Team.

Thank you.

0 Kudos