My Oracle Support Banner

grantPermission() Command Fails To Execute with "No Protocol" Exception (Doc ID 1535101.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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


When trying to use grantPermission() WLST command to add credential access permission for an application to the OPSS credentials store, when granting permission, the below error message occurs.

wls:idm/serverConfig> grantPermission(codeBaseURL="/opt/application/oracle/user_projects/domains/idm/servers/soa_server1/tmp/_WL_user/SOACompositeWS",permClass="",permTarget="context=SYSTEM,mapName=oracle.oim.sysadminMap,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 "/opt/application/oracle/oracle_common/common/wlst/", line 695, in grantPermission
 File "/opt/application/oracle/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: /opt/application/oracle/user_projects/domains/idm/servers/soa_server1/tmp/_WL_user/SOACompositeWS



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.