RE: Tomcat policy file, advice and clarification please

2007-02-07 Thread Larry Isaacs
It is likely that some other class in your webapp is on the stack when the permission check occurs and it causing the check to fail. You could try .../WEB-INF/- to expand the grant to the entire webapp and see what happens. To diagnose this kind of exception, you can add the following system

RE: Tomcat policy file, advice and clarification please

2007-02-07 Thread Hugues Ferland
Hi Larry, Thank you very much! That was it. I'm not sure I understand well what the context of a checkPermission is made of... hum... Is it that it uses the context from the web apps to checkPermission...? But then why is checkPermission for my jar in common/endorsed succeed for

RE: Tomcat policy file, advice and clarification please

2007-02-07 Thread Larry Isaacs
, Larry -Original Message- From: Hugues Ferland [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 3:30 PM To: Tomcat Users List Subject: RE: Tomcat policy file, advice and clarification please Hi Larry, Thank you very much! That was it. I'm not sure I understand well