The "opmnctl stop" For An Instance Returns Error "Not allowed to look up java:comp/ServerAdministrator" (Doc ID 467204.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 06-Mar-2013***

Symptoms

When stopping the oc4j instance you receive the following errors:

opmnctl stopproc process-type=<instance name>

returns:

12/11/2007 12:21:10 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check
the namespace-access tag setting in orion-application.xml for details
at com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:819)
at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:283)
at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)

Error: Unexpected error during lookup : Lookup error: javax.naming.NoPermissionException:
Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in
orion-application.xml for details;
nested exception is:
javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator,
check the namespace-access tag setting in orion-application.xml for details

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