java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\ROOT\WEB-INF\classes\org\apache\log4j\spi\ThrowableInformation.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

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 Liferay Issues by Justin Choi, 1 year ago
access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\ROOT\WEB-INF\classes\org\apache\log4j\spi\ThrowableInformation.class" "read")
via GitHub by kmisaal
, 11 months ago
access denied ("java.io.FilePermission" "C:\java\tools\apache-tomcat-7.0.42-pacman\webapps\cmt\WEB-INF\classes\com\github\benmanes\caffeine\cache\RemovalCause$1.class" "read")
via GitHub by kmisaal
, 1 year ago
access denied ("java.io.FilePermission" "C:\java\tools\apache-tomcat-7.0.42-pacman\webapps\cmt\WEB-INF\classes\com\github\benmanes\caffeine\cache\LocalAsyncLoadingCache$LoadingCacheView.class" "read")
via GitHub by kdempster
, 1 year ago
access denied ("java.io.FilePermission" "C:\Java\tools\apache-tomcat-7.0.42-pacman\webapps\cmt\WEB-INF\classes\com\github\benmanes\caffei ne\cache\RemovalCause.class" "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 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)
java.security.AccessControlException: access denied ("java.io.FilePermission" "H:\portal-trunk\bundles\tomcat-7.0.34\webapps\ROOT\WEB-INF\classes\org\apache\log4j\spi\ThrowableInformation.class" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.exists(Unknown Source)
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:768)
at org.apache.naming.resources.FileDirContext.doLookup(FileDirContext.java:198)
at org.apache.naming.resources.BaseDirContext.lookup(BaseDirContext.java:483)
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2979)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2839)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.log4j.spi.LoggingEvent.(LoggingEvent.java:165)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:64)
at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:45)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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.