james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: PHOENIX_SECURE?
Date Fri, 07 Jun 2002 22:30:35 GMT
Paul,

I can give it a shot, but how is it that I'm the only one running into this?
Or am I just the only one to mention it?

	--- Noel

-----Original Message-----
From: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
Sent: Friday, June 07, 2002 2:04
To: James Developers List
Subject: Re: PHOENIX_SECURE?


Noel,

>"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)
>
>...
>"
>
>This error goes away when I export PHOENIX_SECURE=false.  What do we need
to
>do to run with PHOENIX_SECURE?
>
>
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>

- Paul


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message