My Oracle Support Banner

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

Last updated on NOVEMBER 08, 2018

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.

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".




Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
 EM/ASC
 Manual changes

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.