patch_oim_wls.sh fails if weblogic PSU 25869650 has been installed

(Doc ID 2290994.1)

Last updated on AUGUST 23, 2017

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Install weblogic PSU 25869650 and then try to install the last OIM Bundle Patch.

The patching stage (patch_oim_wls.sh) will fail with the following error: 

 

[java] Jul 26, 2017 5:30:21 PM oracle.iam.oimupgrade.standalone.utils.WriteLog writeMessage
[java] INFO: commandLine is :: -type policyStore -dst PolicyBackup2017-07-26173019.292jazn.xml -configFile /opt/oracle/Middleware/Oracle_IAM1/server/patching/policiestomigrate/jps-config-jse_patching.xml -src default -migrateIdStoreMapping true
[java] Jul 26, 2017 5:30:21 PM oracle.iam.oimupgrade.standalone.utils.WriteLog writeMessage
[java] INFO: buffer : migrateSecurityStore.py -type policyStore -dst PolicyBackup2017-07-26173019.292jazn.xml -configFile /opt/oracle/Middleware/Oracle_IAM1/server/patching/policiestomigrate/jps-config-jse_patching.xml -src default -migrateIdStoreMapping true
[java] oracle.iam.oimupgrade.exceptions.OIMUpgradeException: Error in running target :migrateJazn-unix
[java] at oracle.iam.oimupgrade.standalone.utils.AntUtil.runTargetWithNoProcessing(AntUtil.java:150)
[java] at oracle.iam.oimupgrade.standalone.utils.OfflineUpgradeUtil.migrateSecurityStore(OfflineUpgradeUtil.java:813)
[java] at oracle.iam.oimupgrade.standalone.utils.OfflineUpgradeUtil.backupPolicies(OfflineUpgradeUtil.java:687)
[java] at oracle.iam.patching.authz.AuthzPolicyMigration.takePoliciesBackup(AuthzPolicyMigration.java:145)
[java] at oracle.iam.patching.authz.AuthzPolicyMigration.main(AuthzPolicyMigration.java:87)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[java] Caused by: /opt/oracle/Middleware/Oracle_IAM1/server/setup/deploy-files/automation.xml:441: exec returned: 1
[java] at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
[java] at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
[java] at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[java] at oracle.iam.oimupgrade.standalone.utils.AntUtil.runTargetWithNoProcessing(AntUtil.java:146)
[java] ... 43 more

BUILD FAILED
/opt/oracle/Middleware/Oracle_IAM1/server/setup/deploy-files/automation.xml:294: The following error occurred while executing this line:
/opt/oracle/Middleware/Oracle_IAM1/server/setup/deploy-files/automation.xml:106: java.lang.Exception: Error while taking backup of policies. Please follow the steps
1) Manually take backup of policies.
2) In PatchConfig.properties, add property policybackup.required=false and run the utility again.

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms