Results 1 to 2 of 2
  1. #1
    cecily is offline Member
    Join Date
    Jul 2007
    Posts
    33
    Rep Power
    0

    Default java.security.AccessControlException

    Hi,
    I'm doing an applet that connects to Oracle data base.
    When I try to show the information this error appears:
    Java Code:
    Exception in thread "Thread-3"
    java.security.AccessControlException: access denied (java.util.PropertyPermission
    oracle.jserver.version read)
    Any ideas?

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default

    you have to sign the JAR
    There are many ways by which you can sign a JAR file for example use jarsigner. You can sign a JAR file using jarsigner like this:
    Java Code:
    jarsigner -keystore C:\working\mystore -signedjar sbundle.jar bundle.jar john
    On executing the command, you will be prompted for the store password and the private key password. Here, bundle.jar represents the jar file you'd like to sign using the private key of the user whose keystore alias is "john" in the keystore named "mystore" located in the directory c:\working.

Similar Threads

  1. Replies: 3
    Last Post: 01-14-2010, 07:45 PM
  2. Replies: 0
    Last Post: 03-31-2008, 04:35 PM
  3. one more try, applets security
    By willemjav in forum Java Applets
    Replies: 0
    Last Post: 03-09-2008, 01:19 PM
  4. Replies: 4
    Last Post: 08-10-2007, 10:09 PM
  5. Replies: 1
    Last Post: 07-23-2007, 11:59 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
  •