Getting Error java.security.AccessControlException: access denied (java.io.FilePermission ..) When Testing Application from JDeveloper (Doc ID 739242.1)

Last updated on AUGUST 06, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.4.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 10-Apr-2011***
***Checked for relevance on 24-December-2012***
Checked for relevancy on 13-Aug-2014

Symptoms

You might encounter the following error when testing your application in OC4J.

08/09/24 04:47:22 java.security.AccessControlException: access denied (java.io.FilePermission G:\program\oracle\JDev\10.1.3.4\jdevstudio10134\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\wsmgmt.xml read)
08/09/24 04:47:22 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
08/09/24 04:47:22 at java.security.AccessController.checkPermission(AccessController.java:427)
08/09/24 04:47:22 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
08/09/24 04:47:22 at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
08/09/24 04:47:22 at java.io.File.exists(File.java:700)
08/09/24 04:47:22 at oracle.j2ee.ws.common.mgmt.util.FileManagerImpl.hasFileChanged(FileManagerImpl.java:50)
08/09/24 04:47:22 at oracle.j2ee.ws.common.mgmt.util.FileManagerImpl$FileMonitor.run(FileManagerImpl.java:219)
08/09/24 04:47:22 at oracle.j2ee.ws.common.mgmt.util.WorkSchedulerImpl$1.run(WorkSchedulerImpl.java:42)
08/09/24 04:47:32 java.security.AccessControlException: access denied (java.io.FilePermission G:\program\oracle\JDev\10.1.3.4\jdevstudio10134\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\wsmgmt.xml read)
08/09/24 04:47:32 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
08/09/24 04:47:32 at java.security.AccessController.checkPermission(AccessController.java:427)
08/09/24 04:47:32 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
08/09/24 04:47:32 at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
08/09/24 04:47:32 at java.io.File.exists(File.java:700)
08/09/24 04:47:32 at oracle.j2ee.ws.common.mgmt.util.FileManagerImpl.hasFileChanged(FileManagerImpl.java:50)
08/09/24 04:47:32 at oracle.j2ee.ws.common.mgmt.util.FileManagerImpl$FileMonitor.run(FileManagerImpl.java:219)
08/09/24 04:47:32 at oracle.j2ee.ws.common.mgmt.util.WorkSchedulerImpl$1.run(WorkSchedulerImpl.java:42)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms