You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pernica, Jan" <pe...@dcb.cz> on 2001/06/15 07:17:09 UTC
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.
Re: Running secure tomcat
Posted by Luba Powell <lu...@bellatlantic.net>.
Go to DOS prompt and type:
>policytool
This will guide you thru the syntax
----- Original Message -----
From: "Pernica, Jan" <pe...@dcb.cz>
To: "Tomcat-User (E-mail)" <to...@jakarta.apache.org>
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.
>
>
>