when i use struts 2.1.8 and app engine sdk 1.2.6(1.2.5 also the
same)  ,   when web app start, it throw the exception

java.security.AccessControlException: access denied
(java.io.FilePermission jar:file:\F:\mysrc\Guestbook\build\web\WEB-INF
\lib\struts2-core-2.1.8.1.jar read)
        at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:323)
        at java.security.AccessController.checkPermission
(AccessController.java:546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
        at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:139)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
        at java.util.zip.ZipFile.(ZipFile.java:109)
        at java.util.jar.JarFile.(JarFile.java:133)
        at java.util.jar.JarFile.(JarFile.java:70)  ..........

the exception happend  in local server  .  but  when i update my app
to app engine server.  it runs well  .

struts 2.1.6 didn't appear this,   but version 2.1.8 fixed some things
that make struts-convention-plugin can work on app engine and also
have offical json plugin.  so i have to  use v 2.1.8.

    i have read the   'Will it play in App Engine ' ,it does not have
a solution.
 how can make struts 2.1.8 work well on local server?     thanks  in
advance!
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to