Importing an OWSM 11g Custom Policy File in EM Fails with WSM-02079 "Insufficient Permission To Access EJB" Error (Doc ID 1311343.1)

Last updated on JULY 28, 2017

Applies to:

Oracle Web Services Manager - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When trying to import a custom Oracle Web Services Manager (OWSM) policy file using Enterprise Manager (EM) in Oracle Fusion Middleware 11g following these steps in the docs, it fails with the following error :

[AdminServer] [NOTIFICATION:32] [] [oracle.sysman.emas.model.policymgr.PolicyManagerModelBean] [tid: [ACTIVE].ExecuteThread: '31' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wls_soa_admin] [ecid: a58a51c907d6a246:-38ae2db7:12ec9b0e2f1:-8000-000000000000078c,0] [APP: em] [[
oracle.wsm.policymanager.PolicyManagerException: WSM-02079 : Failed to connect to Policy Manager instance due to error "java.rmi.AccessException: [EJB:010160]Security Violation: User: 'myUser' has insufficient permission to access EJB: type=<ejb>, application=wsm-pm, module=wsm-pmserver-wls.jar, ejb=UpdateService, method=areTransactionsSupported, methodInterface=Remote, signature={}.".
at oracle.wsm.policymanager.client.UpdateServiceDelegate.areTransactionsSupported(UpdateServiceDelegate.java:342)
at oracle.sysman.emas.model.policymgr.ManagerModelBase.getWsmUpdateService(ManagerModelBase.java:165)
at oracle.sysman.emas.model.policymgr.ManagerModelBase.getUpdateService(ManagerModelBase.java:110)
at oracle.sysman.emas.model.policymgr.PolicyManagerModelBean.createPolicy(PolicyManagerModelBean.java:669)
at oracle.sysman.emas.view.policymgr.PolicyManagerViewBean.readPolicyFromFileActionListener(PolicyManagerViewBean.java:585)


Note : In this example, the user 'myUser' who is logging into the EM console, has been granted the correct permissions to do so.

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