Mantis - Resin
Viewing Issue Advanced Details
1934 minor always 08-10-07 11:31 08-29-07 14:07
norlab  
ferg  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0001934: Security Manager does not start 3.1.2
Using the <security-manager/> tag does not start the security manager.

Using
<security-manager/>

<jvm-arg>-Djava.security.policy=file:/resin/resin.policy</jvm-arg>
<jvm-arg>-Djava.security.debug=true</jvm-arg>
<jvm-arg>-Xmx256m</jvm-arg>
<jvm-arg>-Xss1m</jvm-arg>
<jvm-arg>-J-d32</jvm-arg>
<jvm-arg>-Xdebug</jvm-arg>
<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>

I am able to start the security manager by modifying the start script to be:

exec $java -Djava.security.manager -Djava.security.debug=all -Djava.security.policy=file:/resin/resin.policy -jar $bin/../lib/resin.jar $*

In both cases the security manager does not follow policy rules.

Notes
(0002178)
norlab   
08-10-07 13:09   
I am using solaris 10.