[appengine-java] Re: Query on date

2011-05-05 Thread captain
Check out this link http://www.java2s.com/Code/Java/JPA/DateTypeParameter.htm Regards Captain On May 4, 9:14 pm, Ramesh ramesh.v1...@gmail.com wrote: Hi all, Even after searching i am not able to see any correct answer on how to work with GAE java dates. My Model: /**  */ @Entity

[appengine-java] Re: A couple of datastore questions!

2011-05-05 Thread captain
Went thru the same issues. Im also using unowned relationships as a workaround You are not alone ;-) Captain On May 4, 5:32 am, Muhammad Ijaz Khan aija...@gmail.com wrote: so no other way? On Wed, May 4, 2011 at 12:08 AM, Muhammad Ijaz Khan aija...@gmail.comwrote: This is exactly what I am

[appengine-java] Re: Stripes + UrlBinding + Google App Engine

2011-05-05 Thread rml
Hi, I use Stripes and DynamicMappingFilter on GAE production without issues. Here's the Stripes related part of my web.xml: filter display-nameStripes Filter/display-name filter-nameStripesFilter/filter-name

[appengine-java] Can an app request external webpages?

2011-05-05 Thread Luke Waldron
I have created a servlet which requests a webpage, parses the html and retrieves information from it. This works fine locally. However when I deploy the application it doesn't retrieve the webpage. Can anyone tell me what might be the problem? -- You received this message because you are

[appengine-java] Re: Can an app request external webpages?

2011-05-05 Thread Didier Durand
Hi, To get the page, do you use the specific URL Fetch service that is part of the gae sdk ? See http://code.google.com/appengine/docs/java/urlfetch/overview.html If not, may be the source of your issue. regards didier On May 5, 1:22 pm, Luke Waldron therabidw...@gmail.com wrote: I have

[appengine-java] Query on child list

2011-05-05 Thread pavb
Hello I would like to know if it is possible to make query with constraints on the number of childs. My model represents a user and his evaluations, I have a parent / child relationship between them. In my user class I have a ListKey which represents the links but how to filter on it? I would

Re: [appengine-java] Help Me..!

2011-05-05 Thread Felipe Teixeira
try Put in folder lib , docList API and SpreedSheet API , later make the build path. java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/ SpreadsheetService This error talk :SpreadsheetService not found... bye 2011/5/5 Rambo Hi Friends...! Am trying to use

[appengine-java] Re: Help Me..!

2011-05-05 Thread Rambo
Thank you Mr.Felipe but already i included those api's. On May 5, 6:50 pm, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: try Put in folder lib , docList API and SpreedSheet API , later make the build path. java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/

[appengine-java] Multitenancy / Billing and Versions..

2011-05-05 Thread sledorze
Hi! I am currently building an application. This application will be licenced to clients and they will be charged for this. (as far everything is normal) First I thought I could deploy an application for each client but I've read it's against Google policy. So I am now willing to use the

[appengine-java] Blobstore vs. Datastore for HTML files

2011-05-05 Thread bradr
I have an app that stores XML and HTML files, and i'm trying to decide on the Blobstore vs. Datastore Pro for Blobstore: it is possible for the HTML files to exceed 1 MB (although I have ready the average size of an HTML file is ~25 KB) Pro for Datastore: The blobstore allows for insert /

[appengine-java] Re: Stuck Building Indexes

2011-05-05 Thread Casey
Well it looks like the index finally went through after 11 hours. Strange that it would take that long for an empty database. On May 5, 9:23 am, Casey j.casey.one...@gmail.com wrote: I recently published an update to my site and after the lastest build I receive the error message that The index

Re: [appengine-java] Re: Index Names now throwing an error

2011-05-05 Thread Matt Farnell
I haven't created a Java Property, I create the property using the low level api as I use these numbered properties for stats which I query on. It's been working for over a year and still does, however I now can't upload any app modifications as I'm getting an error due to this new property name

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Ugorji
One more thing. Blobstore is 1/3 the cost of High Replication datastore. So if you don't need to index the information, and you are okay doing multiple GET's/PUTs (ie one GET to get the blobkey, and one more to actually serve the file), and your code allows the inclusion of the blobstore, then

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
I choose the datastore so I wasn't constrained with the 1MB limit. I think it works great too. I made a rough demo to try it out. GWT javascript has to init. http://demogaemultifileblobupload.appspot.com/ - the files are served from the datastore. Brandon Donnelson

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread bradr
Question, if I opt for datastore ... I noticed that certain types (ie datastore.Blob and datastore.Text) can be up to 1 megabyte; not indexed. Can I have multiple 1mb text columns? Or is there an overall size limit for the row? On May 5, 3:42 pm, Brandon Donnelson branflake2...@gmail.com wrote:

