Monday, March 11, 2019

oracle.iam.oimupgrade.exceptions.OIMUpgradeException: Error in running target :migrateJazn-unix

Error while running OIM Post Patching script : sh patch_oim_wls.sh

ERROR Logs:

[java] INFO: buffer : migrateSecurityStore.py -type policyStore -dst default -configFile /app/oracle/middleware/Oracle_IDM1/server/patching/policiestomigrate/jps-config-jse_patching.xml -src jazn-data-oim.xml
[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.migrateJAZN(OfflineUpgradeUtil.java:760)
[java]     at oracle.iam.patching.authz.AuthzPolicyMigration.migrateJaznFilesToPolicyStore(AuthzPolicyMigration.java:149)
[java]     at oracle.iam.patching.authz.AuthzPolicyMigration.main(AuthzPolicyMigration.java:99)
[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)

Solution:

1) Open file $WL_HOME/server/lib/weblogic.policy for edit

2) Search for the string For standard extensions directories and add after the comment and before the grant codeBase "file:/opt/oracle/Middleware/wlserver_10.3/common/lib/ext/*" { the following grant:

grant codeBase "file:/opt/oracle/Middleware/patch_wls1036/patch_jars/*" {

  permission java.security.AllPermission;
};

Once the change done , restart the weblogic servers and rerun sh patch_oim_wls.sh

-Arihant

46 comments:

  1. That Drupal Mobile Tools works fine (if not somewhat dubious to adapt), however I needed to explore different avenues regarding 3 or 4 distinctive mobile subjects before choosing utilizing the Drupal. download samsung flashing software

    ReplyDelete
  2. I think that thanks for the valuabe information and insights you have so provided here. blackmart apk for android _ APK For All

    ReplyDelete
  3. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! Security Survey

    ReplyDelete
  4. Usually, App development process comprises of many critical stages that require intense attention, greater care and precise knowledge. With each component screaming for best digital tactics and utilization of modern resources, the process needs specialist app developers who have extensive experience in this area.Best Mobile App development Companies in UK

    ReplyDelete
  5. Thanks for taking the time to discuss that, I feel strongly about this and so really like getting to know more on this kind of field. Do you mind updating your blog post with additional insight? It should be really useful for all of us. poker88

    ReplyDelete
  6. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, android apps

    ReplyDelete
  7. This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again. yabo

    ReplyDelete
  8. An online exploration can outfit all the pertinent subtleties relating to monitor administrations.security guard for construction site

    ReplyDelete
  9. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! spyfone.com

    ReplyDelete
  10. Man has consistently strived to find new things to improve life and more agreeable. cyber security course in hyderabad

    ReplyDelete
  11. There are a considerable number individuals who have never known about moral hacking and who just feel that hacking is a frightful thing and something to stay away from. best cloud security companies

    ReplyDelete
  12. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Affordable CRM

    ReplyDelete
  13. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. you can visit

    ReplyDelete
  14. A tracker telephone can work as a Sat-Nav, giving you simple admittance to bearings controlled by GPS innovation. This works both by walking and in vehicle. mobile tracker free

    ReplyDelete
  15. Is your running course generally liberated from traffic, sufficiently bright around evening time, evades going through any hazardous territories? We need to make your underlying attack into running as simple as could reasonably be expected so by dispensing with whatever number likely risks as would be prudent. Running repeats

    ReplyDelete
  16. Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. security company Singapore

    ReplyDelete
  17. Excellent and very exciting site. Love to watch. Keep Rocking. track phone number

    ReplyDelete
  18. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. iPhone 13 deals

    ReplyDelete
  19. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info. Fantastic nice. I appreciate this post. thanks for share it this time to get this opportunity MBBS Scholarship in China for more details.

    ReplyDelete

  20. I am impressed by the information that you have on this blog!
    "cyber security course in hyderabad

    ReplyDelete
  21. Regrettably, with certain SaaS vendors some of these companies are all about the customer up front when the application is initially being deployed only to essentially "forget" about the customer when it is time to provide some additional support. free Calendly review

    ReplyDelete
  22. Hello There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll certainly comeback. security company

    ReplyDelete
  23. Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again. cambodia security company

    ReplyDelete
  24. Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. best cambodian security company

    ReplyDelete
  25. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks https://penzu.com/p/7a1e7bc2

    ReplyDelete
  26. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. security service company in cambodia

    ReplyDelete
  27. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. best security services

    ReplyDelete
  28. For a game that relies upon solid feet, a quality pair of running shoes is the main stuff you will require. Concluding which shoes are ideal for you can appear to be overpowering, yet visit a running store where they have specific staff prepared to break down your running stride and suggest the best running shoes for your style.Rust Belt Runner

    ReplyDelete
  29. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! https://penzu.com/p/b8dbd730

    ReplyDelete
  30. I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. khmer security company info

    ReplyDelete
  31. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! security service in cambodia

    ReplyDelete
  32. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. https://security-services-are-also-necessary.mystrikingly.com/

    ReplyDelete
  33. Excellent blog! I found it while surfing around on Google. Content of this page is unique as well as well researched. Appreciate it. security company in phnom penh

    ReplyDelete
  34. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. private security company

    ReplyDelete
  35. This is such a great resource that you are providing and you give it away for free. logo design

    ReplyDelete
  36. i love reading this article so beautiful!!great job! surveillance system

    ReplyDelete
  37. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. school security guard

    ReplyDelete
  38. Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. https://www.evernote.com/shard/s460/sh/d363eab8-e0c2-c073-e45b-fad62629ffc5/a9f87a28bd9831d272f153c9ba80c568

    ReplyDelete
  39. If you are looking for more information about flat rate locksmith Las Vegas check that right away. https://johnbrito1234.blogspot.com/2022/05/best-khmer-security-company.html

    ReplyDelete
  40. Thanks so much for the blog post. Really thank you! Much obliged.
    card access system price

    ReplyDelete
  41. In this case you will begin it is important, it again produces a web site a strong significant internet site: Computer repair

    ReplyDelete
  42. This is one awesome blog article. Much thanks again. safe box secom

    ReplyDelete