Tuesday, February 06, 2007

How do I create a new user in Oracle SOA Suite and give it permission to domain xyz.

Based on the documentation avaliable here we need to perform the following steps, if we have a "standard" soa suite advanced install:

  1. Create the domain xyz
  2. Create a group/role "BPMxyzDomainAdmin"
  3. Create a user "myxyzuser" and grant the role "BPMxyzDomainAdmin" to the user
  4. Assign the domain admin permission to the "BPMxyzDomainAdmin" role by running
    cd ORACLE_HOME\j2ee\oc4j_soa
    java -Xbootclasspath/a:c:\oracle\soa\bpel\lib\orabpel-boot.jar -jar ..\home\jazn.jar -grantperm jazn.com -role BPMxyzDomainAdmin com.collaxa.security.DomainPermission xyz all
  5. Restart
  6. Done - now the user should be able to login to the xyz domain but not any other domain
    http://host:7777/BPELConsole/xyz/index.jsp

Important to note in step 4 is that we "cd" to the oc4j_soa OC4J container before we run the command, this way the jazn files in that domain is updated.

Edit 080225: Note that the users still need admin permission for deployment/undeployment to work from ant scripts and the like. Eg: you need to grant oc4j-administrators etc

Sphere: Related Content

No comments: