[appengine-java] overcome onetomany limitation of 5000

2011-05-12 Thread lp
hi all i am modelling a unowned one-to-many relationship using list properties. @Entity public class User{ String name; Boolean loggedIn; @Basic private ListKey friends; } all is good. i can run queries like query = Select p from PositionUser p where p.friends = :userKey and +

[appengine-java] Servlet Filter is receiving a null chain parameter from time to time

2011-05-12 Thread Stream18
Hi, I wonder if somebody else has seen this error before. My application has a Servlet Filter (that sets Namespace) for all urls, and, from time to time, the Filter receives a null as value for chain parameter from the platform, so I get a NullPointerException as I try to follow the chain with

[appengine-java] Concurrent modification results in Entity being deleted

2011-05-12 Thread mscwd01
Hey I have an Entity which contains a ListEntity property that stores child entities. I have found a bug in my app where during concurrent modification of child entities all of the children in the parent entities list will be deleted. Firstly, why does this happen? Surely it'd be better to throw

[appengine-java] Should JDO use be synchronized in threadsafe=true application?

2011-05-12 Thread Juha K
I've been running an application successfully for some time on the app engine. During last week I've couple of times tried enabling threadsafe in my app. It seems to randomly cause issues with retrieving or storing data with JDO. What I see when I start to get these issues is this (I've

[appengine-java] Unable to upload more than 1 Mb file in Google App engine 1.5

2011-05-12 Thread aptest1 actiprocess
Hi, When i try to upload more than 1 MB (Around 2 Mb) i get an error com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call urlfetch.Fetch() was too large. at

[appengine-java] Re: HTTP request and response sizes have been increased to 32 MB.... NOT

2011-05-12 Thread aptest1 actiprocess
Yes, we are also getting same problem. We are updated latest Google app engine 1.5, then if we try to upload the file more than 1 MB Its throwing the following exception. com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call urlfetch.Fetch() was too large. at

[appengine-java] Scripting disabled? Does not work after SDK-update to 1.5

2011-05-12 Thread Stefan Krecher
Hi, creating a ScriptEngine in a servlet like this: ScriptEngineManager factory = new ScriptEngineManager(); ScriptEngine engine = factory.getEngineByExtension(js); (or using the String JavaScript instead of js) does not work, engine is null. doing: logger.warning(num engines= +

[appengine-java] Backends Javadoc Reference not uploaded

2011-05-12 Thread blue
Hey google team, the backends javadoc reference hasn't been uploaded to the app engine docs area. I just read it locally so it's not a big deal but thought you should know. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] Backends Thread.sleep()? or similar?

2011-05-12 Thread blue
When running a backend, what is the suggested method for something like this: while(true){ doSomething(); Thread.sleep(1000); } Do you have any tricks to replicate this behavior? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Will movement out of preview status give free access to SQL

2011-05-12 Thread powell...@gmail.com
The latest app engine announcement that most App Engine for Business functionality would be rolled in to App Engine. Does this mean that all current developers will have access to the SQL data store or will this just be for paying customers? If yes then will the access be through JPA or JDBC?

[appengine-java] Backends.xml ERROR when deploying

2011-05-12 Thread JakeP
I want to try using backends with java, so I created this xml spec - which I copied from the appengine docs and added my own name: backends backend namemother/name classb4/class instances1/instances /backend /backends I always results in this: An internal error occurred during:

[appengine-java] imagesService.applyTransform cannot transform some PNG ? Why ?

2011-05-12 Thread Teng Shiu Huang
I am evaluating imagesService.applyTransform() to transform images(from URL) to specific width/height. It's documented that PNG is supported. But it seems it doesn't understand some PNG file. for example :

[appengine-java] Re: Can remote api be used inside a GAE java app.

2011-05-12 Thread Ole Spielberg
Anyone ? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com.

[appengine-java] Re: Can remote api be used inside a GAE java app.

2011-05-12 Thread Didier Durand
Hi, Don't know if what you do is possible but why don't you just obtain the data that you need from the other application via simple requests to servlets delivering the needed data. By using Java standard object serialization, you can achieve what you need whatever the object class via a unique

[appengine-java] Re: imagesService.applyTransform cannot transform some PNG ? Why ?

2011-05-12 Thread Didier Durand
Hi, Do you have the issue on your dev machine or on productive infrastructure: I remember having issues with PNGs on my dev machine but that would work ok on live machines regards didier On May 12, 8:27 pm, Teng Shiu Huang small...@gmail.com wrote: I am evaluating

[appengine-java] Re: imagesService.applyTransform cannot transform some PNG ? Why ?

2011-05-12 Thread Teng Shiu Huang
sorry , I've found the reason. (the url is incorrectly toLowerCase) Sorry to disturb you. -- 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 unsubscribe

[appengine-java] Re: App engine SDK jars in WEB-INF/lib. Why???

2011-05-12 Thread arjan tijms
Hi ya! On May 12, 1:05 am, Didier Durand durand.did...@gmail.com wrote: 1 of the reasons is that all applications don't run all at the same version on the gae productive infrastructure. So, google would have to know which one you are using in order to put it for you in your war when you

Re: [appengine-java] Re: App engine SDK jars in WEB-INF/lib. Why???

2011-05-12 Thread Toby Reyelts
arjan, There are two sides to the App Engine API: the client and the server. The client side (appengine-api.jar) lives entirely in user-land. If you so chose, you could create your own version of these classes. In the end, the client ends up talking to the server through a binary protocol in

[appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-12 Thread Nichole
I've been programming to the jcache interface that's included in the appengine sdk javax.cache.Cache and that still works in SDK 1.5.0. appengine's service locator (MemcacheService) finds the implementation for the interface. import javax.cache.Cache; import javax.cache.CacheException; import

[appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-12 Thread DanielP
I have the same issue: Eclipse cannot find: com.google.appengine.api.memcache.jsr107cache.GCacheFactory .. and if I change it to com.google.appengine.api.memcache.stdimpl.GCacheFactory .. then I get the exception. I need the GCacheFactory when I set the expiration:

[appengine-java] Re: Backends.xml ERROR when deploying

2011-05-12 Thread JakeP
I see now that the documentation online is erroneous. I found the sample xml file in the sample Hello project and copied it. backends backend name=mother classB4/class options publicfalse/public /options /backend /backends -- You received this message because you are

[appengine-java] Re: App engine SDK jars in WEB-INF/lib. Why???

2011-05-12 Thread Nichole
Just a quick summary, the servlet spec requires that a servlet container such as appengine provider an implementation for a service. Those jars such as servlet- api-2.4.jar are needed at compile time. They are sometimes provided by the servlet container/ engines at run time in a global directory

[appengine-java] Re: Can remote api be used inside a GAE java app.

2011-05-12 Thread Max Ross
This is on our radar but it's not yet supported. Max -- 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 unsubscribe from this group, send email to

[appengine-java] Re: Will movement out of preview status give free access to SQL

2011-05-12 Thread Max Ross
We don't have anything to announce related to SQL pricing and quotas, but the access for Java apps will be through JDBC. Max -- 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] Re: Backends Javadoc Reference not uploaded

2011-05-12 Thread Max Ross
I see it here in com.google.appengine.api.backends: http://code.google.com/appengine/docs/java/javadoc/ Where are you looking? Max -- 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] Re: Backends Javadoc Reference not uploaded

2011-05-12 Thread blue
The link from the main app engine docs webpage links to this: http://code.google.com/appengine/docs/java/com/google/api/backends/package-summary.html Start here: http://code.google.com/appengine/docs/ Go to Java -- Backends -- Javadoc Reference -- You received this message because you are