My Oracle Support Banner

OPMN Not Able to Start OC4J Component When 4 or More JVMs Configured (Doc ID 461615.1)

Last updated on MARCH 17, 2020

Applies to:

Oracle Fusion Middleware - Version 10.1.3.1.0 to 10.1.3.4.0 [Release AS10gR3]
Oracle Containers for J2EE - Version 10.1.3.1.0 to 10.1.3.4.0 [Release AS10gR3]
HP-UX Itanium
HP-UX PA-RISC (64-bit)
Oracle Containers for J2EE - Version: 10.1.3.1.0 to 10.1.3.4.0
HP-UX ItaniumHP-UX PA-RISC (64-bit)

Symptoms

Error
--> Process (index=2,uid=<uid>,pid=<pid>)
failed to start a managed process after the maximum retry limit Log:

<ORACLE_HOME>/opmn/logs/default_group~<test>~default_group~2.log

 

opmnctl status shows one of them as down:


OC4JGroup:default_group | OC4J:test | <pid> | Alive
OC4JGroup:default_group | OC4J:test | <pid> | Alive
OC4JGroup:default_group | OC4J:test | <pid> | Alive
OC4JGroup:default_group | OC4J:test | N/A | Down



Using ODL Diagnostics last warnings and errors from j2ee are as follows:

 

.........................................................
<datetime>] [j2ee] [ERROR] [jms] [host: <HOSTNAME] [nwaddr: <IP>] [tid: <TID>] [userId: oracle] [ecid: <IP>:<ECID>:0,0] Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:ORACLE_HOME/j2ee/xxxxx/config/jms.xml] java.lang.InstantiationException:


ServerFile[PersistentMap,ORACLE_HOME/j2ee/xxxxx/persistence/xxxxx_default _group_2/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1072)
at com.evermind.server.jms.JMSUtils.toInstantiationException(JMSUtils.java:1237)
at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1831)
at com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:209)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:182)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2412)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:955)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException:


ServerFile[PersistentMap,ORACLE_HOME/j2ee/xxxxx/persistence/xxxxx_default
_group_2/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
.......................................

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
Cause
Solution
References


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