geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <jboy...@apache.org>
Subject Re: Problems starting Geronimo under a security manager
Date Sun, 13 Feb 2005 15:35:03 GMT
sissonj@insession.com wrote:
> If I start Geronimo under the Java Security Manager with everything 
> enabled in the policy file I get a number of exceptions when starting 
> Geronimo.
> 
> For example, the policy file I used contained:
> 
> grant {
>   permission java.security.AllPermission;
> };
> 
> I started it used the following JVM parameters:
> 
> -Djava.security.manager 
> -Djava.security.policy==file:///D:/sample-java2.policy -Xdebug  -Xnoagent 
> -Djava.compiler=NONE 
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512m 
> -XX:MaxPermSize=128m 
> -Djava.rmi.server.RMIClassLoaderSpi=org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl
> " 
> 
> I would have thought that since I have started it with AllPermission, I 
> shouldn't be having any permission problems?  Have I done something 
> obviously wrong?  If not, I'll raise an issue.
> 

It should work so raise an issue.

Not sure if this is related but I have been fixing a couple of issues 
with MX4J's MBeanPermission impl recently - can you tell me are you 
using it or the one from JDK1.5?

--
Jeremy

Mime
View raw message