Thank you for the reply, Jean-Fran�ois. It appears that the tomcat.policy file is actually generated in Tomcat 3.2.3/Cobalt (!). I have added the config information in tomcat.policy.master instead of tomcat.policy. After having restarted Tomcat, the appropriate tomcat.policy file has been generated what solves my problem.

Regards,

Bertrand

From: Jeanfrancois Arcand <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: AccessControlException/introspection
Date: Sun, 15 Dec 2002 21:21:19 -0500

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: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to