java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF/classes/logging.properties 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 openbravo by dalexiscapo
, 1 year ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via cmdbuild.org by Unknown author, 2 years ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via cmdbuild.org by Unknown author, 2 years ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via Google Groups by Alaattin Kahramanlar, 4 months ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via solutionscore.com by Unknown author, 2 years ago
access denied ("java.io.FilePermission" "C:\Program Files\Tomcat 6\webapps\my-application\WEB-INF\classes\org\springframework\orm\jpa\EntityManagerFactoryUtils.class" "read")
via Stack Overflow by Tunguska
, 1 year ago
access denied ("java.io.FilePermission" "C:\Program Files\Tomcat 6\webapps\my-application\WEB-INF\classes\org\apache\jasper\servlet\JspServlet.class" "read")
java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.exists(File.java:700)
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:828)
at org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:211)
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1925)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:298)
at org.apache.juli.ClassLoaderLogManager$2.run(ClassLoaderLogManager.java:273)
at org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo(ClassLoaderLogManager.java:270)
at org.apache.juli.ClassLoaderLogManager.getLogger(ClassLoaderLogManager.java:175)
at com.sun.jmx.trace.TraceManager.getLogger(TraceManager.java:166)
at com.sun.jmx.trace.TraceManager.isSelected(TraceManager.java:197)
at com.sun.jmx.trace.Trace.isSelected(Trace.java:84)
at com.sun.jmx.mbeanserver.RepositorySupport.isTraceOn(RepositorySupport.java:87)
at com.sun.jmx.mbeanserver.RepositorySupport.contains(RepositorySupport.java:472)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:556)
at org.apache.catalina.core.StandardContext.resourcesStop(StandardContext.java:3906)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4386)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:122)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 3 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.