Re: [appengine-java] App Engine SDK 1.3.3 is out!

2010-04-22 Thread Guillaume Laforge
On Thu, Apr 22, 2010 at 23:42, Toby Reyelts wrote: > [...] >> What about a property like com.google.appengine.environment, that >> could have "local" or "production" as values? >> I know there are some other mechanisms to check that, but that would >> be interesting to have that convention availab

[appengine-java] Handling concurrent modification

2010-04-22 Thread Phuong Nguyen
Hi guys: I'm creating an app that I need to deal with concurrent modification of object. Given I have an object that I need to store on memcache. Now, given my user base would be big enough for two request to arrive simultaneously at two different servers in the cloud. So, in order to modify t

[appengine-java] Error:Server Error

2010-04-22 Thread Anil
Hi, I deployed the default web app to the App Engine. (It works well on my local). When someone does a get they should get Hello back. Also when someone clicks on the App name in the app homepage they should be seeing the Hello on the UI. But when i do that i get below error:- Error: Server Err

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-22 Thread Steve Ziegler
Seeing the same thing with our application's use of guice-servlet. Tested a deployment using 1.3.3 this afternoon and started getting a ton of 404s -Steve Ziegler On Apr 22, 9:43 am, Miroslav Genov wrote: > Sorry about the mistaken, I mean: " on GAE or in the sitebricks > library." instead of "

[appengine-java] Re: noob question: HTML rendering as escaped in HTML widget

2010-04-22 Thread Larry White
doh. I was setting the HTML content with setText() instead of setHTML(). so, uh, nevermind. thanks On Thu, Apr 22, 2010 at 5:54 PM, Larry White wrote: > I have a text string created in the RichTextArea widget. When viewed in > that widget it shows as HTML with all the expected formatting (bold,

Re: [appengine-java] TaskOptions.countdownMillis not used

2010-04-22 Thread Max Ross (Google)
What is the value of the delay variable? On Thu, Apr 22, 2010 at 1:21 PM, Fabrizio wrote: > Hello, > > I need to add a task in the TaskQueue. But I need a small delay before > exectution (2 seconds). I use countdownMillis(long) to delay the > execution. But execution starts immediatelly. I don'

[appengine-java] noob question: HTML rendering as escaped in HTML widget

2010-04-22 Thread Larry White
I have a text string created in the RichTextArea widget. When viewed in that widget it shows as HTML with all the expected formatting (bold,etc.) When viewed in my com.google.gwt.user.client.ui.HTML widget it renders as if escaped, with all the markup visible. I've checked in Firebug and it doesn

[appengine-java] latest 1.3.3.v201004211208 does not show up after installation

2010-04-22 Thread Mr. Schtief
hi, i just installed 1.3.3.v201004211208 and it does not show up in my eclipse. there is no google entry in preferences and in new projects. if i try to reinstall it, it let me choose it, but after that it says its already installed. of course i did an eclipse restart. whats the problem? the 1.3.

[appengine-java] Calling the remoteserviceServlets without using GWT

2010-04-22 Thread skk
So I have a google app-engine as the server side engine (Java) + GWT (Java) as the client working pretty well - www.bharatbyrail.com ; a question that's going to come up is to allow people to access the services that are on the server / app-engine side WITHOUT using a GWT based client; accessing th

[appengine-java] Re: App Engine SDK 1.3.3 is out!

2010-04-22 Thread Mr. Schtief
as i just wrote in a new post, the new eclipse plugin does not install right in my eclipse. it does not show in preferences or new project wizard. how can i get the working 1.3.2? thanks schtief On 22 Apr., 07:58, Guillaume Laforge wrote: > Well done for the release! > > By the way: > > On Thu,

Re: [appengine-java] App Engine SDK 1.3.3 is out!

2010-04-22 Thread Toby Reyelts
On Thu, Apr 22, 2010 at 1:58 AM, Guillaume Laforge wrote: > Well done for the release! > > By the way: > > On Thu, Apr 22, 2010 at 00:37, Ikai L (Google) wrote: > > [...] > > - Added two new system properties com.google.appengine.application.idand > > com.google.appengine.application.version >

[appengine-java] TaskOptions.countdownMillis not used

2010-04-22 Thread Fabrizio
Hello, I need to add a task in the TaskQueue. But I need a small delay before exectution (2 seconds). I use countdownMillis(long) to delay the execution. But execution starts immediatelly. I don't understand if my code is wrong or if there is a problem with countdownMillis. My code is: Queue qu

Re: [appengine-java] App Engine SDK 1.3.3 is out!

2010-04-22 Thread Don Schwarz
2782 isn't fully fixed. We now guarantee that DeadlineExceededException has been caught by someone before HardDeadlineExceededError is thrown, but we still don't always guarantee that you'll get either exception. If you are in a tight-bound CPU loop you may miss both notifications and just get a

Re: [appengine-java] App Engine SDK 1.3.3 is out!

2010-04-22 Thread Esteban Ignacio Masoero
Excellent! Shouldn't the issue 2782 be marked as fixed? Thanks, Esteban On Thu, Apr 22, 2010 at 2:58 AM, Guillaume Laforge wrote: > Well done for the release! > > By the way: > > On Thu, Apr 22, 2010 at 00:37, Ikai L (Google) wrote: > > [...] > > - Added two new system properties com.google.ap

Re: [appengine-java] Re: WARNING: 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 t

2010-04-22 Thread Ikai L (Google)
You're getting this warning because your requests are mostly loading requests. As your traffic grows, this will go away, since less of your requests will be startup requests. It's there to tell you that your app isn't running slow - it's taking more time than it normally should because of initializ

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-22 Thread Felipe Quintella Correia
I'll be sure it's on the runtime classpath as soon as I am home. Thank you Felipe Quintella 2010/4/22 Max Ross (Google) > > Make sure appengine-api-labs.jar is on your runtime classpath. > > Max > > On Wed, Apr 21, 2010 at 9:00 PM, Felipe Quintella < > felipequintell...@gmail.com> wrote: > >>

Re: [appengine-java] use userService and Google Data API

2010-04-22 Thread Ikai L (Google)
No, the best way (and recommended way) is to get the token from GData and store that. Don't store user passwords. On Thu, Apr 22, 2010 at 5:04 AM, Joost Bloemsma wrote: > Hi, > > I am creating an app that has to access some data over the Google Data > API. To do so the user has to be authenticate

Re: NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with "IN" -- IllegalArgumentException)

