[appengine-java] Lists not persisting in HR datastore

2011-10-13 Thread Paul
Hi, I have a problem with persisting ArrayList with JDO. It works totally fine locally, but when I deploy my app it does not work. My only idea is that the reason is HR. Anyway, I'd appreciate some ideas how to fix it :) in User class: @Persistent(defaultFetchGroup = true, serialized=true)

[appengine-java] Re: Crons Optimization

2011-10-13 Thread Ian Marshall
Hi Hakim, 1. You could remove the text synchronized from your cron's schedules. Then the execution times will get out of synch over time. 2. You could have your cron jobs enqueue a task. Each of your 14 cron jobs would have a different delay to space executions over your 30 minutes. For

[appengine-java] Re: Crons Optimization

2011-10-13 Thread Ian Marshall
On further reflection, please reject my suggestion 2, since your crons will still fire simultaneously. On Oct 13, 10:19 am, Ian Marshall ianmarshall...@gmail.com wrote: Hi Hakim, 1.  You could remove the text synchronized from your cron's schedules. Then the execution times will get out of

Re: [appengine-java] Re: Facebook Login integration with java appengine

2011-10-13 Thread Jeff Schnitzer
Facebook recently (as in, a couple weeks ago) made it possible to associate multiple domains with your application. Add my-appid.appspot.com as well as aggenda.com. Jeff On Thu, Oct 13, 2011 at 3:09 AM, marco marco.m.al...@gmail.com wrote: Hi guys. (i'm newbie) I'm trying to make an existing

[appengine-java] Re: Crons Optimization

2011-10-13 Thread Gerald Tan
I can think of two methods 1. Schedule the cronjob for every 2 minutes, keep a counter to check which task is next in line. 2. Create a task queue with 1/120s frequency. Make the cronjob push the 14 task onto the taskqueue -- You received this message because you are subscribed to the Google

[appengine-java] Wicket NonCachingImage not showing image

2011-10-13 Thread Ian Marshall
Hello everyone, I use Apache Wicket's NonCachingImage component to show an image in a form. The image shows correctly when using the GAE/J development application server but fails to show when the code is running on GAE proper. I believe that this may be due to the image's src tag not being

[appengine-java] Wicket NonCachingImage not showing image

2011-10-13 Thread Ian Marshall
Hello everyone, I use Apache Wicket's NonCachingImage component to show an image in a form. The image shows correctly when using the GAE/J development application server but fails to show when the code is running on GAE proper. I believe that this may be due to the image's src tag not being

Re: [appengine-java] Spring or Struts with Google app engine.Is it feasible to use any of these?

2011-10-13 Thread Alessandro Barbosa
Hi, both frameworks are compatible with GAE for Java, (Struts 2 with some workarounds, not much complex). I suggest you to use the framework with which you are accustomed. I have ever used Struts 2, Spring and now I am using GWT (ultimately I have preferred this one), all of them were pretty

[appengine-java] Re: XG Transactions with JDO/JPA

2011-10-13 Thread de Witte
Thanks for the quick update. Got the local error: transactions on multiple entity groups only allowed in High Replication applications What is the magic trick to enable HR on the local server? -- You received this message because you are subscribed to the Google Groups Google App Engine for

Re: [appengine-java] Re: Facebook Login integration with java appengine

2011-10-13 Thread Jeff Schnitzer
It's in the Basic Info section in the upper part of the page (which you scrolled past). Look for App Domain - you can put multiple entries there. Jeff On Thu, Oct 13, 2011 at 4:01 AM, marco marco.m.al...@gmail.com wrote: Hi Jeff. Thanks for the quick reply. I'm looking in Apps Aggenda Basic

Re: [appengine-java] XG Transactions with JDO/JPA

2011-10-13 Thread David Chandler
datanucleus-appengine-1.0.10 will also be available in Maven Central shortly /dmc On Wed, Oct 12, 2011 at 6:31 PM, Max Ross (Google) max.r...@gmail.comwrote: Hi everyone, Due to a mix-up, the JDO/JPA jars that are included in the 1.5.5 SDK do *not *support XG Transactions. If you want to

Re: [appengine-java] SDK 1.5.5 in Maven Central Repos?

2011-10-13 Thread David Chandler
It's been released to Maven Central, should show up in an hour or two. /dmc On Thu, Oct 13, 2011 at 6:27 AM, Liang Ding dl88...@gmail.com wrote: Hi, all. The SDK 1.5.5 released several days, but in the Maven Central Repositoryhttp://search.maven.org/#search%7Cga%7C1%7Cappenginestill 1.5.4.

[appengine-java] Re: XG Transactions with JDO/JPA

2011-10-13 Thread Max Ross (Google)
Enabling HR locally is described here: http://code.google.com/appengine/docs/java/tools/devserver.html#Using_the_Datastore -- 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

Re: [appengine-java] Re: Facebook Login integration with java appengine

2011-10-13 Thread marco
Hi Jeff. I've tried out what you suggest but it gives an error: my-app-id.appspot.com must be derived from your Site URL. The site URL is www.aggenda.com/facebook?param1=10. I must be doing something wrong... -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] SDK 1.5.5 in Maven Central Repos?

2011-10-13 Thread Liang Ding
Yep, thank you ;-) On Fri, Oct 14, 2011 at 3:25 AM, David Chandler drfibona...@google.comwrote: It's been released to Maven Central, should show up in an hour or two. /dmc On Thu, Oct 13, 2011 at 6:27 AM, Liang Ding dl88...@gmail.com wrote: Hi, all. The SDK 1.5.5 released several days,

