On Thu, 3 Oct 2002 09:51, Paul Hammant wrote: > How do I configure phoenix to allow this rather than barf? I had though > it was in environment.xml, and that... > > <grant code-base="file:*"> > <permission class="java.security.AllPermission" /> > </grant> > > .. was the snippet needed, but am wrong. Advice?
Your code base would have only picked up jars in the current directory. You want to end it with "/-" instead. <grant code-base="file:/-"> <permission class="java.security.AllPermission" /> </grant> However another option would be <grant> <permission class="java.security.AllPermission" /> </grant> that grants permission on all the classes loaded from .sar file. However you could just remove the policy element altogether and all the code will be given the all permission. -- Cheers, Peter Donald ------------------------------------------------------ Mark Twain: "In the real world, the right thing never happens in the right place at the right time. It is the task of journalists and historians to rectify this error." ------------------------------------------------------ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
