[appengine-java] HttpRequest body encapsulation in an async URL fetch call

2011-10-26 Thread Nima Kaviani
Hi all, I wonder if it is possible to enclose a request body for an HTTPRequest when making HTTP calls using async url fetch? I need to enclose SOAP envelopes in my HTTP Get messages and I would like to do some processing while the SOAP response is returned. >From the API, it doesn't seem to

[appengine-java] Re: Group Welcome & Read Me

2011-10-26 Thread C De
Hey Jose, I have run through the entire documentation trying to find a fix but havent found a solution yet. Regards CD -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https:

[appengine-java] Re: Object does not persist [JDO, HR]

2011-10-26 Thread Paul
Well, it should be pretty much as simple for me. That's why I can't find a solution for that problem. org.datanucleus.ObjectManagerImpl close: Outstanding nontx update being committed to datastore just means it commits something. I have tried invoking setter later too [as it was mentioned here: h

[appengine-java] Is threadsafe setting ignored for java applications?

2011-10-26 Thread cryb
Hello. In order to test if setting is working as expected, I wrote a small application that increments a static counter variable, sleeps for a couple of seconds and returns the counter's value in a web page. After that I've issued 15 requests in parallel from my browser (using different tabs).

[appengine-java] Re: Group Welcome & Read Me

2011-10-26 Thread Jose Montes de Oca
Hi, Have you try our documentation? http://code.google.com/appengine/docs/java/overview.html If you have specific java questions, this is the right place to create a thread. Happy coding! Jose Montes de Oca -- You received this message because you are subscribed to the Google Groups "Googl

Re: [appengine-java] Unable to update app: Error posting to .... version=001& 400 Bad Request

2011-10-26 Thread Jay Hsia
It turnout the app id was wrong. they need to be lower cased. Cheers, Jay On Sat, Oct 22, 2011 at 12:53 PM, JayH wrote: > Hi All, > >It seems like quite a bit people saw this issue this but I could > not find an easy answer as the cause. N00b here. Sorry if there is > some trivial fix. >

[appengine-java] The title of my application by Cyrillic

2011-10-26 Thread vpaoli
In the GAE control panel (https://appengine.google.com/settings.do), I write the title of my application by Cyrillic. I get the error: There were errors: - Application Title *Application Title must be between 4 and 30 characters. Letters, d

[appengine-java] Problem deploying app after adding true in appengine-web.xml file.

2011-10-26 Thread Zde Sam
Hi, I am getting the following error after adding true in appengine-web.xml file during deployment. com.google.apphosting.utils.config.AppEngineConfigException: XML error validating E:\Projects\SpringSource\GoogleApps\WebsiteBuilder\war\WEB-INF\appengine-web.xml against E:\Services\Google\Ap

[appengine-java] Remote Java API : IOException Status 404

2011-10-26 Thread Srihari Murali
Hi I am trying to upload data to my app via Remote Java Api with the sample code from http://code.google.com/appengine/docs/java/tools/remoteapi.html. Getting the follow error: java.io.IOException: can't get appId from remote api; status code = 404 at com.google.appengine.tools.remoteapi.Remot

[appengine-java] Is the download_app feature really available for JAVA apps?

2011-10-26 Thread mystarrocks
Hi everyone, I'd want to know if it's really possible to use download_apps command to download the app as an admin. Cos, whenever I try to run that command, I get the following message: 0% Fetching file list... Error Details: appengine.google.com Unable to fetch file list. The command I'm r

[appengine-java] URLFetch Service - problem URL

2011-10-26 Thread Tom Taylor
We are getting timeout and also io exceptions when trying to urlfetch from a particular server. Here's an example url: http://gluepal.com/?q=rss.xml We always get the following exception convertApplicationException com.google.appengine.api.urlfetch.URLFetchServiceImpl 115 URLFetchServiceImpl.java

[appengine-java] Programmatic creation of an application/app-id... is it possible?

2011-10-26 Thread Tom Fennelly
Hi all. I searched the archives but was unable to find an answer to my question. Basically wondering if it's possible to programatically create an application instance. Obviously I can update an instance using the AppCfg class, but I can't see an API for creating an instance. Sorry if ther

[appengine-java] Unable to update app: Error posting to .... version=001& 400 Bad Request

2011-10-26 Thread JayH
Hi All, It seems like quite a bit people saw this issue this but I could not find an easy answer as the cause. N00b here. Sorry if there is some trivial fix. Thanks, Jay -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

[appengine-java] Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the qu

2011-10-26 Thread prince sethi
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/da12LPLKuVAJ. To post to this group, send email to google-appengine-java@googlegroup

[appengine-java] No bytes available in doPost

2011-10-26 Thread Rune Nielsen
Hi, I'm trying to upload an image to store in the Blobstore, but I'm having trouble streaming it to my servlet as a byte array. Here's the code for the client method streaming the byte array to the servlet - it's using the Commons IO: public void uploadAvatarImage(byte[] imageBytes) {

[appengine-java] Programatic creation of an app instance

2011-10-26 Thread Tom Fennelly
Hi all. I searched the archives but was unable to find an answer to my question. Basically wondering if it's possible to programatically create an application instance. Obviously I can update an instance using the AppCfg class, but I can't see an API for creating an instance (prior to upload

[appengine-java] Optimizations with Datastore + JDO

2011-10-26 Thread Sheado
Hi All, My app uses JDO with the DataStore. When writing an Entity with ~100 children a request could take somewhere between 3-10 seconds realtime and ~80331cpu_ms ~78231api_cpu_ms. Can these numbers be improved for writes of this size? Is there a good chance my requests will deadline? After

[appengine-java] Re: GAE app completely down for over an hour due to com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item

2011-10-26 Thread alvin.fezzl
Same issue here on Python/Django. Anyone from Google can respond? -Alvin On Oct 25, 4:07 pm, Jerome wrote: > We are under a major GAE outage that started at 11:50 Pacific Time on > Monday October 24th, and that is still ongoing (so far for 1 hour and > 15 minutes). MemCache put is causing an e

[appengine-java] How is interpret a timeout of 0 with URL Fetch ?

2011-10-26 Thread Mathieu Clavel
Hi everyone, I'm using the URL Fetch api to connect to webservice in my app. When configuring the connection, I'm doing this : HttpURLConnection conn = ... conn.setConnectTimeout(6); conn.setReadTimeout(0); A timeout of 0 is infinite with the standard HttpURLConnection of Java, but how is it

Re: [appengine-java] Re: Strange behavior with OpenID

2011-10-26 Thread Matthew Jaggard
Why would you expect to? Your application and Google are different things so there are 4 possible states... Logged in to Google but not your app, Logged in to Google and your app, Logged in to your app but not Google, Not logged in to either. On 26 October 2011 11:13, Miguel wrote: > Ok, that's

[appengine-java] Wrap the blobstore upload

2011-10-26 Thread Miguel
.. with a RESTful web-service. I was wondering if anyone has tried to do something similar .. In fact I am interested in creating a whole RESTful implementation with Google App Engine as backend and from the API I see this task could be a problem Thank you, Michele -- You received this message

[appengine-java] Re: Strange behavior with OpenID

2011-10-26 Thread Miguel
Ok, that's what I did .. The problem is that I don't see the user == null when I log out from the OpenID provide (Gmail for example) On Oct 19, 12:05 am, Sudhakar Abraham wrote: > Get the userService object  from the UserServiceFactory class in > google app engine api.   Invoke the getCurrentUser

[appengine-java] Re: migrating Axis 1.4 client app to GAE

2011-10-26 Thread Nima Kaviani
Hi Rao, I wonder if you managed to find a solution for your problem. I am trying to write a client for a web service whose end point service requires rmi and my client is failing. Any thoughts or suggestions? thanks, Nima -- You received this message because you are subscribed to the Google

[appengine-java] Re: GAE app completely down for over an hour due to com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item

2011-10-26 Thread Simon Knott
Can you post one of the exceptions which was thrown from your JSP pages? That seems a little strange to me! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg

[appengine-java] Re: GAE app completely down for over an hour due to com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item

2011-10-26 Thread Jerome
There are areas where we can definitely manage this exception (which is when we actually do a put), but we had this exception showing up on JSPs of our website, were there is no memcache involved in our code. This outage was taking down much more than it should have. No word yet from Google about