I am having the exact same problem. I am Using $.post jquery to send my POST request to the servlet residing on my app-engine application, and I get the exact same error.
Is there any solution\workaround for this issue ? On Dec 11, 5:57 pm, Allen Cheng <cap...@gmail.com> wrote: > I created two apps, one app provides a restful web service( such as > abc001.appspot.com), and I want to make use of that web service in > another app page (such as abc002,appspot.com) through ajax. Through > setting the [ document.domain = "appspot.com"; ] in javascript, the > browser could allow the ajax request from abc002 to abc001, but the > request finally failed, from the log of abc001, I got the following > message: > > java.security.AccessControlException:accessdenied > (java.lang.RuntimePermission accessDeclaredMembers) > 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.checkPermissio n > (CustomSecurityManager.java:45) > ... > > Does anybody know the reason why the request failed? Google app engine > does not allow such request? -- 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.