The 'opmnctl stopall' Command Gives "Error: Unable To Find Java:Comp/Serveradministrator" (Doc ID 353400.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 01-May-2013***

Symptoms

OPMNCTL STOPALL GIVES ERROR


Error: Unable to find java:comp/ServerAdministrator: 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;

at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:108)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)
javax.naming.NamingException: 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 [Root 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]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:105)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)

The problem also reproduces executing "dcmctl undeployapplication".

Changes

Customer configured DataSourceUserManager, this action led to hit the unpublished <BUG:4605748>.

 This issue is verified as: after applied the <patch 4605748> and then applied configurations adjustments required by the bug.

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