Re: [appengine-java] Re: Facebook Login integration with java appengine

2011-10-13 Thread Jeff Schnitzer
Are you typing in a field called App Domain? It lets you type in multiple domains, one next to the other. Jeff On Thu, Oct 13, 2011 at 4:39 PM, marco marco.m.al...@gmail.com wrote: Hi Jeff. I've tried out what you suggest but it gives an error: my-app-id.appspot.com must be derived from your 

[appengine-java] Re: Spring or Struts with Google app engine.Is it feasible to use any of these?

2011-10-13 Thread sagar misal
Hi, Thanks for your suggestion , actually i have ever worked on GWT that's why eager to try something new so it will be helpful if guide me choosing any one of Struts or Spring and learning as both are new for me and any learning tips so that will save my time. Thanks and Regards Sagar Misal.

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Johan Euphrosine
Hi Emlyn, Thanks for sharing those articles, it is very nice that you were able to backup the billing formula with hard facts. As it was discussed in the groups during the pricing model change the billing formula under the new model will be: billable_instances_rate = min(active_instances_rate +

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Emlyn
np Johan. I was confused earlier on by posts such as http://blorn.com/post/10013293300/the-unofficial-google-app-engine-price-change-faq which focuses on multithreading to get pricing down, which I think is just wrong. There are lots of good reasons to write multithreaded code, but AppEngine

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Jeff Schnitzer
I'm afraid you are still confused. You have ignored the entire point of the max idle instances slider in the first place. GAE keeps idle instances around so that sudden bursts of traffic don't cause users to sit around waiting while your django/spring app spends 5+ seconds loading. Will turning

[google-appengine] Re: Large number of datastore puts

2011-10-13 Thread tiwari
Thanks a lot for the reply -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/8hHDnGaLZzkJ. To post to this group, send email to

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Emlyn
On 13 October 2011 19:46, Jeff Schnitzer j...@infohazard.org wrote: I'm afraid you are still confused. Possibly not. You have ignored the entire point of the max idle instances slider in the first place. I might be accused of ignoring its intended function and focusing on its practical

Re: [google-appengine] App Engine Weekly Community Update #11

2011-10-13 Thread Jeff Schnitzer
I've made some (rough) updates. Jeff On Wed, Oct 12, 2011 at 12:25 PM, Johan Euphrosine pro...@google.com wrote: This should now be fixed, let me know if it works. On Wed, Oct 12, 2011 at 8:09 PM, Jeff Schnitzer j...@infohazard.org wrote: I can't seem to edit or comment in any way. Jeff

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Jeff Schnitzer
Let me summarize: You ran an experiment and discovered that GAE left idle instances running, above and beyond your max-idle-instances setting, for your application at the time that you ran the test. Ok. Unfortunately there's little reason to believe that this behavior (lots of free instances)

Re: [google-appengine] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-13 Thread Emlyn
On 13 October 2011 21:42, Jeff Schnitzer j...@infohazard.org wrote: Let me summarize: You ran an experiment and discovered that GAE left idle instances running, above and beyond your max-idle-instances setting, for your application at the time that you ran the test.  Ok. Well, that test was

[google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
I'm trying to give python 2.7 a go, with an app that uses deferred.defer. I'm getting this error when I try to upload it: Error 400: --- begin server output --- Error when loading application configuration: Invalid object: Threadsafe cannot be enabled with CGI handler:

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Greg Darke
On Fri, Oct 14, 2011 at 12:10:09AM +1030, Emlyn wrote: I'm trying to give python 2.7 a go, with an app that uses deferred.defer. I'm getting this error when I try to upload it: Error 400: --- begin server output --- Error when loading application configuration: Invalid object: Threadsafe

[google-appengine] Re: Gae and visualization api

2011-10-13 Thread uover82
Hi Nick - thanks for the help! I believe I'm using a relative url, off of localhost. Here's a representative page: !DOCTYPE html html head titleESE Pct./title !--Load the AJAX API-- script type=text/javascript src=http://www.google.com/jsapi;/ script script type=text/javascript //

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Greg Darke (Google)
Have you specified 'runtime: python' or 'runtime: python27'? If you are using 'runtime: python', then setting 'threadsafe: true' is not supported. On 14 October 2011 00:59, Emlyn emlynore...@gmail.com wrote: I am using the builtin handler in app.yaml On Oct 14, 2011 12:25 AM, Greg Darke

[google-appengine] 6470ms for a memcache get and write out the result?

2011-10-13 Thread andreas schmid
hi, im having serious speed issues on a site. my app is a python app and im using torndadoweb to serve requests. the actual rendered html is also store in the datastore and memcache. a decorator on the GET request checks first if there is a memcache entry if it exists it writes the html out,

[google-appengine] Here's your platform...

2011-10-13 Thread Joshua Smith
I'm sure you've all seen this by now: http://siliconfilter.com/google-engineer-google-is-a-prime-example-of-our-complete-failure-to-understand-platforms/ (skip the blog entry and go right down to the actual posting at the bottom). As I read it, it struck me that GAE totally IS a platform. And

[google-appengine] Re: 6470ms for a memcache get and write out the result?

2011-10-13 Thread andreas schmid
the same code on another app responds in 14ms how can this be? On Oct 13, 2011, at 10:34 AM, andreas schmid wrote: hi, im having serious speed issues on a site. my app is a python app and im using torndadoweb to serve requests. the actual rendered html is also store in the datastore

[google-appengine] Re: Storing date format in dd-mm-yyyy in datastore

2011-10-13 Thread WallyDD
Hi Rohit, How the date is stored is largely irrelevant. Store them any way you can, as long as it works. When it comes to displaying the date just configure your output to how you would like your dates displayed. Hope this helps. On Oct 11, 9:12 pm, Rohit rohit.ba...@gmail.com wrote: I am

[google-appengine] Re: Storing date format in dd-mm-yyyy in datastore

2011-10-13 Thread JH
I don't know about web2py but it's best with python to just store a datetime object. That way you can manipulate it in any way needed. On Oct 13, 10:58 am, WallyDD shaneb...@gmail.com wrote: Hi Rohit, How the date is stored is largely irrelevant. Store them any way you can, as long as it

RE: [google-appengine] Here's your platform...

2011-10-13 Thread Brandon Wirtz
Josh, I sure hope the Googlers on this list don't take your advice, I'd like them to continue to have employment for a while, and doing as you say might end that. Amazon doesn't run on EC2, Microsoft doesn't run on Azure. Cloud computing is NOT for Super Enterprise. It is for those still

Re: [google-appengine] Here's your platform...

2011-10-13 Thread Joshua Smith
The point of the leaked rant was that Amazon does run on the same platform infrastructure they sell (not EC2 exactly, but generally speaking); and MS does, too (not Azure, but Windows Servers and such). Google has exposed a platform interface in GAE which is a good candidate to be the platform

[google-appengine] please contact the App Engine team - Request was aborted after waiting too long to attempt to service your request

2011-10-13 Thread troppoli
I'm seeing a lot of Request was aborted after waiting too long to attempt to service your request for simple tasks that typically take 25-150 ms to be serviced. Most of the failures are for the simplest things that our server does, inspect some arguments and return an XML response. There is no

Re: [google-appengine] Here's your platform...

2011-10-13 Thread Jeff Schnitzer
FWIW, the Maps API is one of the better APIs at Google. Jeff On Thu, Oct 13, 2011 at 11:23 AM, Joshua Smith joshuaesm...@charter.net wrote: The point of the leaked rant was that Amazon does run on the same platform infrastructure they sell (not EC2 exactly, but generally speaking); and MS

RE: [google-appengine] Here's your platform...

2011-10-13 Thread Brandon Wirtz
That generally speaking and and such are the differences I'm talking about. GAE Runs on Google Edge, and within the Apps For Domains. Google has as much Dog Fooding their products as MSFT and AMZ do. I lived in MSFT for years, I still do a lot of work with them internally. Your understanding

[google-appengine] zipped python code in blobstore?

2011-10-13 Thread andreas schmid
hi, i was wondering if it is actually possible to store zipped python code in the blobstore and use it after getting it? thx -- 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-appengine] debugging app engine

2011-10-13 Thread Brian Williams
Hi. I am trying to use app engine to email information collected from an app inventor app. I am using Shivals wolfwebmail2 (for those familiar with app inventor) I have asked this question around all the groups in numerous forms. Would like to work out what is going on for myself but need some

[google-appengine] Re: Here's your platform...

2011-10-13 Thread Luis Daniel Mesa Velasquez
Yeah, that AND because writing useful software using the many, many, many limitations of GAE is too hard for Google products to be out in time, let other people's products be late. You don't put all your eggs on the basket, you put some of your eggs on the basket and charge other people to put

[google-appengine] Re: debugging app engine

2011-10-13 Thread Gipsy
I think you can use logging to log your debug messages import logging logging.debug(Your message) It will then show up in admin console logs cheers gipsy On Oct 13, 4:02 pm, Brian Williams tribblehunter2...@gmail.com wrote: Hi. I am trying to use app engine to email information collected

Re: [google-appengine] zipped python code in blobstore?

2011-10-13 Thread Timofey Koolin
you can do it in python 2.7 runtime http://code.google.com/intl/en/appengine/docs/python/python27/newin27.html#Bytecode_Modification 2011/10/13 andreas schmid a.schmi...@gmail.com hi, i was wondering if it is actually possible to store zipped python code in the blobstore and use it after

[google-appengine] HttpSession session timeout and lastAccessedTime

2011-10-13 Thread Christopher
I'm having strange problems with session timeouts on appengine. When running locally the session timeout appears to work fine. The session is supposed to be 30 minutes. The browser has a timer setup to check if the user is still logged in 30min + 1 sec after the last successful async request to

RE: [google-appengine] Re: Here's your platform...

2011-10-13 Thread Brandon Wirtz
Enterprise comes in different sizes. What is HUGE to most of us is miniscule for Google. Imagine how big Gmail is. If your Fortune 500 company had an app that got Gmail like traffic you wouldn't outsource the hosting, the mark up would kill you. When you are a certain size not having to have

[google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-13 Thread Will Reiher
Getting a bunch of Deadline Exceeded Application Error 5's from the urlfetch library this afternoon with code that has been static for weeks. Thankfully it's failing when checking the shipping rates and not when processing transactions. I don't see any thing in System Status. -- You received

[google-appengine] Green line, Billed, on Instances graph.

2011-10-13 Thread Emlyn
There's a green line, Billed, on the instances graph. Now you can ignore my blog posts, and just play around with what moves the green line. Brilliant, good stuff AppEngine people. -- Emlyn http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google Buzz posts, comments and all.

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
app.yaml: --- application: emlynoregan version: 1 runtime: python27 api_version: 1 threadsafe: true builtins: - deferred: on handlers: - url: /.* script: main.py --- Upload via appcfg.py: --- Application: emlynoregan; version: 1 Host: appengine.google.com Starting update of app:

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Brian Quinlan
On Fri, Oct 14, 2011 at 1:48 PM, Emlyn emlynore...@gmail.com wrote: app.yaml: --- application: emlynoregan version: 1 runtime: python27 api_version: 1 threadsafe: true builtins: - deferred: on handlers: - url: /.*  script: main.py You are specifying a CGI script here. If you want

[google-appengine] Re: How to determine datastore reads?

2011-10-13 Thread J
Anyone know a way I can profile my app to see where my datastore reads are coming from? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
You are specifying a CGI script here. If you want to use CGI then set threadsafe to no. Cheers, Brian Ah, gotcha. A fog of deep misunderstanding is slowly lifting from my brain, possibly. I could still have some Dunning-Kruger going, so here's my next attempt: app.yaml: --- application:

Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-13 Thread Rishi Arora
My app experienced this too, specifically with URL Fetches from UPS's systems. But it seems to be more likely a problem with UPS's servers, and not GAE. On Thu, Oct 13, 2011 at 5:56 PM, Will Reiher wrele...@gmail.com wrote: Getting a bunch of Deadline Exceeded Application Error 5's from the

Re: [google-appengine] Re: How to determine datastore reads?

2011-10-13 Thread Rishi Arora
Appstats http://googleappengine.blogspot.com/2010/03/easy-performance-profiling-with.html On Thu, Oct 13, 2011 at 10:34 PM, J ja...@mapstagram.com wrote: Anyone know a way I can profile my app to see where my datastore reads are coming from? -- You received this message because you are

[google-appengine] Re: CloudFlare https traffic blocked?

2011-10-13 Thread Owen Wiggins
It took a few weeks, but the answer from CloudFlare is: GAE has apparently closed the port(s) in question we will search for an alternative solution. Fortunately, Dmitry Ulupov at http://wwwizer.com has launched his SSL solution and got us up and running in about a day. I can't attest to the

RE: [google-appengine] Re: CloudFlare https traffic blocked?

2011-10-13 Thread Brandon Wirtz
I suspect they will be OK as long as you don't get too big too fast. I would have gone with Squid running on Amazon, a new scares me when you are looking at using it for secure stuff. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Owen