java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF read)

Google Groups | ArnaudT | 7 years ago
  1. 0

    Problem with my app on gae: AccessControlException

    Google Groups | 7 years ago | ArnaudT
    java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF read)
  2. 0

    GAE module not working with scala and scalate with play 1.1

    Google Groups | 7 years ago | Bendanpa
    java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF read)
  3. 0

    Deploying with scala and gae modules

    Google Groups | 7 years ago | Nilanjan Raychaudhuri
    java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF read)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Google App Engine - Spring Security Issue (java.security.AccessControlException)

    Stack Overflow | 7 years ago | Taylor Leese
    java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
  6. 0

    JavaScript OPTIONS cross-site data sending with Firefox

    Stack Overflow | 6 years ago | user397147
    java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    25 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.io.FilePermission /WEB-INF read)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      SecurityManager.checkPermission
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:355)
      2. java.security.AccessController.checkPermission(AccessController.java:567)
      3. java.lang.SecurityManager.checkPermission(Unknown Source)
      3 frames
    3. com.google.apphosting
      CustomSecurityManager.checkPermission
      1. com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45)
      1 frame
    4. Java RT
      File.isFile
      1. java.lang.SecurityManager.checkRead(Unknown Source)
      2. java.io.File.isFile(File.java:843)
      2 frames
    5. Scala Compiler
      Directory$$anonfun$list$1.apply
      1. scala.tools.nsc.io.Path$.apply(Path.scala:54)
      2. scala.tools.nsc.io.Directory$$anonfun$list$1.apply(Directory.scala:44)
      3. scala.tools.nsc.io.Directory$$anonfun$list$1.apply(Directory.scala:44)
      3 frames
    6. Scala
      IterableLike$class.foreach
      1. scala.collection.Iterator$$anon$19.next(Iterator.scala:327)
      2. scala.collection.Iterator$$anon$22.hasNext(Iterator.scala:378)
      3. scala.collection.Iterator$$anon$19.hasNext(Iterator.scala:326)
      4. scala.collection.Iterator$class.foreach(Iterator.scala:582)
      5. scala.collection.Iterator$$anon$19.foreach(Iterator.scala:325)
      6. scala.collection.IterableLike$class.foreach(IterableLike.scala:83)
      6 frames
    7. Scala Compiler
      JavaClassPath$$anonfun$assembleEntries$1.apply
      1. scala.tools.nsc.io.AbstractFile.foreach(AbstractFile.scala:88)
      2. scala.tools.nsc.util.JavaClassPath$$anonfun$assembleEntries$1.apply(ClassPath.scala:352)
      3. scala.tools.nsc.util.JavaClassPath$$anonfun$assembleEntries$1.apply(ClassPath.scala:349)
      3 frames
    8. Scala
      List.foreach
      1. scala.collection.LinearSeqLike$class.foreach(LinearSeqLike.scala:97)
      2. scala.collection.immutable.List.foreach(List.scala:46)
      2 frames
    9. Scala Compiler
      Global$Run.<init>
      1. scala.tools.nsc.util.JavaClassPath.assembleEntries(ClassPath.scala:349)
      2. scala.tools.nsc.util.JavaClassPath.<init>(ClassPath.scala:332)
      3. scala.tools.nsc.Global.classPath(Global.scala:220)
      4. scala.tools.nsc.Global.rootLoader(Global.scala:246)
      5. scala.tools.nsc.symtab.Definitions$definitions$.RootClass(Definitions.scala:37)
      6. scala.tools.nsc.symtab.Definitions$definitions$.EmptyPackage(Definitions.scala:39)
      7. scala.tools.nsc.symtab.Definitions$definitions$.EmptyPackageClass(Definitions.scala:40)
      8. scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:765)
      9. scala.tools.nsc.Global$Run.<init>(Global.scala:620)
      9 frames
    10. play.scalasupport.core
      ScalaPlugin.compileAll
      1. play.scalasupport.core.ScalaPlugin$ScalaCompiler.compile(ScalaPlugin.scala:208)
      2. play.scalasupport.core.ScalaPlugin.compile(ScalaPlugin.scala:143)
      3. play.scalasupport.core.ScalaPlugin.compileAll(ScalaPlugin.scala:93)
      3 frames
    11. Play
      ApplicationClassloader.getAllClasses
      1. play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:365)
      1 frame
    12. Play
      ServletWrapper.contextInitialized
      1. play.Play.preCompile(Play.java:446)
      2. play.Play.init(Play.java:245)
      3. play.server.ServletWrapper.contextInitialized(ServletWrapper.java:54)
      3 frames
    13. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      5 frames
    14. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    15. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:191)
      2. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:168)
      3. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123)
      3 frames
    16. appengine-managed-runtime
      JavaRuntime.handleRequest
      1. com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:250)
      1 frame
    17. Google AppEngine
      RuntimePb$EvaluationRuntime$6.handleBlockingRequest
      1. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5838)
      2. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5836)
      2 frames
    18. com.google.net
      Server$2.run
      1. com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
      2. com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:398)
      3. com.google.net.rpc.impl.Server$2.run(Server.java:852)
      3 frames
    19. Google tracing
      LocalTraceSpanBuilder.internalContinueSpan
      1. com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
      2. com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:576)
      2 frames
    20. com.google.net
      RpcService.runUntilServerShutdown
      1. com.google.net.rpc.impl.Server.startRpc(Server.java:807)
      2. com.google.net.rpc.impl.Server.processRequest(Server.java:369)
      3. com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:442)
      4. com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
      5. com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
      6. com.google.net.async.Connection.handleReadEvent(Connection.java:474)
      7. com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:831)
      8. com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
      9. com.google.net.async.EventDispatcher.loop(EventDispatcher.java:103)
      10. com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
      10 frames
    21. appengine-managed-runtime
      JavaRuntime$RpcRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:413)
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame