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

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.logp(Logger.java:619)
at com.sun.enterprise.web.logger.IASLogger.write(IASLogger.java:127)
at com.sun.enterprise.web.logger.LoggerBase.log(LoggerBase.java:190)
at org.apache.catalina.core.StandardContext.log(StandardContext.java:6828)
at org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:449)
at org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFacade.java:359)

Users with the same issue

2 times, 2 months ago
Once, 6 months ago
Once, 6 months ago
Once, 7 months ago
12 times, 1 year ago

Write tip

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