Search Results


Friday, January 29, 2016

oracle.fabric.permission.CompositePermission: access denied

Error while deploying application in Oracle 12c 12.1.3 soa suite


Got a new environment installed by the system administrator and I tried deploying the SOA suite projects. Unfortunately it failed with following error.


There was an error deploying the composite on soa_server1: java.security.AccessControlException: access denied ("oracle.fabric.permission.CompositePermission" "default" "provision"): access denied ("oracle.fabric.permission.CompositePermission" "default" "provision").


After hours of debugging we found that the error was because of wrong JDK (jdk1.8) used for SOA suite installation. The supported version for SOA suite 12.1.3 is jdk 1.7. 

Luckily we didn't have to reinstall the weblogic server with the new JDK 1.7. It pretty easy to change the JDK home in the domain config files. 


Steps to change JDK home in Weblogic domain

  • Login to unix/windows machine
  • Edit the setDomainEnv.sh under /bin directory 
  • Search all the JDK 1.8 references and replace it with JDK 1.7 path
Example:

SUN_JAVA_HOME="/u01/app/oracle/products/jdk1.7.0_79"
export SUN_JAVA_HOME

  • Now restart all the servers.

No comments :