java.security.AccessControlException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4763

  • access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)
  • access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\logs\server.log read)
  • via Oracle Community by 807573, 1 year ago
    access denied (java.io.FilePermission C:\Sun\AppServer\domains\domain1\config\admch read)
  • Stack trace

    • 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 com.sun.enterprise.server.logging.GFFileHandler.publish(GFFileHandler.java:676) 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 com.sun.enterprise.web.logger.IASLogger.log(IASLogger.java:57) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 1 week ago
    Once, 2 weeks ago
    Unknown user
    Once, 1 month ago
    Once, 1 month ago
    73 more bugmates