[appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Thomas Riley
I was working on my App Engine project last night and it seems I must have broken something (code of a night must be a bad idea!) I have no idea what I have done, can anyone seen this error before? HTTP ERROR 500 Problem accessing /rest/v1/sendcopy. Reason: access denied

Re: [appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Toby Reyelts
This code: com.trapp.gae.dash.androidSendCopyV1.doPost appears to be calling setFollowRedirects which is a JVM-wide property you don't have permission to set on App Engine. Instead use setInstanceFollowRedirects, which you can set per http connection. On Sun, May 23, 2010 at 8:47 AM, Thomas

Re: [appengine-java] access denied

2010-01-20 Thread Toby Reyelts
Thanks Andrés, I've filed an issuehttp://code.google.com/p/googleappengine/issues/detail?id=2658for this. There's a bug in the implementation of HttpServlet.doOptions which is preventing OPTIONS http requests from being fulfilled correctly. Most people don't need to serve OPTIONS requests, so

Re: [appengine-java] access denied

2010-01-20 Thread Andrés Cerezo
ok, I'll test it this night and I'll tell you. Thanks. 2010/1/20 Toby Reyelts to...@google.com: Thanks Andrés, I've filed an issue for this. There's a bug in the implementation of HttpServlet.doOptions which is preventing OPTIONS http requests from being fulfilled correctly. Most people

Re: [appengine-java] access denied

2010-01-20 Thread Andrés Cerezo
Sorry i think that's not my problem. I'm using a rpc call, here you have the stack: # /net.brucecooper.mindmapgadget.MindMapGadget/greet - Mostrar texto citado - java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) at

Re: [appengine-java] access denied

2010-01-19 Thread Don Schwarz
Please post the full stack trace. 2010/1/19 Andrés Cerezo acerezoguil...@gmail.com I'm deploying my application in appengine but I have a problem: 1. In host mode all is ok. 2. However when I deploy my application a I get this error: java.security.AccessControlException: access denied