You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andreas Andersson <an...@travelstart.se> on 2005/02/02 15:18:47 UTC
Using a database under tomcat for linux
Hi!
I'm having problems useing a database under my tomcat on my linux. If I
disable security it works fine but with security I get connection errors.
I've read the small documention on the policy file but doesn' succedd
when I try to do the same thing.
This is from my policy file
grant codeBase
"file:/<long-path>/WEB-INF/lib/mysql-connector-java-3.0.5-gamma-bin.jar" {
permission java.net.SocketPermission "localhost:3306", "connect";
};
Does anyone have an example of a working configuration?
Thanks.
--
Andreas Andersson
IT Dept.
Travelstart Nordic
andreas@travelstart.se
http://www.travelstart.se
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org