Results 1 to 2 of 2
- 01-28-2012, 05:01 AM #1
Member
- Join Date
- Jan 2012
- Posts
- 3
- Rep Power
- 0
Applet with jdbc and mysql security problem
When I run the java applet on the web hosting server, got this error:
access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve)
I did a lot of searches already, most of the solutions are:
adding a line in java.policy under /usr/lib/jvm/java-<version>/jre/lib/security/java.policy
or catalina.policy under tomcat:
permission java.net.SocketPermission "localhost:3306", "connect, resolve";
But the important thing is:
I have no permission on SSH access
So does anyone know how to solve it? (access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve))
Thanks
-
Re: Applet with jdbc and mysql security problem
Please don't spam the same question in more than one forum. Please read the forum FAQ as this is very well spelled out there.
Similar Threads
-
Applet with jdbc and mysql security problem
By 1224 in forum Java AppletsReplies: 3Last Post: 01-31-2012, 12:50 PM -
JDBC Problem - com.mysql.jdbc.Driver
By icu222much in forum Advanced JavaReplies: 5Last Post: 11-22-2011, 04:54 PM -
Applet connection to MySQL database using JDBC
By Ryco in forum Java AppletsReplies: 4Last Post: 02-25-2011, 04:33 AM -
MySQL/JDBC prepared statement problem
By thelinuxguy in forum Advanced JavaReplies: 3Last Post: 02-11-2009, 11:21 PM -
Mysql/JDBC update query problem
By thelinuxguy in forum Advanced JavaReplies: 3Last Post: 02-11-2009, 09:56 PM


LinkBack URL
About LinkBacks

Bookmarks