[appengine-java] Building Session affinity manually

2011-06-22 Thread Inderjeet Singh
I am using HttpURLConnection to connect to my JSON services deployed on the AppEngine. I would like to build session affinity: i.e., all requests from a client should go the same app-engine instance (best effort, not a hard requirement). Is there a way to build this? For example, is there a

[appengine-java] Re: Getting STREAMED error whne trying to read InputStream

2011-06-22 Thread markus
On May 29, 3:59 am, juantar jpta...@gmail.com wrote: I am getting aSTREAMEDerror when trying to read the InputStream from a POSTed HttpServletRequest. It worked perfectly in 1.3, but it is not working in 1.5. The following is the code: public void doPost(HttpServletRequest request,

[appengine-java] Re: Getting STREAMED error whne trying to read InputStream

2011-06-22 Thread markus
On May 29, 3:59 am, juantar jpta...@gmail.com wrote: I am getting aSTREAMEDerror when trying to read the InputStream from a POSTed HttpServletRequest. It worked perfectly in 1.3, but it is not working in 1.5. The following is the code: public void doPost(HttpServletRequest request,

Re: [appengine-java] Re: Confused about loading vs. non-loading requests when threadsafe on

2011-06-22 Thread Jon McAlister
On Tue, Jun 21, 2011 at 6:33 PM, Tom Phillips tphill0...@gmail.com wrote: Hi Jon, I raised issue http://code.google.com/p/googleappengine/issues/detail?id=5214 on the non-loading requests resulting in instance deaths with threadsafe on. It was a bit more verbose than it probably needs to be,

[appengine-java] Is App Engine having problems? Cant load specific kind of Entity

2011-06-22 Thread mscwd01
Hey I just noticed my app stopped working correctly so I opened the logs and went back as far as I could (about an hour) and I noticed my app wasn't able to load a specific kind of entity. Going by my current CPU usage it seems like the issue has been ongoing for several hours. Whilst trying to

[appengine-java] Re: Is App Engine having problems? Cant load specific kind of Entity

2011-06-22 Thread mscwd01
Okay I just got a single log entry pop up that may offer some insight to the problem. It reads: Too much contention on these datastore entities. please try again. I have noticed a slight increase to the number of requests received today (so far 40k), could it be some unforeseen issue that occurs

[appengine-java] Multiple issues with eclipse 1.5.1 update

2011-06-22 Thread Scott
I updated the Google Plugin and App Engine SDK bundles for Eclipse today and am having a number of problems. First my configuration: OS: Ubuntu Linux 11.04 Eclipse: Version: Helios Service Release 2 Build id: 20110218-0911 Plugins: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634

[appengine-java] JDO M-N Attributed Relation

2011-06-22 Thread Max Pfeiffer
Hello everybody, I am doing that JDO tutorial ( http://code.google.com/intl/de-DE/appengine/docs/java/datastore/jdo/relationships.html#Unowned_Relationships) and playing around with the unowned relationships. Dose the M-N Attributed Relations work with GWT such as in the JDO Guides

[appengine-java] Session Cleanup

2011-06-22 Thread Prakash
I saw this thread about setting up your own cron job for session cleanup. http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a/875921846a160b52?lnk=gstq=session+cleanup#875921846a160b52 The thread date backs from 2009. This seems something that could be

[appengine-java] Eclipse App Engine Deploy Does Nothing

2011-06-22 Thread Mike Davis
I recently installed the google app engine plug in for eclipse. I created a small sample project, and entered my application id into the xml file. When I click on the button for Deploy App Engine Project absolutely nothing happens. I don't get any popups or console out put or anything. Also,

[appengine-java] Re : Re: Moderation enabled

2011-06-22 Thread finder-auto_admin
Hello Jason, sorry I didn't see this post nor the message saying I had to wait for moderation. So I double posted thinking I had done something wrong in the process I tried to delete my second post but couldn't find it. Sorry about that. -- You received this message because you are

[appengine-java] Improving App Engine developer-experience (by community or by Google)

2011-06-22 Thread Kallex
Hello, Is there any centralized community effort for focusing in particular end-developer experience for larger scale for App Engine or is Google main driving force for improvements? I know that the question sounds a bit odd, but let me explain the background. There is a completely

[appengine-java] M-N Attributed Relation

2011-06-22 Thread Max Pfeiffer
Hallo again, i am doing a the App Engine JDO tutorial and plaining with relations. Is it possible to do m-n attributed relation such as explain in the JDO Guides? If it is possible please give a small example how to use it. Thank you for your Help. Regards, Max App Engine JDO tutorial:

[appengine-java] Error while installing Google SDK/Plugin in Eclipse 3.6.2

2011-06-22 Thread Matt Rogghe
Received the following error: An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at

[appengine-java] Did JPA cash the query results?

2011-06-22 Thread Kuba
Hi all, I`m wana know if the JPA cashes the result of a OneToOne or OneToMany query, i mean if i have a Team class that contains Player class. when i consult any player did the JPA does another query to get these players? and if i`ve already consult this player, and make another reference to it,

[appengine-java] Problem with Query.FilterOperator.IN Options

2011-06-22 Thread Khang Nguyen
Hi, I have a problem while using Query.FilterOperator.IN: SEVERE: Exception : java.lang.IllegalArgumentException: Filter has 2 properties, expected 1com.google.appengine.api.datastore.DatastoreApiHelper.translateError(Datas toreApiHelper.java: 36) This is my code:

[appengine-java] Unit Testing With JPA

2011-06-22 Thread Joseph Vargas
I'm writing a simple JUnit test class which uses the utilities mentioned here: http://code.google.com/appengine/docs/java/tools/localunittesting.html I'm stuck trying to persist more than one instance of simple entity in a single transaction. Every time I run the test shown below, it fails

[appengine-java] Deployment error: Client Error (400)

2011-06-22 Thread Escion
I'm trying to deploy my app (using Eclipse), but I have an issue. The log is posted below. Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=ConsorzioProdottiBiologiciversion=1; 400 Bad Request Client Error (400) The request

[appengine-java] Thread in servlet to prevent from Deadline 30s exception

2011-06-22 Thread finder-auto_admin
Hello all, I just tried to import data in my datastore from a big csv file and I got the Deadline exception because my request took more than 30 seconds. I know nobody would wait for 30s to get a page loaded but this is a load of data that an admin of the application i'm trying to build would

[appengine-java] Best practice for importing a lot of data in the datastore

2011-06-22 Thread finder-auto_admin
Hello all, I just tried to import data in my datastore from a big csv file and like others, I got the Deadline exception because my request took more than 30 seconds. I know nobody would wait for 30s to get a page loaded but this load of data is triggered when I click on a load data on an

[appengine-java] Re: Is App Engine having problems? Cant load specific kind of Entity

2011-06-22 Thread Didier Durand
Hi, Don't you have some datastore entities that are used in every request or so? Let's say a global counter of requests or sthg equivalent. That entity would be updated in every request, hence the contentions as you trafic raises. regards ddoer On Jun 22, 11:59 pm, mscwd01 mscw...@gmail.com

[appengine-java] Re: Problem with Query.FilterOperator.IN Options

2011-06-22 Thread Khang Nguyen
I just move the code for preparing the query down after adding filter, now it works without any problem -- 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