My Oracle Support Banner

OPSS - The grantPermission() Script Fails To Execute with "No Protocol" Exception (Doc ID 1535101.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version to [Release Oracle11g]
Information in this document applies to any platform.


When trying to use grantPermission() script, the below error message occurs:

wls:<DOMAIN_NAME>/serverConfig> grantPermission(codeBaseURL="<MW_HOME>/user_projects/domains/<DOMAIN_NAME>/servers/<SERVER_NAME>/tmp/_WL_user/<USER>",permClass="",permTarget="context=SYSTEM,mapName=<MAPNAME>,keyName=<KEYNAME>",permActions="*")
Already in Domain Runtime Tree

COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
 File "", line 3, in ?
 File "<MW_HOME>/oracle_common/common/wlst/", line 695, in grantPermission
 File "<MW_HOME>/oracle_common/common/wlst/", line 669, in grantPermissionImpl
  at weblogic.rjvm.ResponseImpl.unmarshalReturn(
  at weblogic.rmi.internal.BasicRemoteRef.invoke(
  at Source)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke( no protocol: <MW_HOME>/user_projects/domains/<DOMAIN_NAME>/servers/<SERVER_NAME>/tmp/_WL_user/<USER>



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

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