[appengine-java] gae.parent-pk doesnt work in list query

2011-08-12 Thread lp
hi all when i try to query using the gae.parent-pk IN a list, it is failing with a ClassCastException below. i can use the parent key in a query for a single value fine. any ideas why this doesnt work? java.lang.ClassCastException: java.util.ArrayList cannot be cast to

[appengine-java] Re: gae.parent-pk doesnt work in list query

2011-08-12 Thread datanucleus
Invalid JPQL (a Key cannot equal a List). This makes more sense Select c from ChatUser c where c.parentKey IN :parentKey -- 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: GAEJ down!

2011-08-12 Thread Peter Liu
Do you happen to be deleting a lot of entities? It happens to me before (can't access console) and it's a know bug, thou I am not sure it's fixed or not. Can you access other admin pages? Sometimes the bookmarked link become invalid and need to relogin from the login page. On Aug 12, 1:01 am,

[appengine-java] How to modify appcfg.cmd

2011-08-12 Thread asjad
Hello Everyone, I m using Netbeans IDE 6.8 and i have been facing the same problem,while deploying the application i get the following error,as seen in post i have copied the tools.jar in Libraries Folder but i dont know how to modify appcfg.cmd as i m new to java,please halp me out. Unable to

[appengine-java] Appengine Rest Services

2011-08-12 Thread Bruno Sandivilli
Hi, i'm doing some ressearch, because i want to do some rest services. I can do this by uusing Spring MVC + Jackson But i'm thinking in use some kind of stuff that integrates better with appengine. Im thinking in use : Guice + Jersey . But, i could not find some good examples on the web. I found

[appengine-java] remote_api get and put

2011-08-12 Thread Kevin Kuei
Dear All, I'm trying to use remote_api to query and update an entity on datastore. I read the following article and successfully query the data. http://code.google.com/intl/en/appengine/docs/java/tools/remoteapi.html But the poor thing is, after the query, I would like to update the entity. But

[appengine-java] Re: Objectify-Appengine 2.1 released, supports Partial Indexes

2011-08-12 Thread Tobias
Hi There, Can you tell me a little about how partial indexes are implemented in objectify? Is it supported in the underlying API or is it solely implemented in objectify? Kind regards Tobias. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] JDO NucleusObjectNotFoundException Exception: Could not retrieve entity of kind ? with key ?

2011-08-12 Thread aprendiz
Hello, I have a (owner) one-to-many bidirectional relationship. A product can have multiple formats, but a format can only be associated with a product. public class Product{ @PrimaryKey @Persistent private Key id; // string, by application ... @Persistent(mappedBy = product)

[appengine-java] Is fetching 1 big entity group faster than fetching all multiple ones?

2011-08-12 Thread dnkoutso
I have an Entity called Movie. I want to have a get_or_create method for the Movie entity. Right now each Movie entity is in its own Entity group. I read I have to put them in the same entity group and use transactions to avoid duplicate entities. I could also perhaps choose my own unique

[appengine-java] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-12 Thread asmaa EL MOKHTARI
Hi, Please i need your help. When i try to send an email i get this error: java.lang.RuntimeException: javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized sender)) But i still using

Re: [appengine-java] Appengine Rest Services

2011-08-12 Thread Bruno Fuster
I'm using VRaptor with Guice, which is much faster than Spring, for RESTful resources. Vraptor is a very productive MVC/RESTful web framework and there's a blank GAE project for a quick start. Pico is very fast too. You can also use a static component scanner for even faster startup (around 3

[appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-12 Thread Ice13ill
I have the same problem. Sending emails worked OK until about 14h ago (and no changes were made). The user is added to permissions list as Developer. I tried changing it to Owner but it doesn't work. On Aug 12, 6:36 pm, Bruno Fuster brunofus...@gmail.com wrote: Hi! Is the sender email you're

Re: [appengine-java] Re: Objectify-Appengine 2.1 released, supports Partial Indexes

2011-08-12 Thread Scott Hernandez
It is supported in appengine. Every time you set a property in an Entity (appengine Entity) you can specify if that property is indexed or not. The partial indexing support just lets you control that on a per instance basis instead of having the field always indexed or not. On Fri, Aug 12, 2011

Aw: Re: [appengine-java] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-12 Thread Daniel Florey
Same problem here. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/V5KAFTzYUUsJ. To post to this group, send email to

[appengine-java] com.google.apphosting.api.DeadlineExceededException

2011-08-12 Thread Robert Lancer
Getting a lot of:com.google.apphosting.api.DeadlineExceededException And my app is on HRD. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: com.google.apphosting.api.DeadlineExceededException

2011-08-12 Thread Robert Lancer
Back working now, thought HR was supposed to deal with these issues more elegantly than going down for over a half hour. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

Re: [appengine-java] Re: Objectify-Appengine 2.1 released, supports Partial Indexes

2011-08-12 Thread Jeff Schnitzer
Specifically, it's the difference between calling Entity.setProperty() or Entity.setUnindexedProperty() on the low level API. Objectify interacts with the datastore through the low level API, so there is always underlying support for features. Not necessarily in a convenient form, however. Jeff

Re: [appengine-java] Appengine Rest Services

2011-08-12 Thread Jeff Schnitzer
I'm pretty happy with Resteasy: http://www.jboss.org/resteasy There was a minor trick to getting Guice integrated nicely (see my recent post on the resteasy-developers list). Other than that it works great, and you can use it to render HTML pages with a little extension:

Re: Re: [appengine-java] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-12 Thread Asmaa EL MOKHTARI
Please can any one help us to solve this problem because i passed several hours searching whitout any succes. any help would be appreciated. 2011/8/12 Daniel Florey daniel.flo...@gmail.com Same problem here. -- You received this message because you are subscribed to the Google Groups

[appengine-java] How do I decode a JPEG and access individual pixel colors?

2011-08-12 Thread Ian Clarke
I am trying to have my GAE app identify the primary colors used in an image. Unfortunately, perhaps I'm misunderstanding it but the ImageService.histogram() function appears useless for this, since it is a histogram *per color channel* rather than across the color spectrum. Actually, I'm not

Re: [appengine-java] Appengine Rest Services

2011-08-12 Thread Inderjeet Singh
You can also look at Greaze: http://code.google.com/p/greaze/ I authored this framework and have used it to write JSON-based REST services on GAE and access them from Android clients. Inder --- Checkout my Android app PowerVocab: https://market.android.com/details?id=com.applimobile.powervocab

[appengine-java] secure appengine urls with security constraints

2011-08-12 Thread Kesava Neeli
Hi, I have a mobile application running on handsets and the backend runs on appengine. My mobile applications makes various backend hits to google appengine servers. I am already using https urls. I also looked at the security constraint setup to protect the urls with google authentication.