[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] tomcat.policy.custom file



I fixed the problem with

permission java.security.AllPermission;

How can I restrict these permission to site8
of the RaQ only.

Is there another way to enable remote db access 
without granting root permission ?

Thanks for any help. 

Dave (HotD**)

*********************************************************************
Hi,

I'm trying to enable JAVA remote mySQL access by adding the following
permission :

permission java.net.SocketPermission
"65.108.7.2:1024-","accept,listen,resolve";

I created a tomcat.policy.custom file and entered this text.

After restart Tomcat crashed.

I changed the permission to 

permission java.net.SocketPermission
"65.108.7.2:1024-","listen,connect";

and got the same result.

What can I do to get rid of that problem :

javax.servlet.ServletException: Cannot connect to MySQL server on
www.domain.com:3306. Is there a MySQL server running on the
machine/port you are trying to connect to?
(java.security.AccessControlException)

Thank you very much for a hint.

Dave (HotD**)