3 Replies Latest reply: Apr 4, 2013 10:57 AM by ishkee RSS

    Error while patching OIM with BP06

    ishkee
      Hi ,
      I am facing error while patching OIM 11.1.1.5.0 with BP 06.
      Please see the logs below:-

      patch:
      [input] skipping input as property weblogic_password has already been set.
      [echo] unzipping the archives.....

      explode-archived-apps:
      [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
      [delete] Deleting directory /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
      [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
      [mkdir] Created dir: /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
      [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/oim.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/oim.ear
      [unzip] Expanding: /apps/oracle/middleware/Oracle_IDM1/server/patching/Nexaweb.ear into /apps/oracle/middleware/Oracle_IDM1/server/apps/Nexaweb.ear
      [echo] archives unzipped successfully.....
      [echo]           seeding the out of the box jobs into db

      seed-ootb-jobs:

      seed-ootb-jobs:
      [echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
      [java] Mar 25, 2013 7:32:31 PM org.quartz.core.QuartzScheduler <init>
      [java] INFO: Quartz Scheduler v.1.6.0 created.
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport initialize
      [java] INFO: Using thread monitor-based data access locking (synchronization).
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
      [java] INFO: Removed 0 Volatile Trigger(s).
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreSupport cleanVolatileTriggerAndJobs
      [java] INFO: Removed 0 Volatile Job(s).
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.jdbcjobstore.JobStoreTX initialize
      [java] INFO: JobStoreTX initialized.
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
      [java] INFO: Quartz scheduler 'OIMQuartzScheduler' initialized from an externally provided properties instance.
      [java] Mar 25, 2013 7:32:31 PM org.quartz.impl.StdSchedulerFactory instantiate
      [java] INFO: Quartz scheduler version: 1.6.0
      [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
      [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutting down.
      [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler standby
      [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED paused.
      [java] Mar 25, 2013 7:32:36 PM org.quartz.core.QuartzScheduler shutdown
      [java] INFO: Scheduler OIMQuartzScheduler_$_NON_CLUSTERED shutdown complete.
      [echo] ----> SEEDING COMPLETE LOG FILE
      [echo] ----> LOG FILE : ${work.dir}
      [echo] jobs seded succefully.....
      [echo]           updating the oes out of the box policies in oim db

      update-oes-ootb-policies:

      update-oes-ootb-policies:
      [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
      [java] [EL Info]: 2013-03-25 19:32:45.952--ServerSession(139722802)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
      [java] [EL Info]: 2013-03-25 19:32:48.824--ServerSession(139722802)--file:/apps/oracle/middleware/Oracle_IDM1/modules/oracle.oes_11.1.1/jps-internal.jar-JpsDBDataManager login successful
      [echo] ----> SEEDING COMPLETE LOG FILE
      [echo] ----> LOG FILE : /apps/oracle/middleware/Oracle_IDM1/server/seed_data/Seed/OESPolicies
      [echo] oes policies updated successfully..
      [echo]           upgrading the oes-ootb policies accordin g to the patched xml

      upgrade-oes-ootb-policies:

      upgrade-oes-ootb-policies:
      [echo] ----> UPDATING OUT OF THE BOX OES POLICIES     
      [java] java.io.IOException: No such file or directory
      [java]      at java.io.UnixFileSystem.createFileExclusively(Native Method)
      [java]      at java.io.File.createNewFile(File.java:883)
      [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:68)
      [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)
      [java] Exception in thread "Main Thread" java.lang.NullPointerException
      [java]      at java.lang.Throwable.printStackTrace(Throwable.java:508)
      [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoadDataLogger.createLogFile(PolicyLoadDataLogger.java:73)
      [java]      at oracle.iam.authzpolicydefn.loader.PolicyLoader.main(PolicyLoader.java:196)

      BUILD FAILED
      /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:94: The following error occurred while executing this line:
      /apps/oracle/middleware/Oracle_IDM1/server/setup/deploy-files/setup.xml:215: The following error occurred while executing this line:
      /apps/oracle/middleware/Oracle_IDM1/server/seed_data/seed-rcu-data.xml:136: Java returned: 1

      Total time: 2 minutes 25 seconds

      I have seen similar error on forum but it has not been answered.
      I have set all variables correctly and the directory has all permissions as well.
      Please let me know what I am missing here.

      Thanks in advance.