Re: [appengine-java] BlobStore Image Service
I do this in my app. I've written a blog entry with examples here: http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html On Thu, Oct 28, 2010 at 10:05 PM, Mike weinbe...@gmail.com wrote: I know about the new super-fast image serving API for images stored in the blobstore - it's awesome and greatly simplifies image resizing.. However I still want to resize the original image to a smaller size before handling it with the image serving API.. So if a user uploads a 5MB Image I want to resize it say to 1000x1000 and then serve using the Image Service. My question is how to resize an image from blobstore and put it back to blobstore after the resize? The resize API returns the modified image as a byte array, but can somebody provide an example of how to put that byte array back into the blobstore? I know we are supposed to POST it to blobstore, but i couldn't get this thing to work - while handling the POST for original upload, I transform the Image and supposed to Invoke yet another POST? An working example would be great! Thanks! -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 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.
[appengine-java] Extend UrlFetch timeout on development server?
I'm trying to use the UrlFetch API to test my Paypal integration on the development server. When I send a badly formatted request I quickly get an error reponse from Paypal's sandbox server. However, as soon as I issue a valid request, it takes too long to process and I get a timeout error. I have tried both with the java.net API and the low-level URLfetch API, in both cases extending the deadline to 10s via URLConnection.setConnectTimeout(1) and/or request.getFetchOptions().setDeadline(10d); It seems this is not enough, however, as I keep getting: [WARN] /testpaypal.do: java.io.IOException: Timeout while fetching: https://api-3t.sandbox.paypal.com/nvp 1) It looks like the timeout occurs well before 10s have elapsed 2) I hear the Paypal sandbox server is slower than the production server 3) I bet my personal internet connection is slower than AppEngine's 4) I just want to test, I don't care about AppEngine's timeout for now For all these reasons, I'd love to be able to extend the URLFetch timeout on the development server to more than 10s -- in fact, just extending it to a real 10s would already be great. Any idea on how to do that? Or how to test that efficiently? Anybody has had success integrating with PayPal on App Engine? -- 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.
Re: [appengine-java] Re: 1.3.8 Console Logging Issue
I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.com wrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 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.
Re: [appengine-java] Mapper Blobstore bytes read limit
Not a lot of interesting stuff to say : 1. My code is quite as simple as your sample code: the only real difference is that I create 2 parent/child entities in a row for one given csv line entry. 2. My csv file contains 4.3 million lines. 2. I launched the mapper job with 10 shards. 3. worker-attempt-XXX tasks had 20 retries each in average. 4. The blobstore bytes read quota (100 Go) got reached within the first 3 hours. 5. Est. 10% of the entities where actually created after 24h (with my previous non-blob-based mapper job, those 4.3 million entities where created within 1 day) 6. Log does not reveal anything interesting. I am currently running a new test with a 500,000 lines csv file (20 Mb file). Performance looks better. To me, blob file size may have an influence on the mapper performance. If you need more details, let me know. From: Ikai Lan (Google) ikai.l+gro...@google.com Reply-To: google-appengine-java@googlegroups.com Date: Wed, 3 Nov 2010 12:22:10 -0700 To: google-appengine-java@googlegroups.com Subject: Re: [appengine-java] Mapper Blobstore bytes read limit This behavior doesn't seem right. No, the entire blob should not be getting read. We'll look into this. Do you have any more details? Could tasks be getting retried? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com http://googleappengine.blogspot.com/ Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Nov 2, 2010 at 9:42 AM, Cyrille Vincey crll...@gmail.com wrote: I've been testing Ikai's bulkload mapper (see url below) with a pretty big csv file (200 Mb). It works great, and I encourage most of you to consider implementing this for entity uploads. Yet, I do face one last issue with an unexpected quota : blobstore bytes read. This quota cannot be tuned via the billing settings, and it's not clear whether it limits the speed of my process or not when it's reached. See ? Yep, it's a lot of bytes readŠ Could someone confirm that the blob csv file is *NOT* fully fetched each time the mapper iterates on a new line ? (ikai's post) http://ikaisays.com/2010/08/11/using-the-app-engine-mapper-for-bulk-data-impor t/ -- 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 mailto:google-appengine-java%2bunsubscr...@googlegroups.com . 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 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. -- 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. inline: Capture d¹écran 2010-11-02 à 17.17.25.png
Re: [appengine-java] Re: Trouble unit testing JPA data access objects.
how did u get your unit tests to run in tx? i cant seem to get an active transaction. i followed all the links in this thread and more. any help appreciated -lp -- 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.
[appengine-java] Re: Trouble unit testing JPA data access objects.
Hi Ip, do you correctly initiate your local env for the datastore: see http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_Tests You should then get an active transaction when needed. Let me know if needed: can provide you with my own code when needed regards didier On Nov 4, 12:10 pm, lp lucio.picc...@gmail.com wrote: how did u get your unit tests to run in tx? i cant seem to get an active transaction. i followed all the links in this thread and more. any help appreciated -lp -- 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.
Re: [appengine-java] Re: 1.3.8 Console Logging Issue
We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.com wrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 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.
Re: [appengine-java] Re: 1.3.8 Console Logging Issue
Thanks, I'll wait for 1.4.0. On Thu, Nov 4, 2010 at 16:33, Rajeev Dayal rda...@google.com wrote: We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.comwrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- *Stefano Ciccarelli* stef...@indacosoftware.it *Indaco srl* via Sabin, 22 - 40017 San Giovanni in Persiceto (BO) - Italy tel. +39.051.827762 - fax +39.051.6874570 i...@indacosoftware.it www.indacosoftware.it *- This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person. - Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.* -- 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
Re: [appengine-java] Re: 1.3.8 Console Logging Issue
Logged issue http://code.google.com/p/googleappengine/issues/detail?id=4011 On Thu, Nov 4, 2010 at 11:33 AM, Rajeev Dayal rda...@google.com wrote: We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.comwrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 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.
[appengine-java] AppEngine 1.3.8 local task queues no longer work
Since upgrading to AppEngine 1.3.8 locally, in hosted mode local task queues no longer work throwing the following exception: [ERROR] Job default.task1 threw an unhandled Exception: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://0.0.0.0:/taskrunner: Connection timed out: connect at com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java: 239) at com.google.appengine.api.labs.taskqueue.dev.LocalTaskQueue $UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java: 471) at com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java: 77) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool $WorkerThread.run(SimpleThreadPool.java:520) [ERROR] Job (default.task1 threw an exception. I've tried setting various runtime parameters to define the server address to be http://127.0.0.1: but without any luck - it always seems to use http://0.0.0.0: Does anyone know how to resolve this? Thanks -- 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.
[appengine-java] Re: 500 Errors on blobstore upload, perhaps related to oauth?
Problem solved, for anyone going through something similar, see my stackoverflow post: http://stackoverflow.com/questions/4096990/getting-500-on-blobstore-upload-in-production-dev-server-works-fine/4098470#4098470 On Nov 3, 10:51 pm, tempy fay...@gmail.com wrote: After investigating further, things get more confusing. I guess the oauth stuff in the upload URL is as it should be, since disabling oauth in my app did not change the presence of the oauth stuff in the upload URL. After watching the exchange between my client and GAE app with fiddler, I realized that the 500 that was being returned was coming from my GAE code and not the blobservice, and it contained an exception that my GAE app produces when the blobstore calls the on- success URL that is supplied to the blobstoreService.createUploadUrl(). The exception is caused by the blobstoreService.getUploadedBlobs() call returning an empty map. What's confusing me is that evidently the blobstore is failing for some reason, and yet it is still calling the on-success URL within my app. Is this the expected behavior when a blobstore upload fails? It would be great to get some sort of meaningful error from the blobstore, instead of just having the failure passed on to my app in the form of an empty map. On Nov 2, 9:59 pm, tempy fay...@gmail.com wrote: Hello, I have yet to get the blobstore functioning correctly in my app. My code works in development, but not in production. I use the built-in oauth support and have an installed app connecting to the GAE app. The installed app requests an upload URL from an endpoint that is secured by oauth, and I was surprised to see that BlobStoreService.CreateUploadURL() produces a URL that has all the oauth stuff in it. Here is the URL it produced: http://MYAPPo.appspot.com/_ah/upload/?oauth_token=1%2FTRaFrr7-6m5... When my installed app then tried to POST to this URL, it gets a 500. The Blobstore then proceeds to call my GAE app with the URL I supplied to CreateUploadURL(), and passes along all the parameters that the client app sent to the Blobstore, but (as expected) without a Blobstore key. I don't see any blobs in the blob viewer. I wonder if the oauth code is somehow at fault here, but other than that I don't really know where to start diagnosing this. Thanks, Mike -- 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.
[appengine-java] Re: [google-appengine] Re: Setting a lower request timeout
That's awesome, do we have this functionality in Java? On Thu, Nov 4, 2010 at 3:42 AM, Rafael Sierra rafaeljs...@gmail.com wrote: I think this is enough for me: http://code.google.com/appengine/docs/python/datastore/functions.html#create_rpc On Wed, Nov 3, 2010 at 11:02 PM, Rafael Sierra rafaeljs...@gmail.com wrote: Is it possible to set my DeadlineExceededError lower than 30 seconds? I wish to run some process and ensure that it will run below 5 seconds. A decorator like @run_within(seconds=5) would be awesome too, but this I know that does not exists (yet?) Anoter question (related): When a DeadlineExceededError occurs, appengine rollback all transactions made? -- Rafael Sierra http://blog.rafaelsdm.com -- Rafael Sierra http://blog.rafaelsdm.com -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?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 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.
[appengine-java] [Not Resolved] Remote database access.
Hello! Using GAE, is it possible to my application access a remote SqlServer database? Searching, I only discover that GAE can access a host or a file with Secure Data Connector (SDC). This tutorial (http://code.google.com/intl/pt-BR/securedataconnector/docs/1.3/tutorials/appengine.html) shows it, I understand that it wouldn't solve my need, am I right? I'm using the GWT plugin for Eclipse, my application is Java based and uses GWT (2.1.0) and GAE (1.3.8). Thanks! Caram.: -- 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.
[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.
Someone correct me if any of this is inaccurate, but: - This occurs exactly 10s into a request. - They are not catchable; your code doesn't even start to spin up; there's nothing you can do about it. - Status page - http://code.google.com/status/appengine - usually shows all is fine when this occurs. - These are a fact of life w/ GAE right now. This has been my experience, at least. Just got one on my own app which prompted me to look around and see if there was any news on the issue. James On Oct 28, 6:11 pm, Shaun Clark shaun.cl...@lexmatter.com wrote: I'm sure I'm doing something wrong, but I feel like I am getting a lot of these: 10-28 02:36PM 34.293 /googlesyncactions.do?action=syncemailforeveryone 500 10005ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/ appengine) W 10-28 02:36PM 44.299Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.118 /googlesyncactions.do 500 10302ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.420Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.089 /googlesyncactions.do 500 10008ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.098Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.066 /googlesyncactions.do 500 10020ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.086Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.035 /googlesyncactions.do 500 10050ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.085Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 19.565 /dashboard 500 10280ms 0cpu_ms 0kb AppEngine- Google; (+http://code.google.com/appengine) W 10-28 02:34PM 29.846Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:16PM 17.637 /settingsActions.do? action=updateSettingssettingsjson=%7B%22key %22:%22aglsZXhtYXR0ZXJyGgsSEk1haW5DbGllbnRTZXR0aW5ncxja6xgM%22,%22name %22:%22LexMatter%22,%22url%22:%22lexmatter%22,%22paypalusername %22:%22shaunc869%22,%22paypalpassword %22:%22shaunc869%22,%22defaultbillingrate %22:%220.0%22,%22targetbillingsperyear%22:%22871,000%22,%22firmyearend %22:%2212/23/2010%22,%22paypaldepositaccount %22:%22aglsZXhtYXR0ZXJyEwsSC0JhbmtBY2NvdW50GKn1Ggw %22,%22adwordsaccountnumber%22:%22null %22%7Dsettingskey=aglsZXhtYXR0ZXJyGgsSEk1haW5DbGllbnRTZXR0aW5ncxja6xgM 500 117ms 133cpu_ms 16api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7,gzip(gfe),gzip(gfe) W 10-28 02:16PM 17.743 /settingsActions.do com.google.gson.JsonParseException: The JsonDeserializer DoubleDeserializer failed to deserialized json object 871,000 given the C 10-28 02:16PM 17.746 Uncaught exception from servlet com.google.gson.JsonParseException: The JsonDeserializer DoubleDeserializer failed to deserialized json object 871,00 10-28 02:09PM 54.105 /dashboard 500 10297ms 0cpu_ms 0kb AppEngine- Google; (+http://code.google.com/appengine) W 10-28 02:10PM 04.403Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.418 /googlesyncactions.do 500 10085ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.504Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.384 /googlesyncactions.do 500 10118ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.503Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.367 /googlesyncactions.do 500 10135ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.502Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.343 /googlesyncactions.do 500 10157ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.501Request was aborted after waiting too long toattempt to service your request.
[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.
Also, pretty much EVERYONE who doesn't dislike reliability should be starring this issue - http://code.google.com/p/googleappengine/issues/detail?id=2396 :p On Nov 4, 1:25 pm, James jamesk...@gmail.com wrote: Someone correct me if any of this is inaccurate, but: - This occurs exactly 10s into a request. - They are not catchable; your code doesn't even start to spin up; there's nothing you can do about it. - Status page -http://code.google.com/status/appengine- usually shows all is fine when this occurs. - These are a fact of life w/ GAE right now. This has been my experience, at least. Just got one on my own app which prompted me to look around and see if there was any news on the issue. James On Oct 28, 6:11 pm, Shaun Clark shaun.cl...@lexmatter.com wrote: I'm sure I'm doing something wrong, but I feel like I am getting a lot of these: 10-28 02:36PM 34.293 /googlesyncactions.do?action=syncemailforeveryone 500 10005ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/ appengine) W 10-28 02:36PM 44.299Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.118 /googlesyncactions.do 500 10302ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.420Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.089 /googlesyncactions.do 500 10008ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.098Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.066 /googlesyncactions.do 500 10020ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.086Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 31.035 /googlesyncactions.do 500 10050ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:34PM 41.085Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:34PM 19.565 /dashboard 500 10280ms 0cpu_ms 0kb AppEngine- Google; (+http://code.google.com/appengine) W 10-28 02:34PM 29.846Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:16PM 17.637 /settingsActions.do? action=updateSettingssettingsjson=%7B%22key %22:%22aglsZXhtYXR0ZXJyGgsSEk1haW5DbGllbnRTZXR0aW5ncxja6xgM%22,%22name %22:%22LexMatter%22,%22url%22:%22lexmatter%22,%22paypalusername %22:%22shaunc869%22,%22paypalpassword %22:%22shaunc869%22,%22defaultbillingrate %22:%220.0%22,%22targetbillingsperyear%22:%22871,000%22,%22firmyearend %22:%2212/23/2010%22,%22paypaldepositaccount %22:%22aglsZXhtYXR0ZXJyEwsSC0JhbmtBY2NvdW50GKn1Ggw %22,%22adwordsaccountnumber%22:%22null %22%7Dsettingskey=aglsZXhtYXR0ZXJyGgsSEk1haW5DbGllbnRTZXR0aW5ncxja6xgM 500 117ms 133cpu_ms 16api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7,gzip(gfe),gzip(gfe) W 10-28 02:16PM 17.743 /settingsActions.do com.google.gson.JsonParseException: The JsonDeserializer DoubleDeserializer failed to deserialized json object 871,000 given the C 10-28 02:16PM 17.746 Uncaught exception from servlet com.google.gson.JsonParseException: The JsonDeserializer DoubleDeserializer failed to deserialized json object 871,00 10-28 02:09PM 54.105 /dashboard 500 10297ms 0cpu_ms 0kb AppEngine- Google; (+http://code.google.com/appengine) W 10-28 02:10PM 04.403Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.418 /googlesyncactions.do 500 10085ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.504Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.384 /googlesyncactions.do 500 10118ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.503Request was aborted after waiting too long toattempt to service your request. This may happen sporadically when the App Engine serving cluster is und 10-28 02:09PM 52.367 /googlesyncactions.do 500 10135ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine) W 10-28 02:10PM 02.502Request was aborted after waiting too long toattempt to service your request.
[appengine-java] [Not Resolved] Remote database access.
Hello! Using GAE, is it possible to my application access a remote SqlServer database? Searching, I only discover that GAE can access a host or a file with Secure Data Connector (SDC). This tutorial (http://code.google.com/ intl/pt-BR/securedataconnector/docs/1.3/tutorials/appengine.html) shows it, I understand that it wouldn't solve my need, am I right? I'm using the GWT plugin for Eclipse, my application is Java based and uses GWT (2.1.0) and GAE (1.3.8). Thanks! Caram.: -- 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.
Re: [appengine-java] Unable to start Dev Server : Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext
Is there nobody to help me ? -- 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.
Re: [appengine-java] Unable to start Dev Server : Failed startup of context com.google.apphosting.utils.jetty.DevAppEngineWebAppContext
I have just updated the Eclipse plugin but with teh SDK 1.3.8 I have the same problem. -- 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.
[appengine-java] Help with UploadBlobServlet
I'm the author of appengine-magic, an App Engine library for Clojure (http://github.com/gcv/appengine-magic). I've had good luck getting several App Engine services working cleanly with Clojure's interactive development environment, including the datastore. Right now, I'm working on the blobstore service, and it's giving me trouble. I have blobstore uploads working properly inside dev_appserver, but dev_appserver is a suboptimal development experience for a highly dynamic and interactive language like Clojure. In order to make things as smooth as possible, I have to bootstrap the blobstore service by hand. I made the UploadBlobServlet available at /_ah/upload, but that does not seem to be enough. The upload seems to work (at least, it writes the newly-uploaded file to WEB-INF/appengine-generated), but then I get a 500 error (see bottom of message for the stack trace). The same application-level code works in dev_appserver. It would have been very helpful to look at the source code for the Java SDK, because it's difficult to guess where I don't initialize the Jetty servlet environment correctly. The SDK does not seem to be open- source, however. If anyone from Google's App Engine for Java team is reading, I'd appreciate some hints about initializing UploadBlobServlet. Many thanks, Constantine Vetoshev Stack trace: java.lang.IllegalArgumentException: Cannot parse: y=== at com.google.appengine.api.datastore.KeyFactory.stringToKey(KeyFactory.java: 192) at com.google.appengine.api.blobstore.dev.BlobUploadSessionStorage.getKeyForSession(BlobUploadSessionStorage.java: 68) at com.google.appengine.api.blobstore.dev.BlobUploadSessionStorage.loadSession(BlobUploadSessionStorage.java: 49) ... Caused by: com.google.appengine.repackaged.com.google.common.util.Base64DecoderException: Invalid padding byte found in position 1 at com.google.appengine.repackaged.com.google.common.util.Base64.decode(Base64.java: 536) at com.google.appengine.repackaged.com.google.common.util.Base64.decodeWebSafe(Base64.java: 493) at com.google.appengine.api.datastore.KeyFactory.stringToKey(KeyFactory.java: 190) at com.google.appengine.api.blobstore.dev.BlobUploadSessionStorage.getKeyForSession(BlobUploadSessionStorage.java: 68) -- 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.
Re: [appengine-java] Re: Trouble unit testing JPA data access objects.
hi didier, i did follow the google unit test doc. But my issue is using the spring tx with JPA in unit test. ii cant seem to get my entity manager bound to a tx. if u have any ideas or spring config it would be most appreciated. thanks -lp On Thu, Nov 4, 2010 at 11:17 PM, Didier Durand durand.did...@gmail.comwrote: Hi Ip, do you correctly initiate your local env for the datastore: see http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_Tests You should then get an active transaction when needed. Let me know if needed: can provide you with my own code when needed regards didier On Nov 4, 12:10 pm, lp lucio.picc...@gmail.com wrote: how did u get your unit tests to run in tx? i cant seem to get an active transaction. i followed all the links in this thread and more. any help appreciated -lp -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . 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 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.
[appengine-java] Sync datastore between server and local
Hi, Is there any way to sync data in datastore between server (live) and local (localhost)? I have some test data that I want to make available to both environments. Another question: I'm splitting the web to front-facing webapp and admin panel webapp: web.latest.myapp.appspot.com and admin.latest.myapp.appsot.com. I'm aware that both share the same datastore in the server (live). Can I do that (share same datastore) in local (localhost)? I.e. Can I make two (or more) Java webapps to access the same datastore file? (this is a repost from google app engine group) -- 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.