2010-04-22 Thread Larry White
Ok, So I can reliably recreate the issue. My app works fine with Objectify 2.02 and 2.1 but fails on the first DB read with 2.2. Any help would be appreciated. On Thu, Apr 22, 2010 at 12:36 PM, Jeff Schnitzer wrote: > It's in appengine-api-1.0-sdk-1.3.2.jar (or presumably 1.3.3)... it's > hard to

Re: [appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-04-22 Thread Esteban Ignacio Masoero
Yes, I've done the same thing. In my case, the numbers about initialization are these: 3 sec - gae (apparently some internal thing) 2 sec - presentation framework initialization (wicket in my case) 4 sec - 2 sec for pm factory creation + 2 sec for 2/3 queries I make 1 sec - wicket and maybe some o

Re: [appengine-java] QueueFactory and NoClassDefFoundError

2010-04-22 Thread Max Ross (Google)
Make sure appengine-api-labs.jar is on your runtime classpath. Max On Wed, Apr 21, 2010 at 9:00 PM, Felipe Quintella < felipequintell...@gmail.com> wrote: > Hello there. > > I'm new to Google AppEngine, but I'm already searched and can't find > the answer to my problem. > > I am trying to add a t

Re: NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with "IN" -- IllegalArgumentException)

2010-04-22 Thread Jeff Schnitzer
It's in appengine-api-1.0-sdk-1.3.2.jar (or presumably 1.3.3)... it's hard to imagine your project compiles without it! Jeff On Thu, Apr 22, 2010 at 5:31 AM, Larry White wrote: > I just upgraded - thanks for the amazingly quick turnaround on my bug btw!! > > Unfortunately, I'm now getting >  jav

Re: [appengine-java] Re: WARNING: 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 t

