tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Re: permission problem
Date Mon, 05 Jan 2004 15:50:38 GMT


Algirdas M. wrote:

>Hello,
>
> I've edited catalina.policy and added line:
>
> grant codeBase "file:${catalina.home}/webapps/vvv/WEB-INF/lib/-" {
>        permission java.security.AllPermission;
> };
>
> 
> restarted Tomcat. And when I'm running an application from
> vvv/WEB-INF/lib, I'm still becoming exception:
> 
> "Unable to connect to any hosts due to exception:
> java.security.AccessControlException: access denied
> (java.net.SocketPermission 111.101.68.165:3306 connect,resolve)"
>  
>
Which Tomcat version are you using?

Try adding the jar file name instead of granting the entire directory.

-- Jeanfrancois


> 
>
> Why it doesn't work?
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message