My 50user.policy currently shows...
grant codeBase "file:/var/lib/tomcat5.5/webapps/DBTest/-" {
//permission java.net.SocketPermission "localhost", "resolve";
//permission java.net.SocketPermission "127.0.0.1:3306", "connect";
permission java.security.AllPermission;
};
grant c
So what does your 50user.policy show now? What you posted below grants
all permissions to both your webapp and the mysql driver jar file.
--David
Stephen Pegg wrote:
David,
I can verify that the 50user.policy file is sufficient for making the
catalina.policy. In the Ubuntu install there are
David,
I can verify that the 50user.policy file is sufficient for making the
catalina.policy. In the Ubuntu install there are 5 seperate .policy files
that form the catalina.policy file. The catalina.policy file is uneditable
as any changes made are overwritten by the 5 seperate files.
One update
The problem is most definitely in the security manager configuration.
I'm not familiar with 50user.policy though -- this must be a Ubuntu
thing. Can you verify this is really the security policy config file
tomcat is using?
The policy settings I see toward the bottom looks good on the suface