OC4J Fails To Restart Due To .Lock Files In Persistence Directory After Crash (Doc ID 404942.1)

Last updated on NOVEMBER 01, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 to 10.1.2.3.0 [Release AS10gR2]
Information in this document applies to any platform.
Checked for relevancy Aug-18-2011
Checked for relevancy on 13-Aug-2014

Symptoms

Application Server version (version 10.1.2.0) crashes and does not restart due to .lock files in the persistence directory.
Usually the following error occurs:

java.io.IOException:
ServerFile[jms/Oc4jJmsExceptionQueue,/usr/opt/oracle/OraHome_1/j2ee/home/persistence/home_default_island_1/Oc4jJmsExceptionQueue]:
persistence file "/usr/opt/oracle/OraHome_1/j2ee/home/persistence/home_default_island_1/Oc4jJmsExceptionQueue" is locked.
Verify that there is no sharing violation and manually remove "/usr/opt/oracle/OraHome_1/j2ee/home/persistence/home_default_island_1/Oc4jJmsExceptionQueue.lock".




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms