[appengine-java] java.lang.IllegalArgumentException: Must set a body

2009-09-17 Thread Prashant
Hi, It seems like xmpp api is missing message body once every few requests. I am getting following error repeatedly, saying "Must set a body", while parsing the request to Message. I am not using */_ah/xmpp/message/chat/* url for anything except for receiving xmpp messages. Neither this url is ac

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
So, that concludes I may expect such request time outs in GAE any time without being able to fix it? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Fri, Sep 18, 2009 at 12:56 AM, Toby Reyelts wrote: > Yes, it's quite trivial for two different http requests to land

[appengine-java] date between jdo query

2009-09-17 Thread sproooooz
I am trying to write a JDO query where an entity field java.util.Date "DATEFIELD" is between 2 others java.util.Date parameters...but can not succeed Has anybody tried this before? that would be a big help Steve --~--~-~--~~~---~--~~ You received this message

[appengine-java] Re: GAE UserService and other google Api (Contact, Analytics) ???

2009-09-17 Thread NMAGOCIO
Could you point me to an AppEngine Java example of how OAuth is accomplished? I found an example at: http://code.google.com/p/googleappengine/source/browse/#svn/trunk/java/demos/oauth Is there some way I can download this sample? I looked in appengine-java-sdk-1.2.5.zip Demos but no OAuth Than

[appengine-java] ClassCastException blues

2009-09-17 Thread James H
This cast exception is NOT obvious. Here's the production stack snippet: /homeIndex.jsp java.lang.ClassCastException: java.lang.ClassCastException cannot be cast to javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException (PageContextImpl.java:754)

[appengine-java] Do app engine support "OR" operator??

2009-09-17 Thread Francis
hi: I wrote the following query: Select p From we.bean.base.Player p where p.Id = 664778005 OR p.Id = 999 and I get: Nested in org.apache.jasper.JasperException: org.datanucleus.store.appengine.query.DatastoreQuery $UnsupportedDatastoreOperatorException: Problem with query : App Engine datastor

[appengine-java] How to use "in" in JPAQ.??

2009-09-17 Thread Francis
hi, professional~ Do in operator is support in the current operation? and if it is supported, how to use it.? thx a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

[appengine-java] Re: RPC call and variables

2009-09-17 Thread Sahil Mahajan
Hello Thanks leszek I tried datastore, it has solved many of my problems. Though I am not getting exact results, but I feel if I spend more time, I may improve the problems. I receive following message in my info log after certain intervals. org.datanucleus.ObjectManagerImpl close: Outstanding n

[appengine-java] Re: appengine with gwt and gwt-ext

2009-09-17 Thread Jason (Google)
Were your gwt-ext JARs in war/WEB-INF/lib when you deployed your app or did you reference them from another location in your Eclipse build path? - Jason On Tue, Sep 15, 2009 at 8:30 PM, GregGG wrote: > > Just in case others are interested, after getting my app working with > gwt, I decided to s

[appengine-java] Re: Is the Google Collections framework already in deployed environment?

2009-09-17 Thread Toby Reyelts
Hey Jim, We have some internal dependencies on some parts of the Google Collections that we've repackaged (in com.google.appengine.repackaged). You don't want to rely on those classes, because we may change those dependencies, use a different version, or remove them entirely. This is why we have r

[appengine-java] Re: [google-appengine] Re: doubt with detachable property...

2009-09-17 Thread Jason (Google)
Hi Prashant. Yes, you should be able to do this -- cache a detached entity and pull it out and pass it into makePersistent in subsequent requests. Anything you stick into memcache should extend Serializable. - Jason On Wed, Sep 16, 2009 at 5:43 AM, Prashant wrote: > oh sorry, i forgot to add a p

[appengine-java] Re: Regarding execution flow of my sample app in jdo

2009-09-17 Thread Jason (Google)
How low-level of an execution flow are you looking for? At a very high-level, your application is calling a servlet to display a simple form, then when the form is submitted, another servlet is executed which gets a reference to the PersistenceManager using a PersistenceManagerFactory singleton, us

[appengine-java] Re: Can I avoid Data Nucleus and still use JPA?

2009-09-17 Thread Jason (Google)
Hi Jeremy. There is nothing dictating that GWT applications must use App Engine as a back-end. App Engine does have several unique advantages, and we're definitely trying to make it easier to integrate GWT with App Engine, but if you have an adequate back-end system already set up and don't care to

[appengine-java] Re: Understanding the resource limits and costs...

2009-09-17 Thread Erdinc Yilmazel
> > > - the number of properties and approximate size of the entities > They are all deleted now but were simple entities with 4 or 5 properties and none of these properties were bigger than a few characters of Strings.. A can say that each entity was less than 1Kb. > - Do you have any indexes d

[appengine-java] Re: Owned One-to-One Relationship and Owned One-to-Many Relationship aren't compatible

2009-09-17 Thread Jason (Google)
This is a known issue. At present, you can't have both a one-to-one and one-to-many relationship of the same kind. - Jason On Tue, Sep 15, 2009 at 2:57 PM, Tim wrote: > > It appears that these two statements work individually but not > together. > >@Persistent >private ContactInfo

[appengine-java] Re: Understanding the resource limits and costs...

2009-09-17 Thread Don Schwarz
Hi Erdinc, Can you provide some details about these entities? Specifically: - the number of properties and approximate size of the entities - Do you have any indexes defined for these entities? - Are you using key-only queries (i.e. are you calling Query.setKeysOnly()) ? Thanks, Don On Thu, Sep

[appengine-java] Hard deadline exception

2009-09-17 Thread DrMorten
Hi! Im building an application using grails, hosting it on google appengine. Every time I upload to google appengine, the first few times I access the site I get the following exception: Uncaught exception from servlet com.google.apphosting.runtime.HardDeadlineExceededError: This request (bc690e8

[appengine-java] Re: Understanding the resource limits and costs...

2009-09-17 Thread Ali -
A correction.. 176K ms, so 176 seconds (not 17,6 seconds).. I think because of parallel execution it must have been calculated so. Maybe it is the calculation in a single cpu system. A single cpu machine would have executed in 176 seconds. About being expensive.. I totally agree to you.. aLi 200

[appengine-java] Re: No popup in GAE and cannot close popup in hosted mode.

2009-09-17 Thread Jason (Google)
For GWT debugging issues, use the GWT group: http://groups.google.com/group/google-web-toolkit - Jason On Tue, Sep 15, 2009 at 2:07 PM, Beanryu wrote: > > Excuse my noobness, the problem I am having is the following > > In eclipse, I have an application that uses JSNI native methods that > open

[appengine-java] noob in GWT and GAE

2009-09-17 Thread Wladiston Paiva
Friends, I am wanting to learn more about GAE and GWT, but I'm no have project to do and get experience. anyone know any open source project that I can attend to learn more? --- Wladiston Maurício de Paiva http://wladistonpaiva.com.br desenvolvedo...@gmail.com e...@wladistonpaiva.com.br +55 (31)

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
Yes, it's quite trivial for two different http requests to land on two different application instances. You can see if it's an initializing request for an application instance by logging from an appropriate servlet's init() method (for example, one that is in the path of the request or is registere

[appengine-java] Re: Pointing Domains

2009-09-17 Thread sal
You could just map both domains to one appengine app Id. Then inside your app, make a servlet that intercepts requests, looks at the domain/url and gives different HTML based on what was requested. (Servlets can be mapped to '*' wildcard URLs so that you can access / xyz or slash /foobar/x/y/z

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
Hie you guys put me in doubt then. I opened the browser and logged in to my app which created a request to pull authentication info. and once i logged in i queried a page and this was another request. In this process i got the two different UserClassLoader. So, does your statement holds good? Th

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Toby Reyelts
Just to clarify what Jason is saying, the fact that you're seeing two different UserClassLoader instances in those two requests: userclassloa...@1f7cdc7 and userclassloa...@1e6f0ef means that you're actually looking at two requests for two different isolated application instances, with each one u

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Jason (Google)
Hi Vik. At most a single UserClassLoader is loaded per application instance. Since you're seeing two output lines in your logs, these two requests must have hit separate running instances of your application. In your benchmarking, you need to account for this initialization, i.e. ignoring requests

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Vik
hie in two different requests. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Thu, Sep 17, 2009 at 8:16 PM, Don Schwarz wrote: > To be clear, you're getting these two log statements in the same request? > Or subsequent requests? > > > On Thu, Sep 17, 2009 at 1:48

[appengine-java] Doubt with detachable property of JDO (Experts please reply)

2009-09-17 Thread Prashant
hi, I tried the "Updating an Object" (using detachable property) example given here. While experimenting with it I found that even if I do not add *detachable="true" *property to my JDO cl

[appengine-java] Re: issues with compass for GAE apps

2009-09-17 Thread Don Schwarz
To be clear, you're getting these two log statements in the same request? Or subsequent requests? On Thu, Sep 17, 2009 at 1:48 AM, Vik wrote: > hie > any updates on this please? > > yeah I did what you suggested by putting a log statement.. > > and what I get are two different values from this

[appengine-java] Re: How to make parent optional

2009-09-17 Thread Ian Marshall
If your one-to-many relationship involves two different entity classes (as it probably does) then please ignore my earlier posting. You might want to create a dummy or "None" group, to be the parent of all students that have no group. Of course, one cannot change any student's parent later since

[appengine-java] Re: I broke something using Eclipse plugin

2009-09-17 Thread Clay Lenhart
That did it!! Thanks Jason! On Sep 16, 11:24 pm, "Jason (Google)" wrote: > Try adding the JARs to your build path without copying them to your lib > directory. Just use "Add external JARs" in the Eclipse Build Path dialog. > > - Jason --~--~-~--~~~---~--~~ You re

[appengine-java] Using detachable property

2009-09-17 Thread Prashant
hi, I tried the "Updating an Object" (using detachable property) example given here. While experimenting with it I found that even if I do not add *detachable="true" *property to my JDO cl

[appengine-java] How login to google account programmatically?

2009-09-17 Thread kor
Hi, I am writing a composite application which contains both desktop and web client. I am planning to use UserService for user authentification. So I am stunned with the following question: Is it possible to login to UserService from desktop app(using HTTPClient or something else). And if it is p

[appengine-java] Upload failed. Help me, please

2009-09-17 Thread opok
I don't know what error exactly is Creating staging directory Scanning for jsp files. Compiling jsp files. Compiling java files. Scanning files on local disk. Initiating update. java.io.IOException: Error posting to URL: htt

[appengine-java] Re: self referral one-to-many relationship with null root

2009-09-17 Thread leszek
Follow this thread: http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/3affdf1441f864b6/47e35ad2811de108?lnk=gst&q=self#47e35ad2811de108 It looks like known issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[appengine-java] My First App

2009-09-17 Thread Prashant
Hi all, Yesterday I wrote an app which helps you meeting new friends on your Google Talk ! I named it Chat Me. When you use Chat Me, it picks another user at random and lets you have a one-on-one chat with each other. All chats are completely anonymous, although there is nothing to stop you from

[appengine-java] Re: Unicode problems

2009-09-17 Thread leszek
I'm using GWT on the client side. --~--~-~--~~~---~--~~ 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 thi

[appengine-java] Re: Unicode problems

2009-09-17 Thread Laco Skokan
One more note. The issue here is, that this behaves different way on local and deployed version. L. On 17 zář, 12:17, Laco Skokan wrote: > Hello > > I have found out how to resolve the issue. > > If I use any special local characters inside dir "war\..." and it is > in .groovy script these are

[appengine-java] Re: Unicode problems

2009-09-17 Thread Laco Skokan
Hello I have found out how to resolve the issue. If I use any special local characters inside dir "war\..." and it is in .groovy script these are interpretted incorrectly. It looks like GAE does not UTF-8 encoding here. But if the file with local characters is inside "src\..." dir, there is eve

[appengine-java] Re: what's the bigger/complex application Java/Python running on GAE

2009-09-17 Thread Patrizio Munzi
Nobody??? :-) Patrizio Munzi wrote: Hi everybody, Does everyone know (app developer or google guys) what's the bigger application running on GAE in term of data storage?? I'm trying to figure out how much the data storage quota is limiting for my application... One more thing, how can I

[appengine-java] Re: Task Queues questions

2009-09-17 Thread Patrizio Munzi
Nobody can answer me??? Please... :-) Patrizio Munzi wrote: Hi all, I'm thinking of using the Task Queue feature in order to split a particular resource consuming request which could hit the 30 secs request limits. I've got a few questions about queues (for the moment, maybe more are c

[appengine-java] Problem to send HTTP POST request

2009-09-17 Thread Chi
Hello, I've tried to implement a HTTP POST request via URLConnection similar to the URL Fetch example, and it works properly in the hosted mode, but it shows error message 500 in the GAE. Does anyone know how to solve the problem? --~--~-~--~~~---~--~~ You received

[appengine-java] Re: Problem to save a float number to Datastore

2009-09-17 Thread Jason (Google)
It sounds like your latitude and longitude fields are Float. If you change them to Double and store the entities, do you see the same result? - Jason On Sat, Sep 12, 2009 at 1:44 PM, damenlon wrote: > > Hi, > > I am using Grails and JPA. > > My problem is when saving latitude and longitude to Da

[appengine-java] Re: Accessing file from within a jar file

2009-09-17 Thread Sarhan
In case anyone else needs to do this here is how i did it. First, my setup. I have a jar file with the resources (in my case, Freemarker templates) and my classes that load the templates. I use spring to wire and instantiate my classes. Spring also gives my class a handle on the class loader. I