[appengine-java] Startup failed with CXF, but works on local DEV server.

2011-01-28 Thread johnny jiang
Today I uploaded my app for the first time, and it failed when the first request came in to trigger the app to initialize. I've tested everything locally on Google GAE DEV server, is there any difference between Google DEV server and the realy GAE environment? Thanks for your help.

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

2011-01-28 Thread andrew
We are using servlet filters without any problem on app-engine for logging and authentication of servlet. The servlet filter spec states they can be applied to any resource, i.e. including html pages etc. I have tried this on app engine without success, and when looking at the app engine docs

[appengine-java] Unexpected Exception while trying executin a jdo query

2011-01-28 Thread Christophe Weber
Hi, I have a problem when trying to query on the appengine. here's what I do: Query q = persistenceManager.newQuery(User.class); q.declareParameters(java.lang.String emailParam); q.setFilter(userEmail == emailParam); ListUser list = (ListUser) q.execute(email); if

[appengine-java] Re: deploy app but no effect

2011-01-28 Thread senderj
Thanks for all the replies. I finally figured out what's wrong. I expected deployment includes a build before actual deployment. But it's not. If I build the project before deployment, it works fine. If otherwise, I am in fact deploying the old coding again. Sorry for wasting everybody's time. By

[appengine-java] initial fill of the database

2011-01-28 Thread Bro
Hi all, Recently i have started development of my application that will change the world. Or at least night be visited by a few users ;). I would like to fill the database with some initial (basic) data. This data is required to let the application work. In 'normal' development with my own

Re: [appengine-java] initial fill of the database

2011-01-28 Thread jonsm...@gmail.com
On Fri, Jan 28, 2011 at 6:50 AM, Bro arjan.br...@gmail.com wrote: Hi all, Recently i have started development of my application that will change the world. Or at least night be visited by a few users ;). I would like to fill the database with some initial (basic) data. This data is required to

[appengine-java] Just getting started with Datastore

2011-01-28 Thread Matt Reeves
I'm a total n00b here and just getting started trying to figure out how the datastore works, mostly by reading the documentation. Here are the assumptions I am making, please tell me if I'm saying anything incorrect: 1) To define persistent entities, one must either create persistent JDO

Re: [appengine-java] Just getting started with Datastore

2011-01-28 Thread Stephen Johnson
Hi Matt, There are several different ways to save/query objects from the datastore not just JDO or JPA. They are: 1. Low level api - work directly with the datastore's native (for lack of a better term) representation of an object. 2. JDO or JPA - work with these standards to abstract away the

[appengine-java] [JDO] One-to-Many Relation with @Order

2011-01-28 Thread Jan Willies
Hi, I can't have my child-object have an order. The following code fails with: javax.jdo.JDOFatalUserException: Detected attempt to establish Topic(2) as the parent of SubTopic(9) but the entity identified by SubTopic(9) has already been persisted without a parent. A parent cannot be

[appengine-java] Cron Jobs Not Updating on Deploy

2011-01-28 Thread Sam Edwards
I've been doing deploys since yesterday afternoon and I keep consistently getting errors after it is deployed and it is updating the cron jobs. This has been working in up until early yesterday afternoon, so I'm not sure of the issue. Below I have the console text from the deploy as well as the

Re: [appengine-java] [JDO] One-to-Many Relation with @Order

2011-01-28 Thread Jan Willies
2011/1/27 Jan Willies j...@willies.info Hi, I can't have my child-object have an order. The following code fails with: javax.jdo.JDOFatalUserException: Detected attempt to establish Topic(2) as the parent of SubTopic(9) but the entity identified by SubTopic(9) has already been persisted

[appengine-java] Re: Just getting started with Datastore

2011-01-28 Thread Didier Durand
Hi, I would join Steve in recommending at all possibilities before starting. Google itself states: n addition to the standard frameworks and low- level datastore API, the Java SDK supports other frameworks designed to simplify datastore usage for Java developers. A large number of Java

