[appengine-java] Spring AOP behaving inconsistently on Google infrastructure.

2011-11-18 Thread Marcel Overdijk
I'm using Spring AOP with context:spring-configured / in my applicationContext.xml to automatically inject an ObjectifyFactory in my domain instances while doing e.g. new Customer(). In local environment this works always without any issues so far. However on the Google infrastructure I keep

[appengine-java] Re: Gql4J, gql for appengine java sdk

2011-11-18 Thread Vaclav Bartacek
Hi all, I've been doing the same almost two years ago ! The GQL (and also extended GQL) parser is a part of DAO generator project: http://code.google.com/p/audao/ The documentation you can find here: http://audao.spoledge.com/doc-gae-features.html#gqlparser

[appengine-java] Re: Dealing with DatastoreTimeoutException and DatastoreFailureException in a task queue

2011-11-18 Thread Edward Hartwell Goose
Turns out I've figured out the answer to my own question. Use the little known max-concurrent-requests feature to force a limitation on how many requests can run at one time. This ensures that any requests that take a little too long are given the opportunity to finish before before the next

[appengine-java] Re: Apache POI

2011-11-18 Thread will
Well, the answer is : Yes, it works. That brings another question now : Since GAE doesn't allow us to write to the filesystem, the easiest solution would be to send the result to the servlet. How could I achieve that ? (as you might obviously notice, I'm a beginner in java, started this month

[appengine-java] Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Marcel Overdijk
Is it possible to create a new entity using the Datastore Viewer for a kind that does not exists yet? -- 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-java@googlegroups.com. To

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Max
no, at the moment you can't and you can't add new property to existing entity -- 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

[appengine-java] Re: Can I upload an image to Blobstore using the admin console?

2011-11-18 Thread Max
no, at the moment you can't -- 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/-/s_9aLOndvM4J. To post to this group, send email to

Re: [appengine-java] Re: Serializing crypto classes

2011-11-18 Thread Thales Cloud
I'm now storing the relevant data as byte[] and it appears to be working fine. Thanks again for pointing me in the right direction! Pete. -- 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

[appengine-java] Re: StackOverflowError when using remote API

2011-11-18 Thread Peter Turovskij
It seems we are the only ones facing this issue... -- 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/-/BDMR1e6RhzEJ. To post to this

[appengine-java] Re: Can I upload an image to Blobstore using the admin console?

2011-11-18 Thread Marcel Overdijk
OK thanks. I created feature request http://code.google.com/p/googleappengine/issues/detail?id=6361 Ability to upload new blobs using the admin console and display the (ImageService) serving url. Please star this issue if you are interested. On Nov 18, 2:43 pm, Max thebb...@gmail.com wrote:

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Marcel Overdijk
OK thanks. I created feature request http://code.google.com/p/googleappengine/issues/detail?id=6362Ability to create new entity 'kinds' in the Datastore Viewer. At the moment only entities can be created in the Datastore Viewer for existing entity kinds. Also the ability to add not yet existing

Re: [appengine-java] Re: Reading a Google Doc from google app engine code

2011-11-18 Thread Amit Pandey
I did it before and I used *HWPFDocument. *However it can be read directly (without third party lib). Try other ways to read the string from inputStream (other than CharStreams api). Also try setting different possible character encoding. Let us know if this work. Thanks, Amit On Fri, Nov 18,

[appengine-java] Dashboard datastore problems?

2011-11-18 Thread Guillaume Laforge
Hi all, I'm wondering if I'm the only one to see this but... When I go to the dashboard, and click on datastore viewer, indexes or statistics, I get an error message: Server Error A server error has occurred. Return to Applications screen » https://appengine.google.com/ -- Guillaume Laforge

Re: [appengine-java] Dashboard datastore problems?

2011-11-18 Thread Bruno Fuster
It's working fine here. On Fri, Nov 18, 2011 at 12:45 PM, Guillaume Laforge glafo...@gmail.comwrote: Hi all, I'm wondering if I'm the only one to see this but... When I go to the dashboard, and click on datastore viewer, indexes or statistics, I get an error message: Server Error A

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Max
Did you search similar tickets before create one? I believe this has been requested for many times. You link doesn't work :) -- 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] Dashboard datastore problems?

