You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bertrand Fontaine <fo...@hotmail.com> on 2002/12/15 14:57:57 UTC

AccessControlException/introspection

Hello,

I am getting the following stack trace:

java.security.AccessControlException: access denied 
(java.lang.RuntimePermission accessDeclaredMembers)
...

I have added the following to tomcat.policy in the hope to sort out the 
problem due to the use of introspection by one of the libraries used by a 
servlet I wrote:

grant {
    permission java.lang.RuntimePermission "accessDeclaredMembers";
};

Even after restarting Tomcat, I still have the stack trace. I am running 
Tomcat 3.2.3 with a JRE 1.3.1 on a SUN Cobalt Raq4 server.

Any idea? Thank you,

Bertrand






_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: AccessControlException/introspection

Posted by Jeanfrancois Arcand <jf...@apache.org>.
Hi,

even if I'm not an expert with Tomcat 3.2.3, can you post the entire 
stack trace (so I will be able to locate the problem inside the Tomcat 
code).

-- Jeanfrancois

Bertrand Fontaine wrote:

> Hello,
>
> I am getting the following stack trace:
>
> java.security.AccessControlException: access denied 
> (java.lang.RuntimePermission accessDeclaredMembers)
> ...
>
> I have added the following to tomcat.policy in the hope to sort out 
> the problem due to the use of introspection by one of the libraries 
> used by a servlet I wrote:
>
> grant {
>    permission java.lang.RuntimePermission "accessDeclaredMembers";
> };
>
> Even after restarting Tomcat, I still have the stack trace. I am 
> running Tomcat 3.2.3 with a JRE 1.3.1 on a SUN Cobalt Raq4 server.
>
> Any idea? Thank you,
>
> Bertrand
>
>
>
>
>
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>