tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Rueth <>
Subject codeBase not accepted
Date Tue, 06 Nov 2001 13:49:24 GMT
I'm using Tomcat4.0.1 with a security manager and having trouble with the
codeBase statement in the catalina.policy file. As long as I leave the codeBase
argument away, no problems. As soon as I add the codeBase argument (even
with absolute pathes to show that it's no relative path problem), I get a exception. Tomcat cannot access my application properties
file. Here's the snippet from my catalina.policy file:

grant codeBase "file:/jakarta-tomcat-4.0.1/webapps/myapp/-" { 
  permission "/jakarta-tomcat-4.0.1/webapps/myapp/-",

I get the following exception: access denied (
/jakarta-tomcat-4.0.1/webapps/myapp/ read)

Can anybody help?

GMX - Die Kommunikationsplattform im Internet.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message