tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Baty <batym...@yahoo.com>
Subject Tomcat5.5 postgresql, security oh my
Date Mon, 03 Dec 2007 13:37:13 GMT
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 site 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/myapp/-" { 
   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 
 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message