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 11.1.1.3.0 to 11.1.1.6.0 [Release Oracle11g]Information in this document applies to any platform.
Symptoms
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="oracle.security.jps.service.credstore.CredentialAccessPermission",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/jpsWlstCmd.py", line 695, in grantPermission
File "<MW_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 669, in grantPermissionImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:876)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:874)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: no protocol: <MW_HOME>/user_projects/domains/<DOMAIN_NAME>/servers/<SERVER_NAME>/tmp/_WL_user/<USER>
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/jpsWlstCmd.py", line 695, in grantPermission
File "<MW_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 669, in grantPermissionImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:876)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:874)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: no protocol: <MW_HOME>/user_projects/domains/<DOMAIN_NAME>/servers/<SERVER_NAME>/tmp/_WL_user/<USER>
Cause
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
Symptoms |
Cause |
Solution |