Gdata works fine in the Java runtime but, but you need to disable<http://code.google.com/appengine/kb/java.html#googledata>its cookie handler.
On Mon, Nov 30, 2009 at 1:00 PM, Guillaume Laforge <[email protected]>wrote: > Hi all, > > I was wondering whether anyone had succeeded using the GData APIs on > their GAE applications? > I wanted to access the Picasa Web Albums, using the Java libraries of > GData. > But it seems it's not possible, as I'm getting some errors (locally, I > have not tried deployed in the cloud): > > ava.security.AccessControlException: access denied > (java.net.NetPermission getCookieHandler) > 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.net.CookieHandler.getDefault(CookieHandler.java:58) > at > com.google.gdata.client.http.GoogleGDataRequest$GoogleCookieHandler.<init>(GoogleGDataRequest.java:316) > at > com.google.gdata.client.http.GoogleGDataRequest$GoogleCookieHandler.<init>(GoogleGDataRequest.java:305) > at > com.google.gdata.client.http.GoogleGDataRequest.<clinit>(GoogleGDataRequest.java:408) > at > com.google.gdata.client.http.GoogleGDataRequest$Factory.createRequest(GoogleGDataRequest.java:73) > at > com.google.gdata.client.http.HttpGDataRequest$Factory.getRequest(HttpGDataRequest.java:162) > at com.google.gdata.client.Service.createRequest(Service.java:697) > at > com.google.gdata.client.GoogleService.createRequest(GoogleService.java:525) > at > com.google.gdata.client.Service.createFeedRequest(Service.java:1074) > at com.google.gdata.client.Service.getFeed(Service.java:915) > at > com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631) > at com.google.gdata.client.Service.getFeed(Service.java:935) > > > I guess the GData API is not GAE-compliant? > Am I correct? > > -- > Guillaume Laforge > Groovy Project Manager > Head of Groovy Development at SpringSource > http://www.springsource.com/g2one > > -- > > 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]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > > -- 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.
