Hi,
I have an enterprise
application deployed on JBoss which has to invoke Remote
Method
using Java
RMI.
It is working fine
if I set the policy file and security manager on the command line, by
setting JAVA_OPTS in
run.bat of JBoss.
But I am getting
AccessControlException while trying to set policy file
programmatically
by accessing the
System property java.security.policy.
Does anyone had
similar problem and found the resolution?
I just want to
confirm,
Is it the only way
to set the policy and security manager on the command line
while running under
JBoss?
I am using JBoss
4.0.2 and JDK 1.5.0_06.
Thanks &
Regards,
Srinivas.