java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by rdblaha1, 1 year ago
access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)
via Oracle Community by rdblaha1, 1 year ago
access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)
via Oracle Community by 843811, 1 year ago
access denied (java.io.FilePermission test\testfile.htm read)
via Oracle Community by 254353, 1 year ago
access denied (java.io.FilePermission C:\Oracle\9iASCore\j2ee\home\lib\oracle\jsp\runtimev2\JspReportUtil.class read)
via grokbase.com by Unknown author, 1 year ago
access denied (java.io.FilePermission C:\Tomcat\webapps\V2\WEB-INF\classes\mx4j\tools\naming\NamingService.class read)
via jsystemtest by mosheli
, 1 year ago
access denied (java.io.FilePermission /var/lib/tomcat6/conf/aqua_reports/db.properties read)
java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.exists(File.java:731)
at java.util.logging.Logger.log(Logger.java:481)
at com.sun.logging.LogDomains$1.log(LogDomains.java:354)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1486)
at com.company.servlets.HTMLFactory.genHelpURLPrefix(HTMLFactory.java:1958)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 4 months ago
Once, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.