2011-11-18 Thread Guillaume Laforge
Thanks Bruno for your answer. It actually seems to be specific to one of my apps, only (appid: groovyconsole) Other apps in the dashboard work and let me see the datastore related information. Hopefully a Google engineer will notice :-) Guillaume On Fri, Nov 18, 2011 at 15:57, Bruno Fuster

[appengine-java] Re: Creating a new entity kind using the Datastore Viewer

2011-11-18 Thread Marcel Overdijk
Yes something went wrong. This is the correct link: http://code.google.com/p/googleappengine/issues/detail?id=6362 On Nov 18, 4:23 pm, Max thebb...@gmail.com wrote: Did you search similar tickets before create one? I believe this has been requested for many times. You link doesn't work :)

[appengine-java] prefetchSize vs chunkSize

2011-11-18 Thread Jeff Schnitzer
Would someone explain the exact differences between prefetchSize and chunkSize and how these interact? The documentation doesn't really help. I presume chunkSize is the number of items that get fetched on each RPC to the datastore backend, equivalent to a fetch() call in python-land. Is

[google-appengine] Large number of DeadlineExceededError messages today

2011-11-18 Thread Sarang
I am suddenly seeing a jump in DeadlineExceededError messags. Any idea what is going wrong? There was no change from my end as far as I can tell. my app: mycontactidbeta Anyone else seeing this behavior? Sarang -- You received this message because you are subscribed to the Google Groups

[google-appengine] Django Library

2011-11-18 Thread Max
Hi, I got this error in my logs: You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see

[google-appengine] Re: Large number of DeadlineExceededError messages today

2011-11-18 Thread Sarang
Image supporting my claim: http://gyazo.com/dd61191f48d22ac6e43d563aeb105674 -- 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/-/NVikM0dGmGIJ. To post

[google-appengine] Please Help! Backend restarts every few hours

2011-11-18 Thread Andrius A
I am running backend started by the task which starts a loop within a backend to keep it running. I am constantly seeing backend restarting recently, no exceptions visible on the logs apart from these errors: 1. 2011-11-18 09:36:38.480 /app/executor/master/ 500 3654275ms 0kb instance=0

[google-appengine] Re: Django Library

2011-11-18 Thread Niklas Rosencrantz
I recommend switching to python 2.7 that abstracts away selecting the django version. There is a blog post how to do it at blog.notdot.net If you can't or don't want to upgrade to python 2.7 now you can add a line to your appengine_config.py to select which version django imports. I used

Re: [google-appengine] Re: Django Library

2011-11-18 Thread Massimiliano
I'm not so skilled to do it. I'm just using appengine like an hobby. I just want to use the code like I have. Which line I have to add and where? 2011/11/18 Niklas Rosencrantz nikla...@gmail.com I recommend switching to python 2.7 that abstracts away selecting the django version. There is a

Re: [google-appengine] Re: Django Library

2011-11-18 Thread Niklas Rosencrantz
You can keep a file called appengine_config.py in your project directory with this line: webapp_django_version = '1.2' and I think it will solve your problem. Or just wait and keep your code compatible with current GAE SDK and you will solve the problem since sooner or later 0.96 will be

Re: [google-appengine] Re: Django Library

2011-11-18 Thread Massimiliano
Great, I'll do it! Thanks 2011/11/18 Niklas Rosencrantz nikla...@gmail.com You can keep a file called appengine_config.py in your project directory with this line: webapp_django_version = '1.2' and I think it will solve your problem. Or just wait and keep your code compatible with

[google-appengine] Re: automated deployment

