[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-22 Thread Bjorn B
I think the issue is that on some installations for Eclipse (STS among other) you get an silent error when clicking on the Google-login button in the bottom left corner. Some odd exception (only vissible in the error pane), and nothing happends. I still haven't worked out how to get around this

[appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Vik
any help on this please? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Wed, Aug 10, 2011 at 12:31 PM, Vik vik@gmail.com wrote: Hie I have sitemap.xml and urllist.txt files in my web root folder of my gwt+gae app. However, on deploying these files are

[appengine-java] Problem deploying to GAE

2011-08-22 Thread Sarah
Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=salam-worldversion=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

[appengine-java] Re: Announcing: Programming Google App Engine, 2nd Edition Rough Cuts

2011-08-22 Thread thstart
Hi Dan, I was happy with 1st edition, build a whole app working perfect under M/S, now the advice is to move to HR. My main concern is the speed and the cost of translation. The last 2 months switched the app from M/S to HR but it was working 2-5 times slower, so I switched back to M/S and it is

[appengine-java] Can't enable datastore admin

2011-08-22 Thread Sam
Hi, I'm trying to take advantage of the new Java datastore admin functionality in v1.5.3. However, every time I click Enable for Datastore Admin, I get the error message A version with the name:ah-builtin-python-bundle, already exists. Has anyone else encountered this? Do you know how to fix

[appengine-java] Re: FileServiceFactory.getFileService().getBlobKey(file) is Broken, blobkey parser returns null

2011-08-22 Thread Jared Alexander
Thanks for the tip, worked for me as well! -- 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/-/4UtA_mAj6nYJ. To post to this group, send

[appengine-java] appengine complained can't seriialize javax.faces.component.UIParameter object???

2011-08-22 Thread nella
Hi, I have a JSF2 app that is able to run on my local instance. However, after I deployed to GAE, i encountered an object serialization runtime error on pages containing a UIPrameter object (e.g. f:param id=param1 value=foo /) I've tried the same app on glassfish (local) and tomcat

[appengine-java] Cloud computing projects for engineering students

2011-08-22 Thread Ravindra Dastikop
Hello All For last 3 years, I have been specializing in cloud computing and have introduced an elective for V semester engineering http://cloudcomputingcourse.blogspot.com I have already asked my students to do GAE based projects and here is an example http://sdmcetcon1.appspot.com Kindly

[appengine-java] Upload attachments Google Sites

2011-08-22 Thread Nicolò Brognoli
Hello, I want to upload an InputStream object onto Google sites. The sites API manage only File objects, but I can't use the OuputStream to generate the File from the InputStream. How can I upload the InputStream object to Google Sites? Should I do that with a POST request? And if so, how can

[appengine-java] Re: Server Error : Deployment Failed

2011-08-22 Thread Sarah
+1 same error 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/-/ZY7XbAsdhrcJ. To post to this group, send email to

[appengine-java] Android authentication broken?

2011-08-22 Thread Erlend Hamnaberg
Hi all. I'm using Google appengine from Android, and have been using this [1] method for auth. Is there something that has changed recently? It used to work a couple of weeks ago. Coming back from vacation it failed to work. Any pointers? 1:

[appengine-java] JDOQL 3.1

2011-08-22 Thread Stephen Foster
I was just wondering if anyone knew if there were any plans to support JDOQL 3.1 in app engine anytime soon. A couple of the features such as size() would be really useful. I've read through the release history of GAE and can't see anything obvious. -- You received this message because you are

[appengine-java] Re: Server Error : Deployment Failed

2011-08-22 Thread Nikhil
Same issue while deploying application. Re-tried a few times. Looks like a consistent problem. -- 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] How to use HTTPURLCONNECTION to post data to a form containing captcha+multiple choice values

2011-08-22 Thread Ikai Lan (Google)
Is your site showing the captcha? If so, I know I'm not answering the question, but have you considered this? http://www.google.com/recaptcha -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Aug 20, 2011 at 3:06 AM, Arvind Chari

Re: [appengine-java] Mail API calls - Quota

2011-08-22 Thread Ikai Lan (Google)
We've reduced the free quota on new applications. If you enable billing, you should still have the same billing quota. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 21, 2011 at 7:41 AM, realdope rte...@gmail.com wrote: Hi,

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Ikai Lan (Google)
Vik, it probably has something to with your web.xml file. On a related note, are you at all interested in GAE consulting? It sounds like you're carrying a lot of weight on your own shoulders, and there are plenty of experts in this forum that wouldn't mind taking on an additional contract! --

Re: [appengine-java] Cloud computing projects for engineering students

2011-08-22 Thread Ikai Lan (Google)
Feel free to repurpose anything you want from here: http://io-bootcamp-datastore.appspot.com/ It's a tutorial session I did about the datastore from Google IO. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sun, Aug 21, 2011 at 5:29 AM,

Re: [appengine-java] Android authentication broken?

2011-08-22 Thread Ikai Lan (Google)
Can you describe the errors you're seeing? Exceptions that are thrown, etc? It doesn't work isn't a particularly helpful error report. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Aug 22, 2011 at 7:00 AM, Erlend Hamnaberg

Re: [appengine-java] appengine complained can't seriialize javax.faces.component.UIParameter object???

2011-08-22 Thread Stephen Johnson
Hi, The local dev stores session information in memory so you won't get the NotSerializableException on local dev because the local dev doesn't need to serialize the objects that are in the session. I think that may also be the case with glassfish and tomcat if you haven't set up a database to

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread jem...@gmail.com
I'll do it for free just for the heck of it. - Reply message - From: Ikai Lan (Google) ika...@google.com Date: Mon, Aug 22, 2011 2:10 pm Subject: [appengine-java] Re: sitemap.xml and urllist.txt To: google-appengine-java@googlegroups.com -- You received this message because you are

Re: [appengine-java] Eclipse GAE with OSX Lion

2011-08-22 Thread Nick Wood
Thanks for all of the replies, everyone! I found out the issue. The IP that I had set for my localhost in my /etc/hosts file had changed. Since fixing this, I am now been able to successfully connect Eclipse with the Google Login, as well as deploy the server locally. Thanks all! Sorry for

[appengine-java] How to use any Web services, in particular RESTFull.

2011-08-22 Thread NeverFollow
Hi, - I am new to GAE and I wonder how to run some Web services. - I would like to exchange XML files using RESTFull. So far I used Glassfish, and I wonder if GAE provides a similar function? Is there any plugin to use with Eclipse? Is there a location where I can find some example?

Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?

2011-08-22 Thread objectuser
I decided to give Objectify a try because I think any significant reduction in startup time could be quite valuable. It appears my startup time is now around 8s. So maybe 2s less, but I don't have any objective data. It's certainly not around 2s total. Alas. On the plus side, Objectify

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-22 Thread Vik
Right This is our non profit organization(http://www.sakshum.org) working for educating the children from slums and building a blood donor network across India. At this moment I am the only developer building the entire system and had privilege of a volunteer tester for some of the time. As

Re: [google-appengine] A bug in custom domain / HR datastore app management.

2011-08-22 Thread Gregory D'alesandre
Hi Sergey, we've definitely noticed and appreciate you reporting the bug to us! The bug notes a workaround now and we are working on more permanent fixes, unfortunately those fixes often take times both to implement and then to deploy. Greg On Thu, Aug 18, 2011 at 8:42 AM, Sergey Schetinin

Re: [google-appengine] A bug in custom domain / HR datastore app management.

2011-08-22 Thread Sergey Schetinin
Yeah, thanks for suggesting the workaround. I understand that there's a lot happening with App Engine, so it's impossible to respond to everything, but reporting problems with GAE is usually a very frustrating experience (and I don't think it's just me). On 22 August 2011 09:50, Gregory

Re: [google-appengine] A bug in custom domain / HR datastore app management.

2011-08-22 Thread Gregory D'alesandre
Thanks for the feedback Sergey and I don't think its just you either. We are working to make the process less frustrating and ensure everyone understands that we do actually read bug reports and work to resolve them :) Greg On Sun, Aug 21, 2011 at 11:55 PM, Sergey Schetinin

[google-appengine] Re: GAE data store benchmark

2011-08-22 Thread Bruce Aloe
Hey Robert, My data models are quite similar to relational database schema, for example, i have employee, department, project models defined in my GAE web application. There are relationships among them (e.g one department has many employees, one employee can work for one department. One employee

[google-appengine] Re: Pending queue in the scheduler.

2011-08-22 Thread Dale
Perhaps you could benefit by enabling warm-up requests? http://code.google.com/appengine/docs/adminconsole/instances.html#Warmup_Requests On Aug 19, 6:45 pm, de Witte jcreator.xi...@gmail.com wrote: Question about the scheduler. I got several user request a day which include the message :

[google-appengine] Re: GAE request latency is higher than expected.

2011-08-22 Thread Mikael Grev
OK. Thanks Robert. On Aug 21, 7:59 am, Robert Kluin robert.kl...@gmail.com wrote: You should try to put the latency control back on auto. When I set it to 10ms I saw signifanctly worse performance. You should also try to make a lot of requests to get it warmed up. Robert On Aug 19, 2011

RE: [google-appengine] Re: GAE request latency is higher than expected.

2011-08-22 Thread Brandon Wirtz
I have been testing at 50% of average Latency. This seems to strike a good balance. 10ms seems to basically always spawn new instances. Which makes things slower because you are always eating the spin up time. -Original Message- From: google-appengine@googlegroups.com

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Mike Lawrence As you post I have couple of questions to you. Average response time is still sub-second for the week. Do you use queries to fetch data or you use a lists? Do you modified your app when moving to HR, or just transferred it? 1000 simultaneous users. Are you users logged in or

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread Mike Lawrence
In general, my app does 3 db gets for every db query. No modifications were necessary with my app. Using slim3 db for transactions. 1000 simutaneous users were logged in using my own authentication (not federated) with sessions enabled. I only use session to record the fact that a user has

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
Hi Mike, Thank you, I am collecting the bits needed for eventual switch. In fact I already switched my app to HR, it worked for 1 month but I never got the speed of M/S. So now I have to figure out why. Best, --Constantine -- You received this message because you are subscribed to the Google

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan Dan's advice is correct: use get-by-key as much as possible, and any update to the book will likely include a section about high replication. *I just bought an access to his book in progress. Asked him a question on G+ about speed in general, get the following answer: Compared to

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan In my example: * root = MyRoot.get_profile() ** skey = email * * key = db.Key.from_path('MyList', skey, parent=root.key()) profile = db.get(key) For HR are there a need to change the way these keys are formed?

[google-appengine] import errors with sdk 1.5.3

2011-08-22 Thread andreas schmid
hey, since i upgraded to the new sdk i have issues importing modules i have some older apps where i use whoosh appengine to index some stuff. since sdk 1.5.3 i cant run those apps any more. whoosh-appengine is in the root of the project and the function i want to import is there. the import:

[google-appengine] multiple entity groups in a transaction

2011-08-22 Thread peter
there are some transaction options which suggest that you can begin a transaction allowing more than one entity group but with sdk 1.5.3 on windows the beginTransaction() method does not compile with a TransactionOption parameter -- You received this message because you are subscribed to the

[google-appengine] Minimizing writes to the HRD

2011-08-22 Thread mikegleasonjr
Hi, I'm designing an app which provides a service. Like a public API exposed to the world. Ppl are able to use my service via the API. So one call to my app is an API call. Every calls are read only calls to the datastore. I want to track each API call (have the total count of API calls for

[google-appengine] Google App Engine: Different behavior locally vs deployed, error: can't operate on multiple entity groups in a single transaction.

2011-08-22 Thread Jared Alexander
I have a Java Google App Engine web application that allows user upload of images. Locally, it works great. However, once I deploy it to the cloud, and I upload an image, I get the following error: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single

Re: [google-appengine] High-performance, high-precision sharded counters in the HRD

2011-08-22 Thread Ikai Lan (Google)
Jeff, 1. I don't know the exact number, but this method has been used in apps that get thousands of QPS 2. No, because there is also a Key index. There's no entity group root to transact on to see if we have the newest version of data. If you did a batch get with the keys themselves, it would be

Re: [google-appengine] High-performance, high-precision sharded counters in the HRD

2011-08-22 Thread Ikai Lan (Google)
(and if I read your entire email, I would have realized that you already figured it out that you can do a batch get by key) -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Aug 22, 2011 at 10:37 AM, Ikai Lan (Google) ika...@google.comwrote:

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread Ikai Lan (Google)
Hi, You're building the keys correctly for strong consistency. As far as speed goes, let me give you an example of speed in action. It takes me ~30 minutes to bike somewhere. I can also take the bus. The bus takes me 20 minutes when there are no disruptions. Unfortunately, there are disruptions

Re: [google-appengine] Minimizing writes to the HRD

2011-08-22 Thread Barry Hunter
Memory is not going to cut it. Your 'instances' are put up and torn down all the time. So while instance memory might work for short term caching, you can't rely on it. * If you can live with occasional losses, just use memcache incr() - memcache can still loose data**

Re: [google-appengine] Search Feature

2011-08-22 Thread Ikai Lan (Google)
It's on the roadmap; hopefully soon. In general we don't release ETAs (because we are usually wrong). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Aug 20, 2011 at 8:48 AM, mattkrae34 matt.krae...@gmail.com wrote: Any word on when the

Re: [google-appengine] Minimizing writes to the HRD

2011-08-22 Thread Mike Gleason jr Couturier
Thanks Barry, For the regular writes from memcache to the hrd, you would set up a cron job? http://code.google.com/appengine/docs/java/config/cron.html In that case my API service would be pretty efficient I guess with read only calls from my clients. Thank you again -- You received this

Re: [google-appengine] Minimizing writes to the HRD

2011-08-22 Thread Barry Hunter
Could use cron. or more dynamic tasks. Depends party on how many clients you have. One of the issues you face is that can't query memcache to see what keys there are waiting to be written. So you either have to just try them all, or maintain some sort of list. If a small number (under say 1000?)

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan As far as speed goes, let me give you an example of speed in action. I very much appreciate your explanation. I understand we cannot know much of the internal working and don't need to. That is good enough for me to decide now to move back to HRD. So did I - I just reactivated the

[google-appengine] Re: Search Feature

2011-08-22 Thread Bryce C
Until then, take a look at what others are using: http://groups.google.com/group/google-appengine/browse_thread/thread/50339daca902ed64 On Aug 20, 8:48 am, mattkrae34 matt.krae...@gmail.com wrote: Any word on when the search functionality demoed at the Google IO conference this year will be

Re: [google-appengine] Minimizing writes to the HRD

2011-08-22 Thread Mike Gleason jr Couturier
Thanks I'll give it a shot -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/5x4yf7qWWekJ. To post to this group, send email to

[google-appengine] Re: High-performance, high-precision sharded counters in the HRD

2011-08-22 Thread Kaan Soral
Out of curiosity, are you in the development stage? I did a lot of unnecessary thinking like this when I was in the development stage and after the production, I saw that half of my work was unnecessary On Aug 20, 11:50 pm, Jeff Schnitzer j...@infohazard.org wrote: The short version boiled down

[google-appengine] Re: Remote API + File API

2011-08-22 Thread André Salvati
Without out.close() throws this exception on or writeChannel.closeFinally(): Exception in thread main java.lang.IllegalStateException: The current request does not hold the exclusive lock. at com.google.appengine.api.files.FileServiceImpl.close(FileServiceImpl.java: 315) at

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread Fred Sauer
On Sat, Aug 20, 2011 at 7:52 AM, Sekhar allur...@gmail.com wrote: We're about to launch a healthcare app, and we recently switched from M/S to HRD (both with reserved instances). I'm really, really happy with HRD so far, most importantly we don't see random hiccups in data access any more.

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread Fred Sauer
On Sat, Aug 20, 2011 at 1:38 PM, thstart thst...@gmail.com wrote: +Jeff Schnitzer pry the details out of you. I posted a code if you care to read, the advice is EVENTUAL_CONSISTENCY which is a compromise and I don't need to do it in M/S. When fetching a list of keys use

[google-appengine] Subdomains in Appengine

2011-08-22 Thread Bruno Sandivilli
Hi, what if i want to have a subdomain like this orkut.myapp.appspot.com, can i? So i can administrate the N pasrt of my app (like facebook.myapp.appspot.com, plus.myapp.appspot.com, etc) . thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [google-appengine] Re: Classloading still way too slow. Any recommended practices? (yes, I am using warmup requests already)

2011-08-22 Thread Simon Knott
I've just deployed one of my apps with the classes JARed and it's halved the loading request elapsed time for me, although it hasn't really touched the CPU_ms time. Admittedly it only has 53 classes in it, but a decrease of 5 to 2.5 seconds is a noticeable speed-up which I'm more than happy

[google-appengine] How to use any Web services, in particular RESTFull.

2011-08-22 Thread Paul Grojean
Hi, - I am new to GWT and I wonder how to run some Web services. - I would like to exchange XML files using RESTFull. So far I used Glassfish, and I wonder if GWT provides a similar function? If so, is there a location where I can find some example? - If not possible or supported, is there

[google-appengine] Re: DeadlineExceededError oddities

2011-08-22 Thread Wes
Seems that disabling DEBUG mode has an effect and it works again. Not sure why the other app ID had no issues with debug being enable, but this resolves my issue for now. I'll return to this [hopefully] and do some tracing to determine if there's some noticeable difference between the two apps.

[google-appengine] GeoModel and Django

2011-08-22 Thread Ellie Frost
I'm looking to move my application to Django. It seems to be a pretty easy move, but I've gotten a bit stuck with GeoModel. I can't find a direct equivalent for Django. I thought just changing the superclass of GeoModel could do the trick, but there's no Django version of the GeoPt property. Would

[google-appengine] Re: GeoModel and Django

2011-08-22 Thread Kyle Finley
Hi Ellie, I'm assuming you talking about native Django models. I began a port of GeoModel to Django-norel some time ago, but never completed it. Here's the repo django-geomodel https://bitbucket.org/scotch/django-geomodel. I found that for my dataset, without async support in Django, the

Re: [google-appengine] Subdomains in Appengine

2011-08-22 Thread Robert Kluin
Yes. http://code.google.com/appengine/docs/python/runtime.html#Requests_and_Domains On Mon, Aug 22, 2011 at 18:54, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi, what if i want to have a subdomain like this orkut.myapp.appspot.com, can i? So i can administrate the N pasrt of my app

Re: [google-appengine] multiple entity groups in a transaction

2011-08-22 Thread Robert Kluin
Transactions are currently limited to a single entity group. http://code.google.com/appengine/docs/java/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction On Sun, Aug 21, 2011 at 23:54, peter pbosa...@gmail.com wrote: there are some transaction options which suggest that you can

Re: [google-appengine] Google App Engine: Different behavior locally vs deployed, error: can't operate on multiple entity groups in a single transaction.

2011-08-22 Thread Robert Kluin
Hi, The issue is probably that fileService.getBlobKey (and other methods) makes a datastore call (at least the Python version does). Since transactions can only touch one entity group, you might get some problems. (I didn't read your code that closely, but perhaps that will help you track it