Results 1 to 2 of 2
  1. #1
    1224 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default 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

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default 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

  1. Applet with jdbc and mysql security problem
    By 1224 in forum Java Applets
    Replies: 3
    Last Post: 01-31-2012, 12:50 PM
  2. JDBC Problem - com.mysql.jdbc.Driver
    By icu222much in forum Advanced Java
    Replies: 5
    Last Post: 11-22-2011, 04:54 PM
  3. Applet connection to MySQL database using JDBC
    By Ryco in forum Java Applets
    Replies: 4
    Last Post: 02-25-2011, 04:33 AM
  4. MySQL/JDBC prepared statement problem
    By thelinuxguy in forum Advanced Java
    Replies: 3
    Last Post: 02-11-2009, 11:21 PM
  5. Mysql/JDBC update query problem
    By thelinuxguy in forum Advanced Java
    Replies: 3
    Last Post: 02-11-2009, 09:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •