google-app-engine

How do I return an Array from grails / jdo to Flex

this seems really simple but I haven't gotten this to work. I am building my app with grails on google app engine. This pretty much requires you to use JDO. I am making an HTTP call from flex to my app. The action that I am calling on the grails end looks like so def returnShowsByDate = { def query = persistenceManager.newQuery( Sh...

is there any way to enforce the 30 seconds limit on local appengine dev server?

Hey, i was wondering if there is a way to enforce the 30 seconds limit that is being enforced online at the appengine production servers to the local dev server? its impossible to test if i reach the limit before going production. maybe some django middlware? ...

urllib2.URLError: <urlopen error (10054, 'Connection reset by peer')> on gae.

i can't Deploy data on gae , so i use this "appcfg.py rollback myapp/" but ,it is not useful this time ,and the error is : Application: zjmzjm1126; version: small-forum. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-06-13 09:54:35,155 ERROR appcfg.py:1568 An ...

"Content is not allowed in prolog" when parsing perfectly valid XML on GAE

Hey guys, I've been beating my head against this absolutely infuriating bug for the last 48 hours, so I thought I'd finally throw in the towel and try asking here before I throw my laptop out the window. I'm trying to parse the response XML from a call I made to AWS SimpleDB. The response is coming back on the wire just fine; for examp...

What is "read operations inside transactions can't allow failover" ?

From time to time I got the following exception message on GAE for my GAE/J app. I searched with Google, no relevant results were found. Does anyone know about this? Thanks in advance for any response! The exception message is as below: Nested in org.springframework.orm.jpa.JpaSystemException: Illegal argument; nested exception ...

Appengine Model SelfReferenceProperty and parent child relationship

I have a scenario in which I need a self reference property as follow: class Post(db.Model): creator = db.UserProperty() post_title = db.StringProperty(required=True) post_status = db.StringProperty(required=True, choices=['draft', 'published']) post_parent = db.SelfReferenceProperty() Now, I want ensure that an entity shouldn...

Task Queue Java API

Hi when i started to work on Task queue concept i got struck on this line queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url("/path/to/my/worker")); What will DatastoreServiceFactory do... How to redirect this page to another servlet.... in the url i gave .url("/myservlet"...

Comments on this assumption about running on dev server vs a real instance in app engine (python)?

Hello app engineers! I'm on an app engine project where I'd like to put in a link to a Javascript test runner that I'd like to only exist when running the development server. I've made some experiments on a local shell with configuration loaded using the technique found in NoseGAE versus live on the 'App Engine Console' [1] and it looks ...

How to run Ruby on Rails on App Engine

There seems to be several technology demos such as http://rails-primer.appspot.com/ on how to run Rails on App Engine. What would be the easiest way to run Rails on App Engine? ...

How to filter entities by their parents in ManyToOne side in Google App Engine

I use Google App Engine. When I try to do a JPA query like this: SELECT p FROM Participant p WHERE p.party.id = :partyKey AND p.name=:participantName I get the following error Caused by: org.datanucleus.store.appengine.FatalNucleusUserException: SELECT FROM Participant p WHERE p.party.id = :partyKey AND p.name=:participantName: ...

app engine requests logs show all static file sizes zero byte???

I need to analyze app engine logs to know the bandwidth used. All requests show 0b for static files. How to change this behavior? ...

App Engine HTTP 500s

This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. I've handled all the situations, also DeadlineExceededError too. But sometimes I see ...

Appengine datastore phantom entity - inconsistent state?

Getting a weird error on java appengine code that used to work fine (nothing has changed but the data in the datastore). I'm trying to iterate over the results of a query and change a few properties of the entities. The query does return a set of results, however, when I try to access the first result in the list, it throws an exceptio...

Google App Engine django model form does not pick up BlobProperty

I have the following model: class Image(db.Model): auction = db.ReferenceProperty(Auction) image = db.BlobProperty() thumb = db.BlobProperty() caption = db.StringProperty() item_to_tag = db.StringProperty() And the following form: class ImageForm(djangoforms.ModelForm): class Meta: model = Image When...

Appengine not compiling my .jspx files

I have a little app that runs fine on local dev appengine, but appengine itself is not processing my .jspx files. The jspx files are in WEB-INF so they should not be excluded by appengine (as a static resource) I am using Apache Tiles to define my views. So the html produced looks like this: <html xmlns:jsp="http://java.sun.com/...

Google App Engine - Delete until count() <= 0

What is the difference between these 2 pieces of code? query=Location.all(keys_only=True) while query.count()>0: db.delete(query.fetch(5)) # -- while True: query=Location.all(keys_only=True) if not query.count(): break db.delete(query.fetch(5)) They both work. ...

Aspect Oriented Programming for Google App Engine (Java)

What are some good aspect oriented programming libraries/frameworks that will run on google app engine (Java version)? ...

Can Google App Engine ever support SSL with custom domains (i.e. with Google Apps)?

I know that GAE does not support this yet, but is there any reason it can't be done? If they can add support, I'd assume they're working on that. Have they said anything about this publicly? ...

appengine log console extremely slow

I am using the python app engine and finding that the log console on the local development server is terribly slow. Output to this window seems to show in chunks of about 5-15 lines every second. Is that typical? I find that it's so slow that it hinders my debugging time waiting for log data to appear. ...

Can JPA do batch update | put | write | insert as pm.makePersistentAll() does in GAE/J

I searched through multiple discussions here. Can someone just give me a quick and direct answer? And if with JPA you can't do a batch update, what if I don't use transaction, and just use the following flow: em = emf.getEntityManager // do some query // make some data modification em.persist(..) // do some query // make some data modi...