[google-appengine] DoS blocking vs multiple users on single IP

2011-01-28 Thread Terje Dahl
We provide a commercial web application to schools (in Norway). Schools typically have 20-30 kids pr class - all using web application at the same time - under the direction of a teacher. And all behind single IP address. So now you have 20-30 kids pr class, each generating 20-30 request to our

[google-appengine] Re: QPS versus Req/sec

2011-01-28 Thread Albert
It used to be the case that if you were going to exceed 400QPS, you would need to contact us to get an exemption so you could exceed that amount without issues. That's no longer the case - your (billing enabled) app can now handle as many QPS as you like without intervention from us. Hi! If

RE: [google-appengine] DoS blocking vs multiple users on single IP

2011-01-28 Thread Brandon Wirtz
Interesting. I haven't seen this behavior I have an app that gets something like 2500 requests every morning when the computer labs at my dad's school turn on (all within 15 minutes of each other). Is your billing enabled? 30x30 over half an hour isn't really a massive onslaught.

[google-appengine] Re: DoS blocking vs multiple users on single IP

2011-01-28 Thread Terje Dahl
Yes. Billing is enabled. (Must be to use BlobStore). I agree, 30x30 isn't much. But does your dads school use a range of IP-addresses, or just one single address? On Jan 28, 10:29 am, Brandon Wirtz drak...@digerat.com wrote: Interesting. I haven't seen this behavior I have an app that gets

Re: [google-appengine] Re: DoS blocking vs multiple users on single IP

2011-01-28 Thread Barry Hunter
Also it could just be a issue with the DOS protection. Only in the last few days. Looking at recent threads, people are noticing they get blocked after visiting just 20 pages. Google have yet to comment as far as I aware. On 28 January 2011 09:50, Terje Dahl te...@terjedahl.no wrote: Yes.  

[google-appengine] Unable to deploy application

2011-01-28 Thread Jeff Schwartz
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=lovemyvehicleversion=1; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff

Re: [google-appengine] Re: DoS blocking vs multiple users on single IP

2011-01-28 Thread Andrin von Rechenberg
A couple of kids wont be able to trigger DoS blocks at Google. If you saw the http://sorry.google.com/;... page telling you that issued too many requests it was due to the misconfiguration Google had a couple of days ago. This is not a appengine problem I suspect it was a misconfiguration between

[google-appengine] Re: Unable to deploy application

2011-01-28 Thread Francois Masurel
Yep, me too, 12 minutes and still waiting... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to

Re: [google-appengine] Re: Unable to deploy application

2011-01-28 Thread Jeff Schwartz
I was finally able to deploy. Must of been a blip :) On Fri, Jan 28, 2011 at 9:59 AM, Francois Masurel f.masu...@gmail.comwrote: Yep, me too, 12 minutes and still waiting... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Google App Engine Buit-In OAuth failing when requesting for access token

2011-01-28 Thread Arun Shanker Prasad
Hi All, Background: I am trying to implement a web-service for my App Engine application and authenticate the user using OAuth. For this I chose to use my App Engine application as an OAuth service provider. My issue: I got the request token back from App Engine and I redirected my user to