2010-04-22 Thread Tristan Slominski
Don't worry about it, it really should be INFO. Its telling you that another jvm started to serve the requests. Its a warning because the assumption is that it is taking you too long to bservice requests and if the trend continues you'l keep starting new jvms eating up your quota. If you think you'

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-04-22 Thread Jake
I'm also still seeing this issue. I have an open ticket here: http://code.google.com/p/googleappengine/issues/detail?id=2931 but it's not getting much attention :) Anyways, I've seen this as encouragement to make my startup time much more efficient, so I guess that's a good thing :) My remaining

[appengine-java] Re: WARNING: 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

2010-04-22 Thread Abhimanyu Saxena
so what does it mean? I am repeatedly getting this warning with my app... is there anything that I can do for it ? On Apr 22, 7:24 am, Tristan wrote: > Is it possible to make it an INFO and not a WARNING? Should I start an > issue? As a programmer, I really don't have any direct control over > t

[appengine-java] use userService and Google Data API

2010-04-22 Thread Joost Bloemsma
Hi, I am creating an app that has to access some data over the Google Data API. To do so the user has to be authenticated. The user allready is authenticated when starting the app (using the normal userService), but to use the dataservice the app needs either his/her password or an authorisationto

[appengine-java] Re: What is the best way to store child object?

2010-04-22 Thread ailinykh
Thank you Ikai! > > I have the parent key. Theoretically speaking, it is the only thing > > needed to maintain parent child relationship. MyList class may have > > more fields I don't need at all. So, I'd like to avoid reading them to > > memory. > > You can do this with KeyFactory.Builder. Build

[appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-22 Thread Miroslav Genov
Sorry about the mistaken, I mean: " on GAE or in the sitebricks library." instead of " sitebricks or in the sitebricks library." Regards, Miroslav On 04/22/2010 04:25 PM, Miroslav Genov wrote: Hello, It seems that some things are a little bit changed in the latest version of GAE. Today I

[appengine-java] Broken URL Mapping in GAE 1.3.3 ?

2010-04-22 Thread Miroslav Genov
Hello, It seems that some things are a little bit changed in the latest version of GAE. Today I had time to migrate from 1.3.0 to 1.3.3 but there are some problems. In my application we are using google sitebricks as an template engine for rendering of html pages but it doesn't work correctl

NoClassDef ReadPolicy$Consistency? (was Re: [appengine-java] using an Objectify query filter with "IN" -- IllegalArgumentException)

2010-04-22 Thread Larry White
I just upgraded - thanks for the amazingly quick turnaround on my bug btw!! Unfortunately, I'm now getting java.lang.NoClassDefFoundError: com/google/appengine/api/datastore/ReadPolicy$Consistency at com.googlecode.objectify.ObjectifyOpts.(ObjectifyOpts.java:25) at com.googlecode.objectif

[appengine-java] Re: owned one to many relationship problem

2010-04-22 Thread Ian Marshall
Excellent. -- 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 google-appengine-java+unsubscr...@googlegroups.c

[appengine-java] How to get number of tasks in a queue

2010-04-22 Thread dmitrygusev
Hello, Is there and API that I can use to get number of tasks in a queue? -- 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,

[appengine-java] Manipulate images before they are uploaded to blobstore

2010-04-22 Thread Nick Wiedenbrueck
Hi, probably this is a more general issue, but in my case I want to let the user upload a photo of herself. Is it possible to manipulate an image (with ImagesService) before it gets into the blobstore. An alternative would be to first let the user upload it to blobstore, manipulate it then, and st

[appengine-java] Problem uploading to blobstore in production

2010-04-22 Thread Nick Wiedenbrueck
Hi, haven't had the time to look at my problem in detail, but I'm having problems uploading an image to the blobstore in production. It works in development environment, but in production the image silently just isn't uploaded to the blobstore (looking at the blobstore viewer). There is also no ex

[appengine-java] QueueFactory and NoClassDefFoundError

2010-04-22 Thread Felipe Quintella
Hello there. I'm new to Google AppEngine, but I'm already searched and can't find the answer to my problem. I am trying to add a task to the default taskqueue, but i keep getting a NoClassDefFoundError with the QueueFactory class... I can't find what the problem is. I have App Engine SDK 1.3.2 a