Results 1 to 4 of 4
  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 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 (It displays "Forbidden")

    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
    25

    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.

  3. #3
    1224 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default Re: Applet with jdbc and mysql security problem

    Sorry, I am new at here and I just found that there is a more suitable forum related to my question.
    But I don't know how to delete the post...

  4. #4
    java-newer is offline Member
    Join Date
    Jan 2012
    Posts
    1
    Rep Power
    0

    Default Re: Applet with jdbc and mysql security problem

    I have the exactly same question!
    who can help? thanks

Similar Threads

  1. JDBC Problem - com.mysql.jdbc.Driver
    By icu222much in forum Advanced Java
    Replies: 5
    Last Post: 11-22-2011, 04:54 PM
  2. Applet connection to MySQL database using JDBC
    By Ryco in forum Java Applets
    Replies: 4
    Last Post: 02-25-2011, 04:33 AM
  3. Replies: 3
    Last Post: 02-02-2010, 01:33 PM
  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
  •