[google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread dloomer
I'm seeing not only increased DeadlineExceed errors in my application (less of a concern), but the admin console is responding extremely slowly as well. I normally need to refresh a few times to get past a 500 Internal Server Error just to get to my application console. But then if I click

Re: [google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread Stephen Johnson
+1+1+1 Yes, for the last 2 days the admin console has been terrible. Yesterday could view a couple of pages before 500 error. Now, mostly 500 errors. Also seeing deadline exceeded errors in log when I can view it which hasn't been much. On Fri, Jan 28, 2011 at 9:55 AM, dloomer dloo...@gmail.com

Re: [google-appengine] need a clarity about maximum amount of time allowed for datastore operations

2011-01-28 Thread Robert Kluin
I believe the datastore timeout (deadline exceeded error) is 30 seconds. You may also occasionally see 'ten second' timeouts. Robert On Thu, Jan 27, 2011 at 04:54, Phani Kumar phani.ku...@oxylabs.com wrote: exception Timeout()    Raised when the datastore operation exceeds the maximum

Re: [google-appengine] Red/Yellow warnings for offline requests

2011-01-28 Thread Robert Kluin
The colors are just meant to help you spot urls using a lot of resources per request. You may also see some warnings with them that are left-over from quotas that no longer exist. Robert On Thu, Jan 27, 2011 at 19:33, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Hi, I've read

Re: [google-appengine] Re: QPS versus Req/sec

2011-01-28 Thread Robert Kluin
I suspect it is because there are lots of different quotas you might bump into depending on your app. Some of them are not customizable in the billing settings. Robert On Fri, Jan 28, 2011 at 03:50, Albert albertpa...@gmail.com wrote: It used to be the case that if you were going to

Re: [google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread dloomer
It seems like a broken record, but once again a few of us are reporting issues while at the same time there isn't anything palpable in the System Status page to make it appear that Google is aware of any problem. From participating in these forums it seems to be the nature of the beast that

[google-appengine] Built-in OAuth integration seems not to work for GAE Python

2011-01-28 Thread Takashi SASAKI
Hi, all. I noticed that built-in OAuth support does work in GAE Java but does not work in GAE Python. My simple OAuth service providers are http://pastebin.com/qJZEFE4C for GAE Python and http://pastebin.com/N09TC9K6 for GAE Java. Python version is at http://antanxi.appspot.com/oauth_sp Java

[google-appengine] Re: Google App Engine Buit-In OAuth failing when requesting for access token

2011-01-28 Thread Takashi SASAKI
Hi, Arun I also making an OAuth consumer with Google App Engine for Python. The consumer uses simplegeo oauth2 library. Here is my code snippet to get access token when called back just after authorization. user_info.authorized_request_token = self.request.get(oauth_token)

[google-appengine] Re: Occasional 405 responses

2011-01-28 Thread Cherny D . C . Berbesí I .
I got the same problem. I was requesting a non-valid method. Check the header, what do you request?, what method?, does it have that method? http://goo.gl/MxQeQ Greetings On Jan 26, 2:20 pm, Robin Gardner blissland.ho...@googlemail.com wrote: Hi, I have a java servlet which processes the

[google-appengine] Image cropping constraints

2011-01-28 Thread spidaman
Cropped images previously were limited to some prescribed sizes: [ 32, 48, 64, 72, 80, 104, 136, 144, 150, 160 ] ...but I don't see that in the docs for get_serving_url now, does this mean that the size parameter can now be any value up to IMG_SERVING_SIZES_LIMIT (1600) ? -- You received this

[google-appengine] Error code 203

2011-01-28 Thread Toby
How do I contact the App Engine team? My app has been up and running for a while without issue, but I'm starting to see more 203 errors. And per the error message, I want to tell the appEngine team and hopefully get a big more information about what's going wrong. A serious problem was

Re: [google-appengine] Re: QPS versus Req/sec

2011-01-28 Thread Ikai Lan (Google)
Yep, Robert is correct. There are maximums such as Memcache API usage, datastore usage, etc. The limits are set pretty high by default for billing enabled apps, but many of our heaviest applications have exceeded these limits and require quota increases. -- Ikai Lan Developer Programs Engineer,

[google-appengine] wild match in url-pattern

2011-01-28 Thread Sandeep Arneja
Hi I need help with this: /_ah/mail/* -- WORKS /_ah/mail/xyz* -- DOES NOT WORK Alhough google documentation on incomming mail has: servlet servlet-namehandleowner/servlet-name servlet-classHandleOwner/servlet-class /servlet servlet-mapping servlet-namehandleowner/servlet-name

RE: [google-appengine] Re: QPS versus Req/sec

2011-01-28 Thread Brandon Wirtz
If you missed the Hint in there.. If you think you are hitting quota's consider enabling billing. (this has helped me a few times) (It also misled me once because I did something stupid and the quotas were trying to protect me from shooting myself in the foot, and all I did was get a bigger

[google-appengine] Re: Where can I find commercial successfully websites created using GAE?

2011-01-28 Thread Darien Caldwell
On Jan 27, 11:40 am, Brandon Wirtz drak...@digerat.com wrote: Ah, so you are one of those people who read websites, but don't want the people who make the content to make any money.  I bet you listen to NPR and play CD's when they go to pledge breaks.. I don't have any ad blocking software

[google-appengine] Re: wild match in url-pattern

2011-01-28 Thread yuvi
Hi, There are only 2 * options /dirName/* or *.fileType you can see many examples for that. On Jan 28, 1:40 pm, Sandeep Arneja sandee...@gmail.com wrote: Hi I need help with this: /_ah/mail/* -- WORKS /_ah/mail/xyz* -- DOES NOT WORK Alhough google documentation on incomming mail has:

[google-appengine] Re: Google App Engine Buit-In OAuth failing when requesting for access token

2011-01-28 Thread yuvi
Hi, I'm using it from an Opensocial Gadget and it seems to work OK. The only thing I have notice is that even when I use my Google account control panel to Revoke access the token is still working. https://www.google.com/accounts/b/0/IssuedAuthSubTokens On Jan 28, 6:40 pm, Takashi SASAKI

Re: [google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread Stephen Johnson
Yes we must be the unlucky ones today. Still can't access my dashboard. Has been happening all day. 500 errors. On Fri, Jan 28, 2011 at 10:54 AM, dloomer dloo...@gmail.com wrote: It seems like a broken record, but once again a few of us are reporting issues while at the same time there isn't

RE: [google-appengine] Re: Where can I find commercial successfully websites created using GAE?

2011-01-28 Thread Brandon Wirtz
Now Off topic: Technically if you visit a site that's TOS requires you to at least view the ads, and you block them you are violating Copyright and committing theft of service. I didn't put such a clause in my TOS... but one could, and some have. As to if you make money even if ads don’t get

Re: [google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread Greg Darke
Hi dloomer, Are you still having trouble with viewing the taskqueue page in admin console? If so, can you please provide me your app-id so that I can look into this issue further. On 29 January 2011 03:55, dloomer dloo...@gmail.com wrote: I'm seeing not only increased DeadlineExceed errors in

Re: [google-appengine] Can't access Task Queue in admin console

2011-01-28 Thread dloomer
It seems fine tonight. Thanks for the response! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to

[google-appengine] Re: Where can I find commercial successfully websites created using GAE?

2011-01-28 Thread Tomas Alaeus
I'm sorry for continuing this offtopic fest, but I just can't stand it... I assume you never go to the toilet during ad-breaks on TV, or never ever have switched radio channel when ads start. Comon, there are so many irritating, annoying ads on most websites. You probably make more ad-money from

[google-appengine] Re: Built-in OAuth integration seems not to work for GAE Python

2011-01-28 Thread Takashi SASAKI
I got it. In Python version OAuth service provider, hat causes exception is not oauth.get_current_user() but oauth.get_oauth_consumer_key() . The former works without exception. In Java version OAuth service provider, oauth.getOAuthConsumerKey() also throws exception. Now I found another

[google-appengine] Re: Built-in OAuth integration seems not to work for GAE Python

2011-01-28 Thread Takashi SASAKI
I found a post making mention of similar symptom. Issue 3409: When calling the oauth.get_oauth_consumer_key(), OAuthRequestError exception always raises http://code.google.com/p/googleappengine/issues/detail?id=3409 Takashi SASAKI (@TakashiSasaki on Twitter) On Jan 29, 11:09 am, Takashi SASAKI