My Oracle Support Banner

OC4J Fails to Start Due to Error: "Error starting ORMI server naim.nc. port 23,791: Address already in use" (Doc ID 973133.1)

Last updated on MARCH 08, 2017

Applies to:

Business Intelligence Suite Enterprise Edition - Version 10.1.3.4.1 [1900] and later
Information in this document applies to any platform.
***Checked for relevance on 16-Sep-2013***

Symptoms

After installing OBIEE successfully, when starting OC4J, the following error occurs:

[oracle@eprepsvr setup]$ ./oc4j -start
Starting OC4J from /usr/local/OracleBI/oc4j_bi/j2ee/home ...
2009-12-01 12:15:11.372 ERROR ServerFile[PersistentMap,/usr/local/OracleBI/oc4j_bi/j2ee/home/persistence/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.
09/12/01 12:15:11 *** (SEVERE) ServerFile[PersistentMap,/usr/local/OracleBI/oc4j_bi/j2ee/home/persistence/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.
2009-12-01 12:15:11.375 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/usr/local/OracleBI/oc4j_bi/j2ee/home/config/jms.xml]
09/12/01 12:15:11 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/usr/local/OracleBI/oc4j_bi/j2ee/home/config/jms.xml]
2009-12-01 12:15:11.376 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/usr/local/OracleBI/oc4j_bi/j2ee/home/config/jms.xml]
2009-12-01 12:15:11.406 ERROR J2EE RMI-00002 Error starting ORMI server naim.nc port 23,791: Address already in use
2009-12-01 12:15:11.407 ERROR java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2378)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:966)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:619)

09/12/01 12:15:11 Error starting ORMI server naim.nc. port 23,791: Address already in use
09/12/01 12:15:11 Shutting down OC4J...

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.