File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic


Sharon Bose

Joined: Jul 19, 2005
Posts: 4
when i am trying to call a jini application from my jsp page or any page that is run by servlet container it is giving the following exception access denied (java.lang.RuntimePermission accessDeclaredMembers)
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkMemberAccess(
when i am running the jini application by creating a test class with one main method it works fine
i m using tomcat 5 as webserver
for the jini application i have given security permission as
grant {
within a policy file
can any one help me with this
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

Posting the same questions to multiple forums is called cross-posting and is considered rude. It wastes the time of the people trying to help you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: AccessControlException
It's not a secret anymore!