Re: [appengine-java] Re: Mvenizing GAE/GWT project

2010-09-22 Thread Ravi Sharma
actually i was following this link http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html may be i am not able to understand it or i am doing something wrong... I have tried this roo pom too but i am not able to make it work. Do you guys have a sample pom for

[appengine-java] Re: gae.encoded-pk not working on MySQL

2010-09-22 Thread Ian Marshall
Hi, This is what I do/did. Sadly, my method requires commenting and commenting out for each persistent entity class, but I could not get pre-compilation directives to work (quickly), so I lost patience with that approach. Enjoy(?) @PersistenceCapable(identityType = IdentityType.APPLICATION,

[appengine-java] Re: Restricting upload size to the blob store

2010-09-22 Thread timwhunt
I don't see anything in the docs about limiting the size of blobs that can be uploaded. My guess (if it's helpful) is you have to check the size after it's uploaded (via BlobInfo) and delete a blob that's too large and return an error to the user. I don't think there's any reliable

[appengine-java] Securing JSESSIONID cookie

2010-09-22 Thread James
Is there a config setting to have this cookie marked as secure (so it'll only be sent over SSL)? -- 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

[appengine-java] Re: Securing JSESSIONID cookie

2010-09-22 Thread James
Or a better question, since I don't actually want to use sessions: Why is the JSESSIONID cookie set even though sessions aren't enabled in appengine-web.xml, per http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling%5FSessions You can get rid of it by adding %@ page

[appengine-java] How to make GWT + App Engine application crawlable?

2010-09-22 Thread Hez
Hi I planning to develop an application in GWT + App Engine. Do I still make the application crawlable by following the guidelines described at http://code.google.com/web/ajaxcrawling ? E.g. my application should parse the ugly URL and return a HTML snapshot? I think we need to do that for a

[appengine-java] Issues with JavaMail

2010-09-22 Thread Velu
Hi, I'm using the MailService feature of Google App Engine in my application. It works fine in one application without any issues. But the same code doesn't work in another app. I'm not able to figure it out. Please help. Following is the piece of code that I use to send mail. public static

Re: [appengine-java] How to make GWT + App Engine application crawlable?

2010-09-22 Thread Katharina Probst
Yes, that's right. This technique is still current. kathrin On Wed, Sep 22, 2010 at 7:16 AM, Hez hezj...@gmail.com wrote: Hi I planning to develop an application in GWT + App Engine. Do I still make the application crawlable by following the guidelines described at

[appengine-java] [SOLVED] Problem with admin pages

2010-09-22 Thread Moritz
For the record: The problem was that I didn't add the application to my app services as described on http://code.google.com/intl/de-DE/ appengine/articles/auth.html at the bottom section. On 20 Sep., 23:25, Moritz mor...@cloudme.org wrote: Hi, I'm trying to use admin pages embedded in the

[appengine-java] java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted class. Trying to send email

2010-09-22 Thread Shaun
I know I must be doing something really simple wrong here, but I followed the example (http://code.google.com/appengine/docs/java/mail/ overview.html) for sending mail through GAE and I getting: WARNING: /invoiceactions.do java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted

[appengine-java] Exception: Unable to complete the HTTP request

2010-09-22 Thread Miko Aguilar
Hi everyone, I'm getting an Timeout while fetching... message every time I'm trying to read dynamically generated XML files. But when I try accessing static XML files, I don't have any problems. Changing the timeout limit will work sometimes, but the exception still appears most of the time.

Re: [appengine-java] How to make GWT + App Engine application crawlable?

2010-09-22 Thread hezjing
I'm using Google plugin for Eclipse to build two identical GWT application except that one is built with App Engine and the other without App Engine. Both application are configured with the same servlet filter and mapped to URL pattern /* public void doFilter(ServletRequest request,

Re: [appengine-java] How to make GWT + App Engine application crawlable?

2010-09-22 Thread John Patterson
On 23 Sep 2010, at 07:47, hezjing wrote: When run in the GWT development mode, e.g. http://127.0.0.1:/X.html?_escaped_fragment_=gwt.codesvr=127.0.0.1:9997 , the application without App Engine is able to retrieve the query string as _escaped_fragment_=gwt.codesvr=127.0.0.1:9997. The

[appengine-java] Re: Problem with persist a child class

2010-09-22 Thread lisandrodc
Hi ! I have a problem when persist a chid class. The parent class: @PersistenceCapable @Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE) public abstract class Fecha { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id;

[appengine-java] Problem with persist a child class

2010-09-22 Thread lisandrodc
Hi ! I have a problem when persist a chid class. The parent class: @PersistenceCapable @Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE) public abstract class Fecha { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id;

Re: [appengine-java] How to make GWT + App Engine application crawlable?

2010-09-22 Thread hezjing
Probably that was a bad query string, but the servlet filter is not able to retrieve the query string from http://127.0.0.1:/Hello.html?A=Bgwt.codesvr=127.0.0.1:9997 too! http://127.0.0.1:/Hello.html?A=Bgwt.codesvr=127.0.0.1:9997 On Thu, Sep 23, 2010 at 10:04 AM, John Patterson

[google-appengine] App Engine O'Reilly ebook $9.99 today only

2010-09-22 Thread Dan Sanderson
Hi all - My book, Programming Google App Engine, is O'Reilly's EBook Deal of the Day for September 22. For the next 24 hours, you can buy the ebook edition of PGAE from O'Reilly's website for only $9.99 (73% off!). Use the code DDPGA during checkout. http://oreilly.com/catalog/9780596522728/

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Raymond C.
Same here. The problem seems getting more serious. I hope the appengine team is not ignoring all these. On Sep 22, 11:30 am, Albert albertpa...@gmail.com wrote: Same problem here. On Sep 22, 9:52 am, Eric Ka Ka Ng ngk...@gmail.com wrote: Have great troubles in serving requests today,

[google-appengine] Re: Cannot access Admin Interface on Localhost

2010-09-22 Thread l.denardo
Can't help with production issue, sorry. Maybe if you post your web.xml settings we can figure out what's going on. To login as admin in production, as far as I know, you must only sign in with the Google account you use as your appengine administration account. The admin pages you set as admin

[google-appengine] Re: CSS available but not executed

2010-09-22 Thread Tzach
Thanks Julian It is working now. I have moved the location of the stylesheets directly under the war This works, but after some more reading I believe I could have change the static file root directory at appengine-web.xml to public-root/public/public-root to solve the problem. didnt test it yet.

[google-appengine] Re: Versioning applications/entities

2010-09-22 Thread Tonny
I'm considering the samme issue currently, and I'm looking forward to see other suggestions. Here mine. Up until now i have gotten away with making entities backward compatible. They have so designed them so they can be upgraded on the fly and stille work even though not upgraded. But this i

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Blixt
Yup, same here. Maybe related to: - http://groups.google.com/group/google-appengine/browse_thread/thread/5dd8fc4885978c1b and - http://groups.google.com/group/google-appengine/browse_thread/thread/9945f9e2a50c2395 On Sep 22, 3:52 am, Eric Ka Ka Ng ngk...@gmail.com wrote: Have great troubles in

[google-appengine] Re: Versioning applications/entities

2010-09-22 Thread Tim Hoffman
Why can't you push the version 2, start updating the data but still keep running version 1 until the data update has finished. That I believe is the normal recommended approach. Is there something about your new version 2 data model that will break version 1 ? T On Sep 21, 2:29 am, Kyle Baley

Re: [google-appengine] Re: 500 error trying to reach dashboard

2010-09-22 Thread Fredrik Bonander
Not sure if it's the same problem but about 10% of request yesterday resulted in 500 error google.appengine.runtime.DeadlineExceededError. I've seen this over the last week or so. All error is when the application is trying to reach the datastore, for exmaple dbPages.Pages.gql('ORDER BY

Re: [google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Fredrik Bonander
Same here. Could this be related to using django 1.1? ..fredrik On Sep 22, 2010, at 11:10 AM, Blixt wrote: Yup, same here. Maybe related to: - http://groups.google.com/group/google-appengine/browse_thread/thread/5dd8fc4885978c1b and -

[google-appengine] OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
According: OAuth for Web Applications http://code.google.com/apis/accounts/docs/OAuth.html If you require access to more than one Google service, you can obtain multiple access tokens, but no more than ten access tokens per user and application can be outstanding at any time. Are there similar

[google-appengine] Re: Anyone else seeing high amount of DB put timeout again?

2010-09-22 Thread solsTiCe
no. But I see a lot of 500 error because either of class 'google.appengine.runtime.DeadlineExceededError' or Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load.

Re: [google-appengine] Re: Anyone else seeing high amount of DB put timeout again?

2010-09-22 Thread Fredrik Bonander
Are you using django 1.1? ..fredrik On Sep 22, 2010, at 12:02 PM, solsTiCe wrote: no. But I see a lot of 500 error because either of class 'google.appengine.runtime.DeadlineExceededError' or Request was aborted after waiting too long to attempt to service your request. This may happen

Re: [google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Fredrik Bonander
Yes. But I can't see how this is relevant since (at least for me) the error always occur during datastore calls (at least for me) ..fredrik On Sep 22, 2010, at 4:18 PM, Blixt wrote: It's probably part due to using Django 1.1, since you are the third person reporting this problem using

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Blixt
It's probably part due to using Django 1.1, since you are the third person reporting this problem using Django 1.1 (assuming you are using it :) On Sep 22, 3:52 pm, Fredrik Bonander carl.fredrik.bonan...@gmail.com wrote: Same here. Could this be related to using django 1.1? ..fredrik On Sep

Re: [google-appengine] OAuth + App Engine access tokens per user and application

2010-09-22 Thread Ikai Lan (Google)
Yes, I'd imagine so. I'll double check and re-post if it's not true. Do you have an application that needs to retain more than 10 Google applications per user? I'm not even sure there are 10 Google OAuth enabled services. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

[google-appengine] How to programmatically make a deployment the default

2010-09-22 Thread Lu
Two questions: I am pushing a new deployment up to the server using: appcfg.py update I then navigate manually to the Google App Engine, select the version I just uploaded and click the Make Default button. Question #1) I prefer automating the last manual step, but could not find documentation

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Geoffrey Spear
On Sep 22, 10:25 am, Fredrik Bonander carl.fredrik.bonan...@gmail.com wrote: Yes. But I can't see how this is relevant since (at least for me) the error always occur during datastore calls (at least for me) If the requests it's happened on are always loading requests (they'll have an

Re: [google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Fredrik Bonander
That make sence, thanks. But something is defently going on. Since the requests(same as the ones that fails after about 20-30 sec) that works as the should has a response of about 400-500 ms. ..fredrik Sent from my iPad On 22 sep 2010, at 17:41, Geoffrey Spear geoffsp...@gmail.com wrote:

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Blixt
In my case it's throwing a DeadlineExceededError before it even reaches the code responsible for handling the request, meaning there are no service requests at all before the error, only imports. It occurs mostly when starting a new instance of the application so yes, it's related to the imports

[google-appengine] Re: Does enabling Blobstore cost 0.7GB of storage?

2010-09-22 Thread brianl
I'm experiencing this problem too. My daily quota starts off at .93 Gb, but I only have 138 kb in entities. It has been three days now. There's another post where someone says it's the logs? It's not clear how to delete the logs. -brian On Aug 11, 2:24 pm, Smrchy smr...@gmail.com wrote:

Re: [google-appengine] Re: Anyone else seeing high amount of DB put timeout again?

2010-09-22 Thread solsTiCe d'Hiver
Le mercredi 22 septembre 2010 à 16:26 +0200, Fredrik Bonander a écrit : Are you using django 1.1? I am using google.appengine.ext.webapp.template -- 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] Re: Help - Total Stored Data at 95% of 1GB (free quota)....

2010-09-22 Thread brianl
I'm experiencing this same issue. My 'Total Stored Data' starts off for the day at .93 Gb. Currently my entities only consume 138 Kb. Let me know when or if you find an answer. -brian On Jul 30, 10:12 am, tonywestonsfsdffs tony.west...@googlemail.com wrote: These are the statistics:

Re: [google-appengine] How to programmatically make a deployment the default

2010-09-22 Thread Fredrik Bonander
I agree with the second question. Would be great to have. One thing about the first one, if one should do that it's very imported to mind your indexes. Since if the new version of the application you upload require a new index, the application will (if a datastore method is called that uses the

Re: [google-appengine] How to programmatically make a deployment the default

2010-09-22 Thread Nick Johnson (Google)
Hi Lu, On Wed, Sep 22, 2010 at 3:54 PM, Lu luci...@gmail.com wrote: Two questions: I am pushing a new deployment up to the server using: appcfg.py update I then navigate manually to the Google App Engine, select the version I just uploaded and click the Make Default button. Question

[google-appengine] using a task to keep my app alive when it sleeps

2010-09-22 Thread Martin Webb
Hi - while everyone is complaining about load issues i have a little app that doesnt see a lot of use maybe 80-100 visits a day. Thus it sleeps If use a task to call a handler that does simply nothing - it would keep the app alive and awake - i assume. Any advie on how to do this, how often to

[google-appengine] Re: Versioning applications/entities

2010-09-22 Thread Kyle Baley
Here's one extreme example. In the original data model, the password isn't encrypted. In the new one, it is. On Sep 22, 4:41 am, Tim Hoffman zutes...@gmail.com wrote: Why can't you push the version 2, start updating the data but still keep running version 1 until the data update has finished.

[google-appengine] View this page Google App Engine Open Source Projects

2010-09-22 Thread Ikai Lan
Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy paste it into your browser's address bar if that doesn't work. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

[google-appengine] Re: OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
Hi Ikai, Using Google App Engine I want to create a Python App using GData API to do the following: 1) as administrator I want to create a group of members using their Gmail accounts as ID. I know their email addresses. 2) my App will send request to each member to get permission to access

[google-appengine] Re: OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
Hi Ikai, about your question: 10 Google applications per user? I need only one application per user - Contacts. The question is how many users? On Sep 22, 7:33 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Yes, I'd imagine so. I'll double check and re-post if it's not true. Do you have

Re: [google-appengine] using a task to keep my app alive when it sleeps

2010-09-22 Thread Jaroslav Záruba
I'm afraid it is on the edge of 'abusing the platform'. On the other hand we've been promised some sort of solution quite a while ago. :( Last time I checked my VM went to sleep after roughly 30s, recently it feels like it happens even sooner. On Wed, Sep 22, 2010 at 7:34 PM, Martin Webb

Re: [google-appengine] using a task to keep my app alive when it sleeps

2010-09-22 Thread Martin Webb
Ah i see. Well im glad i asked. I dont want to abuse the platform. I just saw a thread some time about this and wondered if their was some form of solution. Thx Regards Martin Webb The information contained in this email is confidential and may contain proprietary information. It is

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Carlos Ble
Hi, We are having the same problem. We have had the service down for almost 20minutes. We also use Django 1.1 and I understand than importing all modules might take time but it usually works in less than 500ms, and now it is producing DeadlineExceededError just in the imports, so before any query.

[google-appengine] Re: Anyone else seeing high amount of DB put timeout again?

2010-09-22 Thread James Saull
same. It is sporadic. Up down up down. Even simple pages that dont use db or memcache. On Sep 22, 5:13 pm, solsTiCe d'Hiver solstice.dhi...@gmail.com wrote: Le mercredi 22 septembre 2010 à 16:26 +0200, Fredrik Bonander a écrit : Are you using django 1.1? I am using

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Carlos Ble
Well, this is the third time I try to send this message. Am not feeling very lucky today :-) Our application is suffering the same problem. App Engine is not running normally today. Apart from DeadlineExceededError, we are getting this warning: Request was aborted after waiting too long to

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread James Saull
I am using Django as is bundled by default by GAE and I am getting failures again today. It happened for most of yesterday - was fine this morning and now failing again. Even the simple pages which normally take a few cpu cycles. I can access the dashboard and view my data from there no problem.

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Carlos Ble
We are also facing this problem. Too many DeadlineExceededError. We also use Django 1.1 but the same app usually loads within 500ms, and today we have been down for about 20 minutes. Now we have deployed the version precompiling the app (just changing app.yaml and deploying) and so far we haven't

[google-appengine] Indexes problem after deployment

2010-09-22 Thread John Tadros
Dear All, When I deploy my application, and try to run it, I get a server error. When I go to the logs, I find this error: com.google.appengine.api.datastore.DatastoreNeedIndexException: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console..

[google-appengine] Re: How to programmatically make a deployment the default

2010-09-22 Thread PK
Automatically erasing the oldest not active version would be a very welcome improvement. On Sep 22, 9:57 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Lu, On Wed, Sep 22, 2010 at 3:54 PM, Lu luci...@gmail.com wrote: Two questions: I am pushing a new deployment up to the

[google-appengine] XMPP in App Engine with no Google Talk

2010-09-22 Thread roberto_sc
Hi I want to implement a chating bot in my app but it would have its own user base, that is, I don't want to use Google Account/Gtalk. Is it possible to implement in app engine my own status server where I could know the status of my users and send them messages when they get online? -- You

[google-appengine] 500 Server Error accessing the GAE dashboard

2010-09-22 Thread kg
And queries are really slow today. Are others experiencing this issue today? I haven't seen any maintenance/issue notification come through yet. Thanks. -- 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] Re: Versioning applications/entities

2010-09-22 Thread Tim Hoffman
Hi Thats one example where I think you should handle that data discrepancy in the code. Update you code to support both forms of password during the transition, (either the old code or the new code) the update data. Then once you have converted everything remove the cleartext password code, T

[google-appengine] Re: JDO query cursor usage questions

2010-09-22 Thread Rick Horowitz
Thanks for the help. Much appreciated. On Sep 20, 10:29 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Yes, storing the cursor locally would be how you do it. If you weren't using GWT, you'd be rendering a link to the next page with the start cursor in the body of the HTML document,

[google-appengine] Re: Anyone else seeing high amount of DB put timeout again?

2010-09-22 Thread Raymond C.
Now it's even worst that most task queue return tracient error while adding them... On Sep 23, 1:00 am, James Saull james.sa...@gmail.com wrote: same. It is sporadic. Up down up down. Even simple pages that dont use db or memcache. On Sep 22, 5:13 pm, solsTiCe d'Hiver

Re: [google-appengine] Versioning applications/entities

2010-09-22 Thread Eli Jones
It might be useful for you to use a namespace for the new version of the datastore. Thus, you could have the new version of the app deployed as a non-live version of the app.. and code that new version to use the new version datastore namespace. Then, when you are ready.. just change the live

[google-appengine] TransientError on adding task queue, yet the status page says no error.

2010-09-22 Thread Raymond C.
Anyone else having the same problem? or its just me? Most of my task queue insertions are failing with below error, they were working fine for several weeks. The traces are as below: File /base/python_runtime/python_lib/versions/1/google/appengine/ext/ deferred/deferred.py, line 241, in defer

[google-appengine] Re: Versioning applications/entities

2010-09-22 Thread Kyle Baley
That's an interesting idea. But if you do that, wouldn't you need to first copy all the data from the v1 namespace to the v2 namespace? On Sep 22, 7:07 pm, Eli Jones eli.jo...@gmail.com wrote: It might be useful for you to use a namespace for the new version of the datastore. Thus, you could

[google-appengine] remote_api not allowed

2010-09-22 Thread Kyle Baley
I'm trying to test a backup restore from one app to another and I'm getting an error trying to access remote_api on one of them. Here's the first part of the log message I get when I navigate to remote_api directly: /remote_api java.lang.IllegalArgumentException: The requested URL was not

Re: [google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread ego008
Same here. http://gaefons.appspot.com/ 2010/9/22 James Saull james.sa...@gmail.com I am using Django as is bundled by default by GAE and I am getting failures again today. It happened for most of yesterday - was fine this morning and now failing again. Even the simple pages which normally

Re: [google-appengine] 500 Server Error accessing the GAE dashboard

2010-09-22 Thread David Toledo
Hi All Exist some way from connect Mysql database in appengine and if is possible where can found this info or examples? Thanks David 2010/9/22 kg kang...@gmail.com And queries are really slow today. Are others experiencing this issue today? I haven't seen any maintenance/issue notification

[google-appengine] Re: Versioning applications/entities

2010-09-22 Thread Tim Hoffman
Yep you will duplicate your data,. I don't think its a good idea unless you only have a very small amount of data. T On Sep 23, 9:39 am, Kyle Baley k...@baley.org wrote: That's an interesting idea. But if you do that, wouldn't you need to first copy all the data from the v1 namespace to the

[google-appengine] Re: Super High Latency!! many 500 response! What happen to GAE?

2010-09-22 Thread Raymond C.
Really disappointed that after 24 hours and still no one from Google is responding, or at least tell us someone is looking at it... On Sep 23, 10:46 am, ego008 ego...@gmail.com wrote: Same here.http://gaefons.appspot.com/ 2010/9/22 James Saull james.sa...@gmail.com I am using Django as