My Oracle Support Banner

Importing WSM Policy With Deployer User (Doc ID 2610462.1)

Last updated on FEBRUARY 06, 2024

Applies to:

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

Goal

The goal is to use the WLST command importWSMArchive with a WebLogic user that is not part of the Administrator group.

Currently, the following error occurs when trying to import with WSM archive after connecting to a domain with the desired user which does not belong to the Administrator group:

...
Importing "META-INF/policies/oracle/binding_authorization_permitall_policy_ContractManagement"
WSM-02084 : Access denied. Permission "oracle.wsm.security.PolicyManagerPermission" is required to access the wsm policy manager "DocumentManager" method ""writeDocuments"
WSM-15037 : Failed to write the provided documents into the repository.

Traceback (innermost last):
  File "", line 1, in ?
  File "<ORACLE HOME>/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar!/wlstScriptDir/wsmManage.py", line 2275, in in importWSMArchive
  File "<ORACLE HOME>/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar!/wlstScriptDir/wsmManage.py", line 2636, in wsm_import
  File "<ORACLE HOME>/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar/wlstScriptDir/lib/ora_util.py", line 34, in raiseScriptingException
OracleScriptingException: oracle.wsm.cli.CommandLineException: WSM-15037 : Failed to write the provided documents into the repository.
 

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.