Re: [appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
Oops I mean blob store On May 5, 2011 3:42 PM, Brandon Donnelson branflake2...@gmail.com wrote: I choose the datastore so I wasn't constrained with the 1MB limit. I think it works great too. I made a rough demo to try it out. GWT javascript has to init.

Re: [appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
Good question. You can have multiple object until the object limit. On May 5, 2011 4:58 PM, bradr brad.rydzew...@gmail.com wrote: Question, if I opt for datastore ... I noticed that certain types (ie datastore.Blob and datastore.Text) can be up to 1 megabyte; not indexed. Can I have multiple

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
Entity limit is 1MB total. But you could have multiple blobs within one if they where less than 1MB. Brandon -- 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

[appengine-java] Google update available for Eclipse?

2011-05-05 Thread Sam Stigler
Hi all, I got a message today that there are some Google updates available for the Eclipse plugin and installing the updates now, but I can't find release notes for them. Can someone please point me in the right direction? Thanks, Sam -- You received this message because you are subscribed

[google-appengine] Re: Sudden GAE Behavior Change! Urgent HELP needed!

2011-05-05 Thread Greg
Wow. You ask for help from a python guru, and you get it from THE python guru. -- 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@googlegroups.com. To unsubscribe from this group, send email

[google-appengine] Re: AppEngine starts new instances without need for them

2011-05-05 Thread Milan Aleksic
Hi, I moved to 1.4.3 (from 1.4.2), added threadsafe element... and I believe after couple of hours of testing that you just solved my issue! Thanks for clearing up this behavior! Milan Aleksic http://www.milanaleksic.net On May 4, 10:24 pm, Ikai Lan (Google) ika...@google.com wrote: Do you

[google-appengine] Sending mail with accented plain text attachment

2011-05-05 Thread S2w
distribution en envoyant un courriel =C3=A0 cont= act@s Ce courriel est envoy=C3=A9 =C3=A0 noo...@nodomain31416.xyz le 05 mai 2011 = 09:32:39. Code d'identification du courriel: 6:4:20110505-093239.851. --=_Part_0_10236134.1304580789082 Content-Type: text/html

[google-appengine] How do I know if my app is qualified to autoscale just by looking at the admin dashboard?

2011-05-05 Thread Albert
Hi! Is it possible for me to know if my app is qualified to autoscale just by looking at the values being displayed in the dashboard? It currently gives info on CPU and API CPU average request times. However, please correct me if I'm wrong, I remember that the measure for autoscaling is that

[google-appengine] Re: How do I know if my app is qualified to autoscale just by looking at the admin dashboard?

2011-05-05 Thread Fabs
Hello If you look in the logs section in the dashboard then select All requests you can see the request latency of each request. If you go to the instances section of the dashboard you can see the average request latency of each instance of your app. I wasn't aware of a limit on user-facing

Re: [google-appengine] Re: Task Creation failing at a high rate since 1.5 pre release

2011-05-05 Thread Andrei Cosmin Fifiiţă
I encountered another problem. I seamed that when a task was added to my task queue, it was added three or four times. (i believe this happened a few times). For example: at a certain action, a task is created: this task generates a document (based on some processing) delivers an email an then

Re: [google-appengine] Re: Task Creation failing at a high rate since 1.5 pre release

2011-05-05 Thread Ravi Sharma
i am having the same problem 2011/5/5 Andrei Cosmin Fifiiţă andrei.fifi...@gmail.com I encountered another problem. I seamed that when a task was added to my task queue, it was added three or four times. (i believe this happened a few times). For example: at a certain action, a task is

[google-appengine] Re: How do I know if my app is qualified to autoscale just by looking at the admin dashboard?

2011-05-05 Thread Albert
Thanks! I took a look at what you told me, and I think I prefer the instances section. At least I only have to look at a few numbers as opposed to summarizing all the request logs. To everyone else, is the instances section a good place to find information on whether an app is qualified to

[google-appengine] Re: Averaging database data(Python)

2011-05-05 Thread JH
Another idea may be to calculate the ratings as you go, since this is a somewhat expensive operation. For example, you could simply save 1 entity with 1 list property, [vote_sum,vote_total] on submission, add their rating to vote_sum and increment vote_total, this way when you want an average

Re: [google-appengine] No descending index on __key__, performing serial download

2011-05-05 Thread Dennis Lo
Hi Ikai, I hope you can help me out even though this is such an old thread. I've been looking around the internet and I can't seem to figure out why my appcfg.py download_data (backup to my csv) is performing so slowly. I see the No descending index on __key__, performing serial download and

Re: [google-appengine] No descending index on __key__, performing serial download

2011-05-05 Thread Dennis Lo
Just and update the download for this kind with the 25,000 entries took 390 seconds (about 6.50minutes). Is that normal? I've got a 5 more kinds around that size. So essentially, the appcfg.py download_data would take 32.5 minutes. I've also checked the datastore and its just 9% of the 1GB

Re: [google-appengine] No descending index on __key__, performing serial download

2011-05-05 Thread Dennis Lo
Just an update: The download for this kind with 25,000 entries took 390 seconds (about 6.50minutes). Is that normal? I've got 5 more kinds around that size. So essentially, the appcfg.py download_data would take 32.5 minutes to back everything up. I've also checked the datastore and its just

[google-appengine] Error 500

2011-05-05 Thread Francois Masurel
Getting quite a few 500 errors today. Am I the only one ? Francois -- 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@googlegroups.com. To unsubscribe from this group, send email to

[google-appengine] Re: Error 500

2011-05-05 Thread Francois Masurel
In fact, quite a few warmup requests fail with timeouts. I didn't change anything and everything was going fine before. Did something change on GAE side today ? Francois -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

Re: [google-appengine] Error 500

2011-05-05 Thread Eduardo Perrino
I've been getting a lot of 500 errors too. Eduardo 2011/5/5 Francois Masurel f.masu...@gmail.com Getting quite a few 500 errors today. Am I the only one ? Francois -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

[google-appengine] Re: Error 500

2011-05-05 Thread Tim
GAE was updated to v1.5.0 about 48 hours ago - I had problems with a change to the (python) webapp framework, other people are seeing task queues mis-behaving slightly. You can download the pre-release of v1.5.0 dev server (doesn't contain all the changes that were deployed to production) and

Re: [google-appengine] Re: Task Creation failing at a high rate since 1.5 pre release

2011-05-05 Thread Robert Kluin
Hi Andrei, You should name your tasks so you don't insert the same task multiple times. Also, remember all tasks should be idempotent -- they will occasionally run multiple times. Once way to accomplish this is using a 'marker' of some type so you can detect if the task has already run.

Re: [google-appengine] Re: How do I know if my app is qualified to autoscale just by looking at the admin dashboard?

2011-05-05 Thread Robert Kluin
Hi Albert, It is probably the best metric you can easily see. But keep in mind, that number also includes tasks. So, if your app makes use of lots of long-running tasks it could bias the number up (or, conversely, lots of super fast tasks could bias it down). Also, if your app's loading time

Re: [google-appengine] Re: Error 500

2011-05-05 Thread Rachel Gollub
This just started for me about an hour ago. I don't think it could have been caused by the update Same thing -- a lot of 500 errors. -- Rachel On Thu, May 5, 2011 at 7:59 AM, Tim meer...@gmail.com wrote: GAE was updated to v1.5.0 about 48 hours ago - I had problems with a change to the

Re: [google-appengine] Re: Error 500

2011-05-05 Thread Sanjay
I noticed the same thing starting 10 minutes back. The requests didn't seem to be hitting my server because they weren't showing up in the list of all logged requests. Then all of a sudden, I refreshed the page a few times in succession, and it seemed to be back. Can we please have someone

Re: [google-appengine] Re: Maintenance today?

2011-05-05 Thread Wesley C (Google)
@mars: that's great that you made your app more robust... everyone else should follow! to find out more info, here's a great presentation that we gave at an App Engine meetup happened last year that includes more detail than the official docs:

[google-appengine] Re: Tasks are not executing!

2011-05-05 Thread nischalshetty
Tasks are not executing again! Close to 30K pending tasks in my queue, help! -- 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@googlegroups.com. To unsubscribe from this group, send email

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread David Mora
hey guys, We are not experiencing this problem and we execute like 15k+ task per minute probably. One tip tho, might worth to mention: The ones staying in the queue have 0 retry attempts? Retries uses a push back mechanism so if they fail they are kept on the queue if your configuration is not

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread Nischal Shetty
@David It's a gae problem for sure. As I write I can see the queues have started clearing again ( yay :) ) It's been happening a number of times today. Hoping someone from the GAE team updates this thread when they get time. I'm guessing they are all tied up fixing various issues. On 6 May

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread Stephen Johnson
Just to add some more insight hopefully. I'm still developing my application and have moved to HR datastore but kept my Master/Slave test running. Past couple of days Master/Slave has exhausted Task Queue of 100,000 but HR is working fine. Typical Task Queue would probably be 5000 for the day.

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread Nischal Shetty
I'm on Master/Slave. Don't tell me Task Queue's would also behave different ways for different data stores :( On 6 May 2011 01:01, Stephen Johnson onepagewo...@gmail.com wrote: Just to add some more insight hopefully. I'm still developing my application and have moved to HR datastore but kept

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread Stephen Johnson
Sorry but that's what I'm seeing. Anyone else? On Thu, May 5, 2011 at 12:35 PM, Nischal Shetty nischalshett...@gmail.comwrote: I'm on Master/Slave. Don't tell me Task Queue's would also behave different ways for different data stores :( On 6 May 2011 01:01, Stephen Johnson

Re: [google-appengine] Re: Tasks are not executing!

2011-05-05 Thread David Mora
We are on master/slave: 18k per minutes as we speak On 5 May 2011 13:37, Stephen Johnson onepagewo...@gmail.com wrote: Sorry but that's what I'm seeing. Anyone else? On Thu, May 5, 2011 at 12:35 PM, Nischal Shetty nischalshett...@gmail.com wrote: I'm on Master/Slave. Don't tell me Task

[google-appengine] Re: Error 500

2011-05-05 Thread Francois Masurel
What is really strange is that Always On intances are restarted very frequently which probably causes the 500 errors I get. In case of traffic increase, isn't GAE supposed to start new instances instead ? You can check the attachment that shows that my Always On instances have just been

[google-appengine] Re: Error 500

2011-05-05 Thread Mars
Yeah I got quite a few of those in the past few hours. Something's playing up on the hosting side... On May 5, 1:00 pm, Francois Masurel f.masu...@gmail.com wrote: What is really strange is that Always On intances are restarted very frequently which probably causes the 500 errors I get. In

[google-appengine] Re: Prerelease SDK 1.5.0 available for download

2011-05-05 Thread Mars
+1 Please give us custom HTTPS :) On May 4, 6:05 pm, Mike mickn...@gmail.com wrote: Hi Ikai A very exciting release!! Congrats. I must say though, I'm dying for custom HTTPS support. Every release I hurriedly read the release notes for it, to no avail. It was slated for

[google-appengine] Re: Using App Engine as a server for an Android game.

2011-05-05 Thread Stephen Blum
Rohan, There is an easy solution for your Android app! Check out a free option at http://www.pubnub.com/tutorial/java-push-api You can use this service for free according to their usage rules for Development. Once you launch your app you can continue to use the service for free if you follow

[google-appengine] Re: Error 500

2011-05-05 Thread Francois Masurel
In fact, under stress, GAE kills my Always On instances and restarts them after a few seconds (I wasn't quick enough to make a screenshot). That's probably the reason why I get all these 500 errors. What is annoying is that I'm paying for this :-) -- You received this message because you are

[google-appengine] Can I switch verification to my other account?

2011-05-05 Thread Jared
Hello, I used my mobile phone number to create an app on my gmail account. I would like to do the same with my companies app domain. Is there a way to switch over all verification and created apps to a different account? Or could I delete my verification from my google account and then

Re: [google-appengine] Re: Prerelease SDK 1.5.0 available for download

2011-05-05 Thread supercobra
+1 -- superco...@gmail.com http://supercobrablogger.blogspot.com/ On Thu, May 5, 2011 at 3:25 PM, Mars mars...@askmymob.com wrote: +1 Please give us custom HTTPS :) On May 4, 6:05 pm, Mike mickn...@gmail.com wrote: Hi Ikai A very exciting release!! Congrats. I must say

[google-appengine] Re: How do I know if my app is qualified to autoscale just by looking at the admin dashboard?

2011-05-05 Thread Albert
I see. Thanks, Robert! On May 5, 11:14 pm, Robert Kluin robert.kl...@gmail.com wrote: Hi Albert,   It is probably the best metric you can easily see.  But keep in mind, that number also includes tasks.  So, if your app makes use of lots of long-running tasks it could bias the number up (or,

Re: [google-appengine] Can I switch verification to my other account?

2011-05-05 Thread Robert Kluin
Hi Jared, To transfer the apps to another account, you can add the other account as an admin then remove the original account. You can authorize your 'wrok' account to create apps by submitting a request explaining the situation: https://appengine.google.com/waitlist/sms_issues Robert

Re: [google-appengine] Instances

2011-05-05 Thread Robert Kluin
Sounds pretty strange. You sure it is not a local browser cache or something like that? On Wed, May 4, 2011 at 13:14, Anze Cesar anze.ce...@gmail.com wrote: Master/slave On Wed, May 4, 2011 at 4:44 PM, Robert Kluin robert.kl...@gmail.com wrote: High-replication datastore? On

Re: [google-appengine] Re: Error 500

2011-05-05 Thread Michael Quartly
I have found the same thing occurred to my app. I have found that turning off Always On helps with the instance restarts. So when this happens I turn off Always On for a couple of days while I wait for the engineers to fix whatever they broke. I have had this happen a few times on my app this

[google-appengine] Oops! We couldn't retrieve your list of Kinds. Datastore API, Datastore Viewer and Datastore Admin problems

2011-05-05 Thread roberto.cr
I've deployed the last version of my app (only small changes in datastore models), which is perfect locally, but has caused weird problems (both on the dashboard and the app itself): App problem: it cannot read/write using the datastore api (I'm using python, but it doesn't matter here I guess)