Results 1 to 3 of 3
  1. #1
    hayley is offline Member
    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    0

    Default AccessControlException

    Hi,
    I use java sdk and netBeans IDE.
    When I tried to connect to the java Client database using connection url, I got following exception message:
    SQLException caught. Message: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001,
    SQLERRMC: java.security.AccessControlExceptionaccess denied (java.io.FilePermission C:\FILENAME read)XJ001.U

    the "FILENAME" is the derby database directory
    Your help is much appreciated
    Thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Don't double post. I've removed the other thread.

    db

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    Do you have access to that directory?
    Because that error says you don't.

Similar Threads

  1. AccessControlException
    By DarthCoffee in forum Networking
    Replies: 2
    Last Post: 03-15-2011, 11:37 PM
  2. java.security.AccessControlException in Applet
    By gopimano in forum New To Java
    Replies: 0
    Last Post: 12-07-2010, 11:57 AM
  3. How to solve java.security.AccessControlException
    By chyrl in forum Advanced Java
    Replies: 0
    Last Post: 09-24-2010, 09:49 PM
  4. accesscontrolexception in applets
    By nishant.4545 in forum Java Applets
    Replies: 0
    Last Post: 07-04-2009, 12:35 PM
  5. java.security.AccessControlException
    By cecily in forum Java Applets
    Replies: 1
    Last Post: 08-06-2007, 03:49 AM

Posting Permissions

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