[appengine-java] Unable to Deploy to app engine with session enabled

2010-07-05 Thread Hariharan Anantharaman
Hi, I am using Appengine SDK 1.3.5 and Eclipse Ganymede version Version: 3.4.1. I am able to run my application in local server with *sessions-enabled *set as True. But with this setting, i am unable to deploy to google app engine(in eclipse select project-->Right click-->google-->Deploy to app

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Thomas
Hi Adrian: By plain normal servlet I meaned the url path (of the call to blobstoreService.createUploadUrl(url) ) is mapping to a simple plain HttpServlet implementation. And it is better to have the servlet bypass any filter mapping in development phase. It's how I finally succeeded to upload

Re: [appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Adrian Petrescu
Hi Thomas, Thanks for your reply :) But I'm not sure what you mean by "a plain normal HttpServlet#doPost to handle the upload"; in what sense am I not doing that? Do you mean the fact that I'm uploading to Blobstore? Why would that be a problem, and how else would I get them in there? Thanks, Adr

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Thomas
Hi: I read the post on Stack Overflow. My opinion is that you had better use a plain normal HttpServlet#doPost to handle the upload. I also encountered 500 Internal Server Error, but it worked well after I replace original handler with a plain servlet. Hope the above helps! On 7月6日, 上午8時25分, Adr

[appengine-java] Re: Help! Datastore Viewer Server Error

2010-07-05 Thread Tapir
>From this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/af0110d8f8d2f7c9/4a5678166394452f?lnk=gst&q=Server+Error+byte#4a5678166394452f I find it said byte[] is not valid table field type. Then I cheked my app, there is no byte[] types, but there are 2 byte field

[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-07-05 Thread Adrian Petrescu
I've also posted about the issue on Stack Overflow here: http://stackoverflow.com/questions/3177092/uploading-to-blobstore-gives-a-java-heap-outofmemoryerror Hopefully getting some more eyeballs on it will help. On Jul 4, 10:47 pm, Adrian Petrescu wrote: > I'm having the exact same issue too, do

[appengine-java] Re: Maximum size of blob data on AppEngine

2010-07-05 Thread Tapir
for the com.google.appengine.api.datastore.Blob type, max size is 1M bytes. I get this info from the pyhon document: http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html#Strings_Long_Strings_and_Blobs On Jul 6, 1:36 am, dudu wrote: > What's the maximum size of a blob data

[appengine-java] Help! Datastore Viewer Server Error

2010-07-05 Thread Tapir
Server Error A server error has occurred. Return to Applications screen » For 3 days, I feel helpless. I really can't understand where is wrong. -- 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: New Content-Length must be specified error

2010-07-05 Thread timzon
Same problem here too, but from Chrome 6 on Mac: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/ 534.2 (KHTML, like Gecko) Chrome/6.0.447.0 Safari/534.2,gzip(gfe)" Using GWT: 2.0.4 and GAE 1.3.5 On Jul 2, 1:38 am, steveb wrote: > I've got an application that just started p

[appengine-java] generating sequence for persistence classes like Country and so on ...

2010-07-05 Thread cscsaba
Hello, What is the best practice to generation sequence ids for persistence classes like Country's id (for Country drop down)? I mean: 1.Hungary 2.US 3.Spain The well known Toplink annotation help suggest the following. @SequenceGenerator(name="CUST_SEQ", allocationSize=25) @GeneratedValue

[appengine-java] Re: Maximum size of blob data on AppEngine

2010-07-05 Thread Didier Durand
Hi, 2 gigabytes according to http://code.google.com/appengine/docs/java/blobstore/overview.html (see bottom) didier On Jul 5, 7:36 pm, dudu wrote: > What's the maximum size of a blob data I can store in one single > registry of the BigTable, on Appengine? -- You received this message because

[appengine-java] Maximum size of blob data on AppEngine

2010-07-05 Thread dudu
What's the maximum size of a blob data I can store in one single registry of the BigTable, on Appengine? -- 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-j...@googlegroups.com. T

Re: [appengine-java] Data handling in GAE: BigTable vs. OO Data models

2010-07-05 Thread John Patterson
On 5 Jul 2010, at 14:44, MArtin Schumacher wrote: i.e. in my example I have two associations between Person and ContactData. One holds all ContactData of a Person, the other marks the registrationData. The registrationData is included in all ContactData. As I learned, I cannot use a field of typ

Re: [appengine-java] populate datastore with a new kind

2010-07-05 Thread John Patterson
You can upload and download data using the RemoteDatastore: http://code.google.com/p/remote-datastore/ It works at the binary level so you can use it with JDO, Twig, Objectify, low-level API etc On 4 Jul 2010, at 16:00, dukefan wrote: Hello, Does anybody have a procedure to create a kind i

[appengine-java] Datastore questions

2010-07-05 Thread Bert Peters
A while ago there was a problem with arrays and lists, once persisted, not getting updated properly after a change of a certain value. I have two questions on that matter. 1. Does that still occur? 2. Does this bug affect (Hash)Maps as well? Kind regards, Bert Peters. -- You received this messag

[appengine-java] JPA Collection of Embeddables

2010-07-05 Thread laserjim
Hello, I'm trying to persist a collection of embeddable/serializable objects as one of the fields in my entity. I've seen the trick where you wrap the list in another serializable class and store the whole thing as a lob, but that feels like a hack. As far as I can tell, the jpa way to do this i

Re: [appengine-java] Re: SDK 1.3.5 released!

2010-07-05 Thread Christian Goudreau
My bad, Import were fucked up and didn't pay attention. Christian On Mon, Jul 5, 2010 at 11:39 AM, John Patterson wrote: > Yes it is still there: > > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreServiceConfig.html > > It is most useful to speci

Re: [appengine-java] Re: SDK 1.3.5 released!

2010-07-05 Thread John Patterson
Yes it is still there: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreServiceConfig.html It is most useful to specify EVENTUAL read consistency to increase performance by decreasing error rates due to contention. On 5 Jul 2010, at 20:22, Christ

[appengine-java] Re: Automatic restart of development server in Eclipse

2010-07-05 Thread l.denardo
This is true only for the GWT client side (and not completely, since Gin modules don't seem to be refreshed correctly). For server side, JSPs look to be refreshed automatically, but you must reload the server to have your RPC services updated. If you use Eclipse there's a reload icon in the "Devel

Re: [appengine-java] Re: SQL Like operator with %

2010-07-05 Thread RAVINDER MAAN
You mean retrieve all entities and then use contains method? On Mon, Jul 5, 2010 at 8:29 AM, Khor Yong Hao wrote: > Why not directly use String.contains("searchstring") method? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" grou

Re: [appengine-java] Re: SDK 1.3.5 released!

2010-07-05 Thread Christian Goudreau
DatastoreServiceConfig doesn't exist anymore !? void setServiceFromConfig(DatastoreServiceConfig config); I should chande this to what ? Christian On Thu, Jul 1, 2010 at 2:00 PM, Ikai L (Google) wrote: > End cursors allow you to set a query to say, "stop this query when you get > to this cur

[appengine-java] Discussion on will-it-play-in-app-engine

2010-07-05 Thread Bert Peters
I succesfully tested FreeMarker (www.freemarker.org) on App Engine. Care to add it to the list? -- 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-j...@googlegroups.com. To unsubsc

[appengine-java] New to Google App Engine: App Engine + GWT

2010-07-05 Thread alan
I'm COMPLETELY new to Google App Engine, but am moderately experienced with GWT, and am a very experienced Java developer. I've recently decided to go "all in" and learn App Engine, but have numerous questions that I've not so far seen answers to in the documentation. I'd like to ask the series of

[appengine-java] populate datastore with a new kind

2010-07-05 Thread dukefan
Hello, Does anybody have a procedure to create a kind in the datastore (in development and production mode) using a script ? The new step is for example to upload data reference to the datastore, in python it is possible using http://code.google.com/intl/fr/appengine/docs/python/tools/uploadingdat

Re: [appengine-java] Re: SQL Like operator with %

2010-07-05 Thread Khor Yong Hao
Why not directly use String.contains("searchstring") method? -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to

[appengine-java] Automatic restart of development server in Eclipse

2010-07-05 Thread jesbox
Hi! I have read that it should be sufficient to save a java source file and that the development server would reload the class. Then I could reload the page and it would be the latest version I would look at. This does not happen to me, I have to stop the development server and then run the applic

[appengine-java] Data handling in GAE: BigTable vs. OO Data models

2010-07-05 Thread MArtin Schumacher
Hi everyone, I wanted to try GAE for a tiny private project to test the technology. I am working with a Data model looking like this: http://yuml.me/284c95e9 Persisting of each entity works fine. Just when I try to handle the associations, I am confused. i.e. in my example I have two associatio