java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\applications\NB7App\WEB-INF\classes\com\company\utils\Utils.class 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\applications\NB7App\WEB-INF\classes\com\company\utils\Utils.class read)
via Google Groups by EdUarDo, 3 months ago
access denied (java.io.FilePermission /home/eduardoyp/Aplicaciones/jakarta-tomcat-5.0.18/webapps/smulti/WEB-INF/classes/net/sf/cglib/MethodProxy$Generator.class read)
via mkyong.com by Unknown author, 1 year ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via mkyong.com by Unknown author, 1 year ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via Stack Overflow by Dan
, 2 years ago
access denied ("java.io.FilePermission" "C:\apache-tomcat-7.0.65\webapps\MY_APP\WEB-INF\classes\com\sun\xml\internal\ws\runtime\config\jaxb.properties" "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)
java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\glassfish\glassfish-3.1\glassfish\domains\domain1\applications\NB7App\WEB-INF\classes\com\company\utils\Utils.class 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 org.apache.naming.resources.FileDirContext.file(FileDirContext.java:895)
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:879)
at org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:290)
at org.glassfish.web.loader.WebappClassLoader.findResourceInternalFromRepositories(WebappClassLoader.java:2137)
at org.glassfish.web.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2091)
at org.glassfish.web.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2067)
at org.glassfish.web.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1977)
at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:901)
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, 23 hours ago
Samebug visitor profile picture
Unknown user
Once, 5 days ago
Once, 4 months ago
Once, 4 months ago
75 more bugmates

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