2011-11-18 Thread Diego Fejgelis
Never used Jenkins, but you need to specify the --passin parameter to the appcfg. Example of my alias: alias gae_upload='appcfg.py --passin -e m...@mydomain.com update ${PROJ_FOLDER} ${PASS_FILE}' The con is that you need to have your password on a plain file. :( Diego -- You received this

Re: [google-appengine] Please Help! Backend restarts every few hours

2011-11-18 Thread Eduardo Perrino
Hi, Safely you've exceed the backend's memory. 2011/11/18 Andrius A andriu...@gmail.com I am running backend started by the task which starts a loop within a backend to keep it running. I am constantly seeing backend restarting recently, no exceptions visible on the logs apart from these

Re: [google-appengine] Re: Large difference between datastore quota detail and appstat.

2011-11-18 Thread djidjadji
Does ndb support lists in get_by_id()? This could then be executed in parallel. You should then check with appstats on the GAE hardware if it works in parallel. db_keys = EMail.query(EMail.Status != 'Complete').fetch(keys_only=True) res = EMail.get_by_id( [k.id() for k in db_keys] ) list

[google-appengine] Mapnik TileStache Hosting

2011-11-18 Thread Raj
Hey, Is it possible to host Mapnik(http://mapnik.org/ Mapnik is a Free Toolkit for developing mapping applications) and TileStache(http://tilestache.org/ TileStache is a Python-based server application that can serve up map tiles based on rendered geographic data) in Google app engine. If

Re: [google-appengine] Please Help! Backend restarts every few hours

2011-11-18 Thread Andrius A
Are there any ways to recycle memory while running? Or does it mean I need to run one with more memory? On Nov 18, 2011 1:36 PM, Eduardo Perrino eduardo.perr...@gmail.com wrote: Hi, Safely you've exceed the backend's memory. 2011/11/18 Andrius A andriu...@gmail.com I am running backend

Re: [google-appengine] Please Help! Backend restarts every few hours

2011-11-18 Thread Rishi Arora
One reason might be that you don't really need all that memory, but because you're holding references to not-needed variables, the garbage collector can't reclaim it. An easy way to avoid this is to break up the task executing on the backend into multiple smaller tasks that you manage through the

[google-appengine] Re: automated deployment

2011-11-18 Thread Ron
it is working for us again with no changes and when it was happening, we did checks, and it was only happening from that deployment machine, so it's IP was blacklisted for some reason but no one has said anything about automatic deployments from a single machine is not allowed On Nov 18, 12:37 

Re: [google-appengine] Please Help! Backend restarts every few hours

2011-11-18 Thread Andrius A
In GAE console I see just 35-36Mbytes on average used by that backend. Does exit_code=109 really means that it exceeded memory limit? Where can I find those codes listed with meanings? Thank you so far! On 18 November 2011 14:50, Rishi Arora rishi.ar...@ship-rack.com wrote: One reason might be

[google-appengine] Re: automated deployment

2011-11-18 Thread Fábio Uechi
We've been doing automated deployments for months now without problems. We use an expect script for that. I posted about it here: http://fabiouechi.blogspot.com/2011/10/automating-gaes-application-deployment.html Might come in handy cheers Fábio -- You received this message because you are

Re: [google-appengine] Google App Engine's Team Dishonesty

2011-11-18 Thread Robert Kluin
I've seen at least two or three *major* disruptions on high-replication apps since GAE went out of beta. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Re: Ancestor queries / indexes

2011-11-18 Thread someone1
From my understanding you will need to use the second version of the query for strongly consistent look ups (or you can query by building the key, but this is only useful when you need to get a specific entity). Building a query such as the first one will NOT result in strong consistency using HR.

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-18 Thread Renzo Nuccitelli
This input about System status is True. I have seen the system status indicating problems in some days and some days later just erase that the problem ocurred. On 18 nov, 16:25, Robert Kluin robert.kl...@gmail.com wrote: I've seen at least two or three *major* disruptions on high-replication

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-18 Thread Olivier
+1 for a more honest and consistent system status as for the issues, since we migrate to HRD, everything has run quite smoothly for us which is nice. Before that, it was really, really bad on MS. -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-18 Thread Andrius A
*+1* * * *Can somebody from Google find the respect and comment here?* * * On 18 November 2011 20:00, Olivier o.mic...@gmail.com wrote: +1 for a more honest and consistent system status as for the issues, since we migrate to HRD, everything has run quite smoothly for us which is nice. Before

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-18 Thread Maximillian Dornseif
On 17 Nov., 15:24, trilok amit.y...@gmail.com wrote: Google app engine hello, And now for the cherry on the top, and the reason I used the word 'dishonesty' - You remove any note of the disruption from System Status. I also find the Status Page extremely frustrating. The common deployment

[google-appengine] Re: Django Library

2011-11-18 Thread Bryce Cutt
A description of the steps (with examples) can be found in the answers here: http://stackoverflow.com/q/4994913/98138 As Niklas mentioned things will be a lot easier with the new Python runtime but for now the easy fix is at the link I provided. Some things changed between Django .96 and 1.2 and

[google-appengine] Datastore Write Operations is 16x more of other operations

2011-11-18 Thread Tom Fishman
Hi, Our data-store operation statistics is strange, writing operation is 16x more than other operations ( Read and small ). I checked with appstat, it is usually 1:1, at most 2:1. I don't know where this 16:1 come from? What's the best way to investigate? -Tom -- You received this message

[google-appengine] Re: Datastore Write Operations is 16x more of other operations

2011-11-18 Thread Simon Knott
How many properties do you have indexed in your entities, and how many custom indexes do you have? Alfred gives a good example of how writes are calculated for new and updated entities here - https://groups.google.com/d/msg/google-appengine/mjnSqQWOfqU/cgPVeHbrR8oJ -- You received this

RE: [google-appengine] Redirect Dead Apps?

2011-11-18 Thread Brandon Wirtz
The Guys at Google offered to Alias these for me, but I instead built an app that does 301's to a new URL. I'll test it for a while before I make the source public, but if you are in need of this app shoot me a note and I'll share it. After it has baked for a week, and I have done some

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-18 Thread WallyDD
I have always wondered the same thing. One minute there is an issue, a few days later it never happened. Google is far from alone with such issues which is why there are websites/services that monitor cloud status. It may be a little unfair calling the app engine team dishonest. Trying to change

Re: [google-appengine] Re: 1.6.0 is now launched

2011-11-18 Thread PK
Alfred/Alexis, have you gotten anywhere with this issue? Is there a case opened? I agree that what Alexis reports is indeed a very serious issue. Please take a look at issue 6355http://code.google.com/p/googleappengine/issues/detail?id=6355for the way it manifests itself in my environment.

[google-appengine] Re: Redirect Dead Apps?

2011-11-18 Thread WallyDD
I get to read this at the same time as I am going through doing a whole bunch of redirects. Feel free to show me what you have (now or in a week) in case I need to do some changes. On Nov 18, 7:34 pm, Brandon Wirtz drak...@digerat.com wrote: The Guys at Google offered to Alias these for me, but

[google-appengine] Re: Redirect Dead Apps?

2011-11-18 Thread Niklas Rosencrantz
I'd like to know what the aforementioned multitenancy is. I try to achieve multtenancy with python with limited results since I learn that namespaces can only know one namespace at a time so I can't display eveything from a datastoreeven though it's the same app, I think. I use python and I

RE: [google-appengine] Re: Redirect Dead Apps?

2011-11-18 Thread Brandon Wirtz
I'm on Python. I tenant by domain. I don't have logins, which makes my scenario easier. I'll get a link up to the redirector on or around Thanksgiving. We adopted (late in the game) a naming convention of Product-Edition-OptionalClientName We still have clients running specific apps

[google-appengine] Re: Datastore Write Operations is 16x more of other operations

2011-11-18 Thread James Gilliam
The default is to indexed all properties in an Entity. You have to say indexed = False or you will get crazy high indexed writes. IMO, default should be False. On Nov 18, 4:04 pm, Tom Fishman tom.fish...@dishcrunch.com wrote: Hi, Our data-store operation statistics is strange, writing

[google-appengine] Re: Why does blobs query with -creation take so long

2011-11-18 Thread James Gilliam
I am looking up a blob in the blob store with filename and -creation filter. Runs very slow even though there is a compound index built. On Nov 16, 10:58 pm, Max thebb...@gmail.com wrote: Do you mean to query a kind in datastore with blob properties? How many blobs do you have per each entity