This line: java.security. AccessControlException: access denied (java.io.FilePermission /base/data/home/apps/go2ppp/2.338276405331081395/WEB-INF/work write)
Seems to imply you may have a permissions error writing. Can you look into this? On Mon, Dec 7, 2009 at 1:31 AM, Li Kong <kon...@gmail.com> wrote: > Hi all, > > I got the following error from app server. > I only define a servlet in web.xml and do nothing in servlet. > Any one has idea about this issue? > Thanks. > > Web.xml > <servlet> > <servlet-name>postURL</servlet-name> > <servlet-class>org.liko.servlet.postURL</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>postURL</servlet-name> > <url-pattern>/postURL.do</url-pattern> > </servlet-mapping> > > Here is the log: > Failed startup of context > com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@b113c7 > {/,/base/data/home/apps/go2ppp/2.338276405331081395} > java.security.AccessControlException: access denied (java.io.FilePermission > /base/data/home/apps/go2ppp/2.338276405331081395/WEB-INF/work write) > at > java.security.AccessControlContext.checkPermission(AccessControlContext.java:355) > at > java.security.AccessController.checkPermission(AccessController.java:567) > at java.lang.SecurityManager.checkPermission(Unknown Source) > at > com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45) > at java.lang.SecurityManager.checkWrite(Unknown Source) > at java.io.File.canWrite(File.java:767) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1205) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) > at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) > at > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:191) > at > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:168) > at > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:127) > at > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:239) > at > com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5235) > at > com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5233) > at > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24) > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:363) > at com.google.net.rpc.impl.Server$2.run(Server.java:838) > at > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56) > at > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:536) > at com.google.net.rpc.impl.Server.startRpc(Server.java:793) > at com.google.net.rpc.impl.Server.processRequest(Server.java:368) > at > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:448) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290) > at com.google.net.async.Connection.handleReadEvent(Connection.java:466) > at > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:759) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:205) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101) > at > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251) > at > com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:396) > at java.lang.Thread.run(Unknown Source) > > -- > Burning Shining Life > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- Ikai Lan Developer Programs Engineer, Google App Engine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.