I'm trying to make an RMI client call from a JSP under
Orion, and I'm having a lot of trouble with the
security manager. Any help would be appreciated.
If I try to do this while running Orion as is, I get
the classic "no security manager, RMI class loading
disabled" message. So, I tried adding a security
manager at the command line:
java
-Djava.security.manager=java.rmi.RMISecurityManager
-Djava.security.policy==my.policy -jar orion.jar
My policy file contains:
grant {
permission java.security.AllPermission;
};
So I should have wide-open permissions, but Orion no
longer works properly! Using 1.4.0, I now get silly
errors out of the jsp, like an AccessControlException
on java.util.PropertyPermission line.separator read -
this definitely *should* be allowed with AllPermission
enabled. The server also crashes without warning.
Using 1.3.8, I get no error messages, but the server
crashes, again without warning.
Can anyone give me any clues what I might be doing
wrong, or tell me how to correctly reconfigure
security for Orion?
Thanks,
Roger Vaughn
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/