Hi all:

    My web app run well without problem until the eclipse app engine
plugin automatically update this morning.

    When I uploaded a file to a struts action, the following exception
occurred.

java.security.AccessControlException: access denied
(java.io.FilePermission C:\DOCUME~1\mylee\LOCALS~1\Temp
\Jetty_127_0_0_1_8888_war____-g0qk00\upload_00000000.tmp delete)
        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 com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:151)
        at java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
        at java.io.File.deleteOnExit(File.java:901)
        at org.apache.commons.fileupload.DefaultFileItem.getTempFile
(DefaultFileItem.java:620)
        at org.apache.commons.fileupload.DefaultFileItem.getOutputStream
(DefaultFileItem.java:557)
        at org.apache.commons.fileupload.FileUploadBase.parseRequest
(FileUploadBase.java:406)
        at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest
(CommonsMultipartRequestHandler.java:193)
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:
443)
        at org.apache.struts.action.RequestProcessor.processPopulate
(RequestProcessor.java:805)
        at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:203)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1194)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
        at idv.mylee.web.SetCharacterEncodingFilter.doFilter
(SetCharacterEncodingFilter.java:73)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
        at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter
(ServeBlobFilter.java:51)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
        at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
        at com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:121)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
        at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
        at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
        at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:70)
        at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
        at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:352)
        at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:844)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)


Environment:
XP Pro Version 2002 SP3, 1GB RAM
Eclipse 3.4 + Google App Engine plugin (automatically updated?)
Struts 1.2.7 + Spring 2.0.8

  Does anybody know how to fix this problem?

Thomas

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to