3 Replies Latest reply on Feb 22, 2005 3:08 AM by simon.g

    Different protection domains for server and application depl

    simon.g

      Hi all

      I would like to run JBoss 4.0 with a policy file which grants different Permissions to different Codebases. I would in particular like to grant different Permissions to server deployment modules (e.g. tomcat.sar) deployed in server/default/deploy, and application deployment modules, which we deploy into a different, additional deployment directory.

      Since all deployed archives are copied in the server tmp directory, I cannot work with different codebases. I guess I probably could use a second MainDeployer which works with SubDeployers, which know not to user the default server temp directory. But then again I have been told not to use more then one MainDeployer ...

      Does anybody have a better idea?

      Any help would be appreciated.
      Simon