[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] tomcat.policy.custom file
- Subject: [cobalt-developers] tomcat.policy.custom file
- From: Hostmaster of the day <hostmaster@xxxxxxxxxxxxx>
- Date: Tue Nov 13 07:49:05 2001
- Organization: Deltaphon Multimedia GmbH
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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**)