Go to DOS prompt and type:
>policytool

This will guide you thru the syntax

----- Original Message -----
From: "Pernica, Jan" <[EMAIL PROTECTED]>
To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 1:17 AM
Subject: Running secure tomcat


> If I run tomcat 4.0b5 in the secure more and I get following error when I
> want to grant my application some grants.
> I am using JDK 1.3.1.
>
>
> java.security.Policy: error adding Entry
> sun.security.provider.PolicyParser$Gran
> tEntry@639a3e java.net.MalformedURLException: unknown protocol: jndi
>
> I have added following into catalina.policy
>
> grant codeBase "jndi:/localhost/webapps/support/WEB-INF/classes/-" {
>         permission java.security.AllPermission;
> };
>
> Thank you
>
> for reply
>
> Jan
>
>
>
> __________________________________________________________________
> Tato komunikace je urcena vyhradne pro adresata a je duverna.
> This communication is intended solely for the addressee and is
confidential.
>
>
>

Reply via email to