title: java.security.AccessControlException:
body: <p>This may be old error but I am stuck here.</p>
  
  <p>I created Java applet to access an Oracle database. I am going to put this applet in Local Network. My applet works fine in Eclipse and Netbeans but when I run through 'appletviewer' it goes at connection string and showing an error:</p>
  
  <pre><code>Error e java.security.AccessControlException: access denied (
      "java.util.PropertyPermission" "oracle.net.wallet_location" "read")
  </code></pre>
  
  <p>I already signed applet using this Oracle technique for <a href="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html" rel="nofollow">Signed Applets</a>.</p>
  
  <p>I used the user of database who has full rights.  Also when I run using policy file, it shows the same error.</p>
  
  <p>How do I connect the applet to the database successfully?</p>
  
  <hr>
  
  <p>The HTML used to load the applet is:</p>
  
  <pre><code>&lt;applet
      code=tree.pacg.DrawApplet.class
      codebase=c:\tree\pacg
      archive=DrawApplet.jar,ojdbc14.jar
      height="800"
      width="1000"&gt; 
  &lt;/applet&gt;
  </code></pre>