You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Jerry Crone <Je...@weblinkwireless.com> on 2002/06/25 22:38:04 UTC

Re: PHOENIX_SECURE?

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