Hi all,
I'm trying to get Tomcat5.5 working with Poestgresql.  I know I got
everything configured right because if I turn Tomcat security off, in /
etc/default/tomcat, everything works fine.  My application directory
is at /usr/share/tomcat5.5-webapps/ROOT/myapp.  I want security on so
this is my /etc/tomcat5.5/policy.d/02debian.policy file:

// These permissions apply to all JARs from Debian packages
grant codeBase "file:/usr/share/java/-" {
  permission java.security.AllPermission;
};

//Driver location
grant codeBase "file:/usr/share/tomcat5.5/common/lib/-" {
  permission java.security.AllPermission;
};


grant codeBase "file:/usr/share/tomcat5.5-webapps/ROOT/yougarage/-" {
  permission java.security.AllPermission;
};

grant codeBase "file:/usr/share/ant/lib/-" {
  permission java.security.AllPermission;
};

It doesn't work so could someone tell me where I'm going as stray?

Thanks.
Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to