I had the same problem when I started 2.1a1 :

>"Phoenix 4.0a4
>
>org.apache.avalon.framework.component.ComponentException: Cannot find
or
>init repository: access denied (java.io.FilePermission
>/opt/james-2.1a1-cvs/apps/james/var/mail/spool read)
>
>...
>"
As suggested on a posting on James-dev, when I set 'export
PHOENIX_SECURE=false' in the startup script, it started OK.

Paul suggested:
I think you might be able to play with permissions in environment.xml

    <policy>
      <grant code-base="file:${app.home}${/}blocks${/}*">
        <permission class="java.security.AllPermission" />
      </grant>

      <grant code-base="file:${app.home}${/}lib${/}*">
        <permission class="java.security.AllPermission" />
      </grant>
    </policy>

What changes are needed? Where/how is 'app.home' defined? I don't see a
'blocks' subdirectory.

Have a good day, Jerry Crone
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to