Hello everybody.
I need to solve this problem... please help me!!!

I have a bean on the server side and needs to execute the following:

    System.setSecurityManager( new RMISecurityManager() );

but when it gets to the point to execute that, it throws the following
exception:

java.security.AccessControlException: access denied.

I am using the jsp web server that comes with jswdk-1.0.1 and when running
it I have added the following:

start java
com.sun.web.shell.Startup -Djava.security.policy=policy.all -Djava.rmi.serve
r.codebase=http://localhost:8080/

where policy.all file contains:

grant {
    permission java.security.AllPermission;
};

but still it doesn't work and I still get the exception:
java.security.AccessControlException: access denied.

What can I do? I need to solve it as soon as possible. PLEASE HELP ME.

Joseba.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to