[appengine-java] embedded unindexed fields

2011-02-08 Thread Nikolay Ivanov
I am trying to define embedded unindexed field without successes. I have following classes and the embedded fields are indexed regardless of the unindexed definition. I'm tryingto store BaseSensorValue class. Is that a bug or I miss something? @PersistenceCapable @EmbeddedOnly public class

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-08 Thread Louis H.
Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- 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] Ant error when running GAE demo app

2011-02-08 Thread Martijn Versluis
I decided to test the GAE guestbook demo application in Netbeans 6.9 Building the application and running the server is easy. However, when I run the application i get the following error message: D:\*\Guestbook\nbproject\build-impl.xml:683: Problem: failed to create task or type nbdeploy

Re: [appengine-java] Problems with MemCache, I call get(..) and the object comes with null properties

2011-02-08 Thread dudu
Te properties are not transient: I think there is some inheritance problem =\ https://gist.github.com/816246 https://gist.github.com/816248 https://gist.github.com/816250 https://gist.github.com/816252 And to save I call updateQuote() from here: https://gist.github.com/816261 -- You

[appengine-java] blobstore cpu time?

2011-02-08 Thread Luke
may i know when using blobstore, is cpu time is charged ? or only charged depending on size of the file uploaded? -- 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] The disabling of sessions during a datastore down-time period using Apache Wicket

2011-02-08 Thread Ian Marshall
I tested my new datastore down-time period code during the scheduled down-time of a few hours ago. It failed with the same exception I reported in the link referred to above. Does anyone know how I can disable sessions for Apache Wicket at run- time? On Jan 27, 2:17 pm, Ian Marshall

[appengine-java] Re: order by clause- JPA queries

2011-02-08 Thread Charms Styler
but when index are set to auto, it has to work right ? -- 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 this group, send email to

[appengine-java] Re: blobstore cpu time?

2011-02-08 Thread Didier Durand
Hi, According to http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/, cpu time is not charged. But, you have to configure billing in order to use the blobstore See http://code.google.com/appengine/docs/quotas.html#Blobstore

[appengine-java] Re: High Replication - Large CPU spikes without Datastore Access

2011-02-08 Thread Simon Knott
And again today, I've just had another request to appstats eat up a tonne of CPU time: /appstats/stats 200 169ms 23878cpu_ms Is anyone else seeing this? On Feb 7, 3:34 pm, Simon Knott knott.si...@gmail.com wrote: As I've carried on the testing of my app against the HR-store, instead

[appengine-java] Re: High Replication - Large CPU spikes without Datastore Access

2011-02-08 Thread Simon Knott
Well now I'm just starting to think it's fishy - I've just had a second high-CPU request to my app and it has exactly the same CPU ms time consumed, down to the millisecond. /appstats/stats 200 169ms 23878cpu_ms /sync 200 43ms 23878cpu_ms On Feb 8, 12:23 pm,

[appengine-java] Re: The disabling of sessions during a datastore down-time period using Apache Wicket

2011-02-08 Thread Simon Knott
Just as an aside, are you aware that you can disable writes to your application via the admin console? It may make testing easier, assuming it throws the same CapabilityDisabledException. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: The disabling of sessions during a datastore down-time period using Apache Wicket

2011-02-08 Thread Ian Marshall
Hi Simon, No, I wasn't aware of this application setting. I can now test without having to get up in the night to test datastore scheduled down-times! Thank you for the tip. (The same exception is thrown as during a datastore scheduled down-time.) It remains for me to find a way to disable

[appengine-java] Re: hard time modeling my database

2011-02-08 Thread WillSpecht
So you are worried that a user will be deleted and his key will still be linked to the book? You can't rely on the database to do that work for you. You can do this two ways, worry about it, and when you delete a user, make sure you delete it's key from every book. Or don't worry about it. If

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-08 Thread Stephen Johnson
Glad to help! On Tue, Feb 8, 2011 at 3:16 AM, Louis H. cute...@gmail.com wrote: Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] JSP and a Servlet with url-pattern /*

2011-02-08 Thread Patrice De Saint Steban
Hello Hello, I have a project with a servlet with a servlet witch have a url-mapping /* : servlet-mapping servlet-nameCollectorServlet/servlet-name url-pattern/*/url-pattern /servlet-mapping And I want to add JSP file on the projet. I had a simple JSP file in the war directory : *(hello.jsp)* %@

Re: [appengine-java] JSP and a Servlet with url-pattern /*

2011-02-08 Thread Don Schwarz
It sounds like you're running into this issue in 1.4.0: http://code.google.com/p/googleappengine/issues/detail?id=4216 This will be fixed in the next release, which is due out soon. In the mean time, you can either roll back to the 1.3.8 SDK or you can try declaring your CollectorServlet with a

Re: [appengine-java] Servlet Filter on non-Servlet resource

2011-02-08 Thread Toby Reyelts
It sounds like you might have static file cachinghttp://code.google.com/appengine/docs/java/gettingstarted/staticfiles.htmlset up to include files you want to run your filter against. The key line in the doc is: Any request for a URL whose path matches a static file serves the file directly to

Re: [appengine-java] embedded unindexed fields

2011-02-08 Thread Stephen Johnson
Yes, it seems this is a bug. I'm sure (ok 95% sure) it was working at one point because I did this exact thing in one of my kinds and I'm sure I tested to make sure the fields weren't indexed because it has a lot of properties and I don't want them indexed. I just looked and yes the fields are

Re: [appengine-java] Re: High Replication - Large CPU spikes without Datastore Access

2011-02-08 Thread Don Schwarz
I can help you investigate this. Please reply privately with your application ID. On Tue, Feb 8, 2011 at 6:38 AM, Simon Knott knott.si...@gmail.com wrote: Well now I'm just starting to think it's fishy - I've just had a second high-CPU request to my app and it has exactly the same CPU ms

[appengine-java] Ability to send mail using appspotmail.com

2011-02-08 Thread praseed
All, I was able to send mails using supp...@appid.appspotmail.com Although the log doesnt show failures, mails no longer get sent when using this from address. Is this a new restriction? Cheers Praseed -- You received this message because you are subscribed to the Google Groups Google

[appengine-java] Re: oauth_token_secret does not exist - Accessing Google Calendar using Open Id + OAuth

2011-02-08 Thread Jaspal Sawhney
Any Pointers? Thanks On Feb 7, 10:24 pm, Jaspal Sawhney jaspal.sawh...@gmail.com wrote:  Steps to reproduce issue: 1. Trying to implement a 3 - legged Oauth to access google calendar using OpenIdfilter library (which internally uses Step2 and OpenId4Java). 2. Code snippet being used is as

[appengine-java] Unknown authorization header - Error 401

2011-02-08 Thread Setu
I am accessing Google Spreadsheet feeds using HMAC-SH1 sign. My Code is : GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET);