Opmnctl startall fails to start any OC4J Container with "Failed to set the internal configuration of the OC4J JMS Server" (Doc ID 1139204.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Fusion Middleware - Version: 10.1.2.0.2 to 10.1.3.5.0 - Release: AS10gR2 to AS10gR3
Information in this document applies to any platform.

Symptoms

--------
10/06/29 16:35:53 Start process
--------
10/06/29 16:36:02 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/oracleas_soa/10.1.3.1/OracleAS/j2ee/container1/config/jms.xml]
10/06/29 16:36:15 WARNING: OC4J will not send ONS ProcReadyPort messages to opmn for service: OC4JServiceInfo id: null protocol: jms hostname: null port: 12610 description: null
10/06/29 16:36:15 null hostname was null
10/06/29 16:36:15 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized


<TSTZ_ORIGINATING>2010-06-29T16:36:02.853+05:30</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>prpmgsvr01</HOST_ID>
<HOST_NWADDR>127.0.0.1</HOST_NWADDR>
<MODULE_ID>jms</MODULE_ID>
<THREAD_ID>10</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>127.0.0.1:99172:1277809562856:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/oracleas_soa/10.1.3.1/OracleAS/j2ee/container1/config/jms.xml]</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.InstantiationException: /oracleas_soa/10.1.3.1/OracleAS/j2ee/container1/persistence/container1_default_group_1/jms.state (Permission denied)
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
at com.evermind.server.jms.JMSUtils.toInstantiationException(JMSUtils.java:1240)
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:2455)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:999)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /oracleas_soa/10.1.3.1/OracleAS/j2ee/container1/persistence/container1_default_group_1/jms.state (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
at com.evermind.server.jms.ServerFile.safeOpenFile(ServerFile.java:777)
at com.evermind.server.jms.ServerFile.access$000(ServerFile.java:77)
at com.evermind.server.jms.ServerFile$2.run(ServerFile.java:719)
at oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
at com.evermind.server.jms.ServerFile.openFile(ServerFile.java:716)
at com.evermind.server.jms.ServerFile.<init>(ServerFile.java:133)
at com.evermind.server.jms.PersistentMap.loadFile(PersistentMap.java:100)
at com.evermind.server.jms.PersistentMap.<init>(PersistentMap.java:61)
at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1823)
... 6 more

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