Weblogic AdminServer startup permission issues

Recently while working with webogic, I encountered couple of start issues pointing to all kind of permission issue, so if you are getting the same ..  the fix for them is as below

This can happen after a patch or major upgrade of weblogic or any fusion middleware component.


wlserver_10.3/server/lib/weblogic.policy

grant codeBase "file:/MW_HOME/patch_wls1036/patch_jars/*" {
permission java.security.AllPermission;
};

grant codeBase "file:/MW_HOME/patch_ocp371/patch_jars/*" {
permission java.security.AllPermission;
};

grant codeBase "file:/MW_HOME/wlserver_10.3/common/lib/*" {
  permission java.security.AllPermission;
};

grant codeBase "file:/MW_HOME/wlserver_10.3/server/lib/*" {
  permission java.security.AllPermission;
};


config/fmwconfig/system-jazn-data.xml [OIM, OAM etc ]

<grant>
  <grantee>
    <codesource>
      <url>file:${wls.home}/../../patch_wls1036/patch_jars/*</url>
    </codesource>
  </grantee>
  <permissions>
    <permission>
      <class>oracle.security.jps.service.credstore.CredentialAccessPermission</class>
     <name>context=SYSTEM,mapName=oim,keyName=*</name>
     <actions>read,write</actions>
    </permission>
   </permissions>
</grant>

Comments

Popular posts from this blog

OIM 11g R2 PS2 : SOA Approval Workflow Sample

OHS 12c (12.1.3) webgate deployment and configuration

Oracle Identity Manager (OIM) Interview Questions