OPSS12c: Upgrade Assistant Fails With Webservice Manager / OPSS ERROR - oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-04207: Matching Grantee not found
(Doc ID 2741638.1)
Last updated on MAY 12, 2021
Applies to:
Oracle Platform Security for Java - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
Upgrade Assistant Fails With Webservice Manager / OPSS ERROR
Noticed OPSS error in upgrade assistant log [ua YYYY-MM-DD-HH-MM-SS.log]
Description
--------------
Error while running ua script.
Relevant Information Collection
---------------------------------------
2020-12-09T15:05:55.746+00:00] [WSM] [INCIDENT_ERROR] [] [upgrade.WSM.WSMPLUGIN] [tid: 123] [ecid: <ECID>] Cause: An unexpected error occurred during Oracle Web Services Manager configuration upgrade.
[2020-12-09T15:05:55.746+00:00] [WSM] [INCIDENT_ERROR] [] [upgrade.WSM.WSMPLUGIN] [tid: 123] [ecid: <ECID>] Action: Check the error messages in Oracle Web Services Manager component log files. Correct the problem before running the Upgrade Assistant again. Contact Oracle Support Services if you are unable to correct the problem.
[2020-12-09T15:05:55.746+00:00] [WSM] [INCIDENT_ERROR] [] [upgrade.WSM.WSMPLUGIN] [tid: 123] [ecid: <ECID>] [[
oracle.ias.update.exception.UpgradeException: Exception occurred while retrieving custom grants for old WSM Agent jar.
at oracle.wsm.lifecycle.upgrade.impl.UpgradePluginExecutor.upgradeCustomGrants(UpgradePluginExecutor.java:474)
at oracle.wsm.lifecycle.upgrade.impl.WSMUpgradePlugin.upgrade(WSMUpgradePlugin.java:501)
at oracle.ias.update.plugin.Plugin.upgrade(Plugin.java:730)
at oracle.ias.update.plan.PlanStep.upgrade(PlanStep.java:736)
at oracle.ias.update.PhaseProcessor$UpgradeProcessor.runStepPhase(PhaseProcessor.java:775)
at oracle.ias.update.PhaseProcessor.runStep(PhaseProcessor.java:382)
at oracle.ias.update.PhaseProcessor$ExtendedRunnable.run(PhaseProcessor.java:1178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-04207: Matching Grantee not found: [GranteeEntry: codeSource=file:${oracle.home}/modules/oracle.wsm.agent.common_11.1.1/wsm-agent-core.jar principals=[]].
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.store_revoke_common(GrantManagerImpl.java:2147)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.store_revoke(GrantManagerImpl.java:1974)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.internal_revoke(GrantManagerImpl.java:2839)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.revoke(GrantManagerImpl.java:4167)
at oracle.security.jps.internal.policystore.JpsPolicy.revoke(JpsPolicy.java:759)
at oracle.security.jps.internal.policystore.JpsAppAuditPolicy.revoke(JpsAppAuditPolicy.java:475)
at oracle.security.jps.internal.policystore.AbstractPolicyStore.revoke(AbstractPolicyStore.java:978)
at oracle.wsm.lifecycle.upgrade.impl.UpgradePluginExecutor.upgradeCustomGrants(UpgradePluginExecutor.java:456)
... 9 more
]]
Relevance to the Issue
---------------------------
Caused by: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-04207: Matching Grantee not found: [GranteeEntry: codeSource=file:${oracle.home}/modules/oracle.wsm.agent.common_11.1.1/wsm-agent-core.jar principals=[]].
Changes
Upgrading the environment
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 |
Changes |
Cause |
Solution |
References |