Re: [appengine-java] Re: pm.store() failing silently
Do you know what that index represents? I'm trying to build a set of reproducible steps so that I can add more descriptions to the bug. That is - how can I write code on my instance to make this happen? On Fri, Sep 10, 2010 at 4:19 AM, John demowee...@gmail.com wrote: I was able to find the bug, filed: http://code.google.com/p/googleappengine/issues/detail?id=3700 On Sep 7, 9:31 am, John demowee...@gmail.com wrote: Some more debugging info. When I get this error, I tried to store a new object UserPhotoTest (exactly the same, just renamed the class), with the same content, and it gets persisted properly, in the same request. After the test one gets persisted correctly - still in the same request - I try again the regularUserPhoto(creating a new instance, same content), and it still fails. This is 100% reproducible. So it seems that this is related to the servers where this entity is being persisted, which gets this flaky behavior. Not sure if this is a blobstore or datastore issue. On Sep 2, 2:14 pm, Ikai L (Google) ika...@google.com wrote: Does this consistently fail every 1/3 times, or at certain times? Not that it should matter, but how are you creating the PersistenceManager? On Wed, Sep 1, 2010 at 6:21 PM, John demowee...@gmail.com wrote: This one is for App Engine team. Random silent failures, no explanation. I have a piece of code which only creates an entity and stores it with public void makeEntity() { UserPhoto photo = newUserPhoto(...); this.pm.makePersistent(photo); this.pm.close(); assert photo.key != null; // - fails from time to time From time to time, the code above will fail. Maybe once every 3 times (with the same parameters). I am assuming that the store() call at the datastore level is failing for whatever reason, but it is a silent fail as the code does not throw any exception. When this happens I can confirm looking at the datastore viewer that the entity was not persisted. The size does not seem to matter (fails on 5kb as well as 200 kb). I have logs of the app where back to back requests will fail first and succeeds next, with the exact same payload. It would be great if the App Engine team can point to an open bug which remotely explains this behavior. (the problem was present with 1.3.4 already) The entity model is : @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public classUserPhoto{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) Key key; @Persistent Blob photo; @Persistent Blob thumbPhoto; @Persistent private Key user; @Persistent private int size; @Persistent private String filename; @Persistent private Date date; @Persistent private Boolean canDelete; I tried persisting the entity with a transaction, and the problem is the same. This is my jdo-config persistence-manager-factory name=transactions-optional property name=javax.jdo.PersistenceManagerFactoryClass value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFa ctory/ property name=javax.jdo.option.ConnectionURL value=appengine/ property name=javax.jdo.option.NontransactionalRead value=true/ property name=javax.jdo.option.NontransactionalWrite value=true/ property name=javax.jdo.option.RetainValues value=true/ property name=datanucleus.appengine.autoCreateDatastoreTxns value=true/ property name=datanucleus.DetachOnClose value=true/ /persistence-manager-factory -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http
Re: [appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill
It's very hard to use GWT's RPC mechanism without using GWT. GWT's RPC mechanism is nice because it provides a server side implementation, but on the client side, you're still creating an AsyncCallback and programming in an asynchronous manner. This is an area where Javascript really shines because of first class functions you can pass around (not available in Java) and closures (not available in Java unless you count anonymous inner classes). Rather than look at a single feature, look at the bigger picture. With GWT, you get a ton of useful widgets and a way to programmatically (or via XML via UiBinder) define your UI, you get an out-of-the-box event bus and history manager. This is actually a pretty neat way to develop a web app because you can compose widgets of widgets. I'd probably pick jQuery for more web page like interaction or applications with a less desktop like experience, because the interface for working with the DOM is one of the best I've ever used (to select and hide all parents of list elements with a class item, you'd do this: $(li.item).parents().hide());. jQuery's XHR interface is simple and straightforward, and combined with a library like Google GSON (http://code.google.com/p/google-gson/), you can build XHR rich applications fairly easily. I personally prefer GWT for anything that has to deal with detecting where a mouse click is or key handler events, or something where I have to programmatically assemble the UI which can be represented as a hierarchical bag of widgets. The jQuery way would be to output some HTML and jam it into an element using the .html() function, which is really only a notch above using the DOM's innerHTML= attribute. On Fri, Sep 10, 2010 at 4:47 AM, tempy fay...@gmail.com wrote: Thanks for the advice John. I've been reading about GQuery and it does seem good, though I have some concerns about whether it might be abandoned. I think my plan is to learn JQuery, as I feel like that should also teach me a lot about how the browser operates, which is a gap in my knowledge. I think I should learn something close to the metal (metal being browser in this case) before moving on to frameworks that abstract the browser away to a greater extent. I guess if I use JQuery, switching to GQuery at any time should not be problematic, and I get the best of both worlds. And I would sure love to hang on to GWT's RPC mechanism. Mike On Sep 10, 12:56 am, John Patterson jdpatter...@gmail.com wrote: BTW, you can use GWT in a manor very similar to JQuery. Take a look a GQuery by Ray Cromwell. He has an incredible benchmark page which dynamically shows how GQuery out performs JQuery in almost every measure. On 10 September 2010 05:53, John Patterson jdpatter...@gmail.com wrote: You might want to look into Sitebricks which is a Google developed web app framework built on top of Guice. It is a simple request response processor with no fancy component abstractions like Wicket or Tapestry. This model fits in very well with GWT (or other client frameworks) which request data via RPC or small snippets of rendered html to assemble on the client. It is still very much in active development so you have to be prepared to dig into the code and figure out the plumbing yourself. The author, Dhanji, has built a fantastic API here - simple, powerful and clever. http://code.google.com/p/google-sitebricks/ John On 10 September 2010 05:35, tempy fay...@gmail.com wrote: Thanks for the explanation Chris! Guess I'm learning jquery, golly, I'll be a real web programmer yet. =) On Sep 9, 7:58 pm, Chris (Google Employee) api.ch...@google.com wrote: Hi Mike, I think the reason we don't explicitly publish a list of frontend frameworks that play well with App Engine is because there really is no technical barrier between front end frameworks that work in the browser such as JQuery, etc and the backend (App Engine). Many App Engine users make full use of a myriad of front end technologies/ frameworks for UI creation ranging from HTML5/JS/CSS to flash etc. JQuery is especially popular for a variety of Web app usages, so if that works for you, I'd definitely continue trying it out. Hope this helps, -Chris On Sep 9, 10:43 am, tempy fay...@gmail.com wrote: Hello all, A little background... I'm mostly new to web frontend development, I come from a mostly backend and desktop background. I have a GAEj app that provides the backend for a rather sophisticated desktop/mobile app. This backend will also drive a website in addition to the desktop/mobile app. The website will show a small subset of the data in the system. I started with GWT, but it doesn't seem to be quite right. The website is for presentation of a small subset of the system's data only, and users do not interact with the data
Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console
I think one thing we can do better is to schedule some index builds for apps with no data ahead of apps with a lot of data, since they are essentially no-ops. Of course, one wonders if this means large index builds will be delayed forever? *rubs hands together for Computer Science fun* On Thu, Sep 9, 2010 at 7:11 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Soon after I posted the issue it was fixed. I don't know how or by whom but somehow it got resolved. I waited a few hours for the index to build even though there was no data to which the index was referring to. Thank you, Ikai. On Thu, Sep 9, 2010 at 9:39 PM, Ikai L (Google) ika...@google.com wrote: The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am directed to a error page that says: Server Error (500) A server error has occurred. Return to Applications screen » http://appengine.google.com/ My application's id is i-emote and its version is 1. Can anyone fix this for me and as soon as posible? Thanks in advance. Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- -- Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Cron Job and Cursors
Here's a link: http://code.google.com/p/appengine-mapreduce/ On Fri, Sep 10, 2010 at 8:58 AM, Robert Kluin robert.kl...@gmail.comwrote: You might want to look into the mapper api. It is designed to work with large datasets, so it may be a good fit. Robert On Fri, Sep 10, 2010 at 07:11, Sümer Cip sum...@gmail.com wrote: I have 1 million recordes. I am doing statitical work with the data field. What I want to do is to work in batches(with crons) with my data. That's all. On Fri, Sep 10, 2010 at 6:56 AM, Robert Kluin robert.kl...@gmail.com wrote: What is many entities, is it 100, 1,000, 1,000,000, more? What are you doing with the info field? Are you aggregating something? Transforming it? Writing one new model for each entity? What do you mean continue another day? Do you mean process some entities then stop and continue processing on another day? Robert On Thu, Sep 9, 2010 at 22:34, Sumer Cip sum...@gmail.com wrote: Hi, I have a very basic problem. Below is my model: class DummyModel: id:Integer info:Integer added:DateTime What I need to do is to have a cron job running per day to filter on added field and do something with the info field, but I have many entities and I want to make this process in batches maybe continue another day. How to do that efficiently? Cursors? Can we use them with cron jobs? Any example suggestion would be appreciated. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Sumer Cip -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: BUSINESS APP OR NOT?
Yes, only users on your Google Apps domain will be able to use a GAE4B application. You won't be able to open it up to general @gmail.com, OpenID users, or use your own authorization system. On Fri, Sep 10, 2010 at 9:29 AM, colin nos...@carter.es wrote: Ikai, thanks for an encouraging answer :-). The terms are more than little confusing for newbies like me and I don't want to start down a wrong track. Do I understand that my planned tool can be accessed via a url and restricted via a logon procedure to a handful of users? (like memobuild.com?) If my experience is positive, I want to develop bigger projects for the Google App Engine. One of these may have a smart-phone browser- interface. But first, I have to get up to speed with Python (looks good so far and I sense it will execute faster than PHP). On Sep 9, 8:52 pm, Ikai L (Google) ika...@google.com wrote: Normal pricing. GAE4B pricing applies if you are writing an application that is only accessible for Google Apps (Gmail, Docs) users and not the general public. Here's an example: Google App Engine (current) You create an image sharing service anyone can use. Google App Engine for Business You create an expense reporting tool that you want tied to a specific Google Apps Domain, say, ikaicorp.com that only us...@ikaicorp.com can use. This application can be administered via the ikaicorp.com domain console. On Wed, Sep 8, 2010 at 12:15 PM, colin nos...@carter.es wrote: I am confused by the two pricing policies (app engine for business and app engine). -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console
Index building isn't done in what we call user space, but that's certainly one possibility. I think we're being a bit more intelligent about how we schedule work, however, and it might be a bit more involved of a solution than just creating multiple queues - for instance, you could effective game the system by inserting a ton of data after the index building begins (and we don't want to lock your datastore). We recognize that this is a major pain point for developers and there's some work going on in this area to make index building more fair all around. On Fri, Sep 10, 2010 at 1:25 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I think the problem with 2 tasks queues is that they could still be hitting the same nodes on the network. Maybe just a better time slicing algorithm is what's needed. On Fri, Sep 10, 2010 at 3:36 PM, Nate Bauernfeind nate.bauernfe...@gmail.com wrote: Couldn't you create two task queue's? That should fix the starvation problem. I suppose the trick would be to determine which queue to stick it on. On Fri, Sep 10, 2010 at 1:15 PM, Ikai L (Google) ika...@google.comwrote: I think one thing we can do better is to schedule some index builds for apps with no data ahead of apps with a lot of data, since they are essentially no-ops. Of course, one wonders if this means large index builds will be delayed forever? *rubs hands together for Computer Science fun* On Thu, Sep 9, 2010 at 7:11 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Soon after I posted the issue it was fixed. I don't know how or by whom but somehow it got resolved. I waited a few hours for the index to build even though there was no data to which the index was referring to. Thank you, Ikai. On Thu, Sep 9, 2010 at 9:39 PM, Ikai L (Google) ika...@google.comwrote: The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.com wrote: I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am directed to a error page that says: Server Error (500) A server error has occurred. Return to Applications screen » http://appengine.google.com/ My application's id is i-emote and its version is 1. Can anyone fix this for me and as soon as posible? Thanks in advance. Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- -- Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- -- Jeff -- You received this message because you are subscribed to the Google
Re: [google-appengine] Re: Should I switch to the low level datastore api?
I think I can't type today. What I meant to say in my first email was there may be some performance benefit by switching to the low-level API, but the overhead introduced by JDO/JPA should be minimal in terms of queries and writes. On Fri, Sep 10, 2010 at 1:50 PM, gholler georgehol...@gmail.com wrote: I'm on a team that built a JDO app engine project that was fairly slow and then built a similar project using Objectify. We were very pleased with the performance. We were also careful to only index fields we queried and also let Objectify doing caching for us automatically. G -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Replace an object in the datastore with another not currently in the datastore?
With the low-level API, you would just set the Key of the old object to the one one and persist it. With managed persistence via PersistenceManager or EntityManager, I believe you can set a key and merge (but I'm not sure off the top of my head). On Wed, Sep 8, 2010 at 12:43 PM, Shaun shaunc...@gmail.com wrote: This might be very obvious, but imagine you have an object in the datastore that you simply want to to replace with another, i.e. keep the same key, just replace all the field values. Is there any easy way to do this without setting each field value of the datastore object with field values of the other object? As an example I find myself doing this alot: ExpenseEntry lJsonExpenseEntry = gson.fromJson(pExpenseEntryJson, ExpenseEntry.class); ExpenseEntry lExpenseEntry = pm.getObjectById(ExpenseEntry.class, expenseKey); lExpenseEntry.setExpenseamount(lJsonExpenseEntry.getExpenseamount()); lExpenseEntry.setExpensecategory(lJsonExpenseEntry.getExpensecategory()); lExpenseEntry.setExpensedate(lJsonExpenseEntry.getExpensedate()); lExpenseEntry.setExpensename(lJsonExpenseEntry.getExpensename()); lExpenseEntry.setExpensenotes(lJsonExpenseEntry.getExpensenotes()); lExpenseEntry.setExpenseuser(lJsonExpenseEntry.getExpenseuser()); lExpenseEntry.setProjectid(lJsonExpenseEntry.getProjectid()); in order to update the datastore object, ideally I could do this all in a few lines by simply replacing the current datastore object with the new one. Maybe just removepersistence and then add it again? Thanks for the thoughts. Shaun -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: App Engine and Google Apps
There's no document (we are working on a general document for security, audit processes, etc), but we do not make the statement that we are not HIPAA compliant. I want to offer a quick disclaimer that I am not in a position to make any legal statements, so if there are any specifics you wish you discuss we can take this off list and I can point you to our legal team. On Thu, Sep 9, 2010 at 3:13 AM, Frederik Pfisterer pfiste...@gmail.comwrote: Hi Ikai, can you give a pointer to a document that states what rules and regulations GAE complies to? e.g. where did you state the noncompliance to HIPAA? What does Google prevent from complying? Thanks, Fred On 8 Sep., 20:13, Ikai L (Google) ika...@google.com wrote: Yes, you can partition by namespace on domain. You shouldn't need OpenID to get this to work. Just be aware that we've stated in the fact we are not HIPAA compliant: http://www.hhs.gov/ocr/privacy/ Check with your legal counsel before proceeding. On Wed, Sep 8, 2010 at 9:42 AM, Vishal Singh singh.vi...@gmail.com wrote: This is my use case. We are building a health care solution using App Engine. The idea is people would be able to add the health care app engine solution in their Google App Domain. The health care app engine solution will be able to differentiate there request from different Google Apps and store data using the new multi-tenancy NameSpace features. In short one deployment being accessed by multiple Google Apps and data partitioned according to name space. Is this possible ? As I understand one would need to get openid authentication working for Google Apps as Gmail Option or Google Apps authentication will not help me in my above mentioned scenario. If one gets open id working for Apps can there be one deployment of app engine serving multiple Google Apps user ? A clear answer will help -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Help: How to enable src auto-update in eclipse using app engine plugin for eclipse?
Is your server running in debug mode? Most classes should be hot reloadable. You'll still need to restart your server for web.xml changes. On Thu, Sep 9, 2010 at 12:56 AM, Felix longbiaoc...@gmail.com wrote: Hello, guys. I'm using Google App Engine 1.3.7 eclipse plugin with eclipse 3.5 on a Windows 32bit machine. It works great for me to develop Java servlets and serve them at localhost. However, whenever I modify the servlet source, I've to stop the previously running instances of app engine at localhost, and then restart it to see changes in my browser. If not, the changes will not take effect. I'm wondering whether anyone eles have encountered this problem ever, and thank you very much for digging into this post:) -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Re: Static resources not updated?
Are you using a YAML file configuration for static assets? There's a place to set expires times. At any rate, next time this happens, take note of the headers returned and post them. As a best practice, in your URLs to your static assets, you should have cache busters since this'll also cover the case of folks with weird local browser cache settings. On Thu, Sep 9, 2010 at 12:49 AM, Tonny 12br...@gmail.com wrote: This could what was happening, since the new files was available after 5-10 minuttes (as mentioned i used curl to look). I have no customized expire times though. On Sep 8, 10:26 pm, Peter Petrov onest...@gmail.com wrote: This generally happens when you set a custom expiration time for static files. This causes Google's frontend servers to cache the files for up to the specified time, and they don't update it even if you push a new version in the mean time. This is true both for *.appspot.com and for custom domains. You can take a look at the HTTP headers returned by your Google Frontend server, e.g. using Firebug, to see when the next refresh will happen. If you don't set custom expiration for static files, the frontend servers seem to fetch the resources every time (or at least very frequently). On the other hand, the browsers' caching behaviour is then undefined. In any case, you should use cache-busters. On Sep 8, 4:26 pm, Tonny 12br...@gmail.com wrote: I did and uploading 10 minuttes, but my static resources has not changed when i load them through the webserver? Does anybody have similar problems currently? Regards Tonny -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Simultaneous asynchronous URL Fetch calls limit
The limit of 10 applies to asynchronous urlfetches in a single request as describe here: http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html That being said, if a large proportion of your requests are making URLFetch requests and this causes your user facing round trips to be 800ms+, App Engine will not autoscale the number of instances you have running. It's best to move these operations to task queues. On Thu, Sep 9, 2010 at 7:50 AM, IgorNovak beze...@gmail.com wrote: Hi, I'm new here, so excuse me if my question is a bit dummy GAE references say that the app can have up to 10 simultaneous asynchronous URL Fetch calls: http://code.google.com/appengine/docs/python/urlfetch/overview.html#Requests I didn't unterstand, does it mean 10 calls for one user request or for the whole application? I've made the app that calls several async requests to different services for one user request. It seems working well but I'm not sure how it will behave with large number of users. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Using OR statement in datastore
Asynchronous datastore calls are coming in a future release. Stay tuned. On Thu, Sep 9, 2010 at 11:13 AM, timwhunt timwh...@gmail.com wrote: Hey Google folks (Nick?), can you comment on any potential methods for asynchronous datastore calls (in Java)? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] BUSINESS APP OR NOT?
Normal pricing. GAE4B pricing applies if you are writing an application that is only accessible for Google Apps (Gmail, Docs) users and not the general public. Here's an example: Google App Engine (current) You create an image sharing service anyone can use. Google App Engine for Business You create an expense reporting tool that you want tied to a specific Google Apps Domain, say, ikaicorp.com that only us...@ikaicorp.com can use. This application can be administered via the ikaicorp.com domain console. On Wed, Sep 8, 2010 at 12:15 PM, colin nos...@carter.es wrote: I am confused by the two pricing policies (app engine for business and app engine). I have a small business. I wrote a workflow, invoicing and payment tracking software using MS Access and VB. It gets accessed about once a day. It has about six tables and maybe 2000 records among all of them. I want to put it in a cloud and look forward to learning Python. In the future maybe three users in different citties will access the on-line version. If I have time and the application works well, I may want to create a service we can sell to other companies in our segment because the app is very useful - especially the invoicing module. Which pricing policy applies to me? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: BUSINESS APP OR NOT?
No. Login will always be required. It'll be similar to Google Docs for your domain. On Thu, Sep 9, 2010 at 1:35 PM, alf alberto@gmail.com wrote: ok but if your GAE4B is used in a mixed enviroment one part by internal user @ikaicorp.com and othere part of same applications is used for other user outside @ikaicorp.com ? thanks On Sep 9, 8:52 pm, Ikai L (Google) ika...@google.com wrote: Normal pricing. GAE4B pricing applies if you are writing an application that is only accessible for Google Apps (Gmail, Docs) users and not the general public. Here's an example: Google App Engine (current) You create an image sharing service anyone can use. Google App Engine for Business You create an expense reporting tool that you want tied to a specific Google Apps Domain, say, ikaicorp.com that only us...@ikaicorp.com can use. This application can be administered via the ikaicorp.com domain console. On Wed, Sep 8, 2010 at 12:15 PM, colin nos...@carter.es wrote: I am confused by the two pricing policies (app engine for business and app engine). I have a small business. I wrote a workflow, invoicing and payment tracking software using MS Access and VB. It gets accessed about once a day. It has about six tables and maybe 2000 records among all of them. I want to put it in a cloud and look forward to learning Python. In the future maybe three users in different citties will access the on-line version. If I have time and the application works well, I may want to create a service we can sell to other companies in our segment because the app is very useful - especially the invoicing module. Which pricing policy applies to me? -- 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+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console
The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am directed to a error page that says: Server Error (500) A server error has occurred. Return to Applications screen » http://appengine.google.com/ My application's id is i-emote and its version is 1. Can anyone fix this for me and as soon as posible? Thanks in advance. Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console
By the way - how long did you wait? There have been a few reports about index building slowness. On Thu, Sep 9, 2010 at 6:39 PM, Ikai L (Google) ika...@google.com wrote: The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am directed to a error page that says: Server Error (500) A server error has occurred. Return to Applications screen » http://appengine.google.com/ My application's id is i-emote and its version is 1. Can anyone fix this for me and as soon as posible? Thanks in advance. Jeff -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Works in dev, not in prod. Max path length? Illegal characters?
This is just a guess, but can you make sure everything is escaped? For instance, the \' part looks problematic. In general, you want to avoid issues that can occur from weird naming - it's really not worth your time debugging these issues when you can just change the path. On Wed, Sep 8, 2010 at 10:33 AM, App Engine Notifications appengine.notificati...@google.com wrote: This is just a guess, but can you make sure everything is escaped? For instance, the \' part looks problematic. In general, you want to avoid issues that can occur from weird naming - it's really not worth your time debugging these issues when you can just change the path. On Tue, Sep 7, 2010 at 11:55 AM, mstodd toaste...@gmail.com wrote: I have some css files and images in an oddly named directory that work fine when developing locally, but produce a 404 in production after being deployed. Here's an example of one bad request from my production logs: GET /ZIM\'S%20Bar%20-%20770%20N%20Milwaukee%20St%20-%20Milwaukee%20WI %2053202_files/flagheader.jpg HTTP/1.1 404 204 http:// zimsmilwaukee.appspot.com/ Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/ 533.4,gzip(gfe) Any suggestions? thanks, Mark -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Beating the 1MB datastore restriction
Have you taken a look at this? http://code.google.com/appengine/docs/java/blobstore/overview.html On Wed, Sep 8, 2010 at 8:02 AM, Rafael Barrera Oro boraf...@gmail.comwrote: Hello there! I am trying to implement a basic file sharing service and, as you may already know, the datastore imposes a 1MB limit for the size of any blob, i thought that i could bypass this obstacle by spliting the file into several blobs but found out that the mentioned limit applies for the whole transaction, in other words, if i split a 10MB blob into ten 1MB blobs i still get the same error when i commit the transaction. I guess i could try saving each blob in a different transaction but i such approach is clearly very prone of error. My classes where the following: File (holds all the information of a file excepto for its contents) FilePart (holds a part of the file's contents and a foreign key to the file the parts belongs to) My procedure consisted in creating one File and as much FileParts as necessary, then saving it all inside of a transaction. Is there a way to increase the max size of the objects in a transaction or something like that? Has anyone succeded in beating the 1MB restriction? (i mean without using another storing service) thanks in advance! Rafael -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] App Engine and Google Apps
Yes, you can partition by namespace on domain. You shouldn't need OpenID to get this to work. Just be aware that we've stated in the fact we are not HIPAA compliant: http://www.hhs.gov/ocr/privacy/ Check with your legal counsel before proceeding. On Wed, Sep 8, 2010 at 9:42 AM, Vishal Singh singh.vi...@gmail.com wrote: This is my use case. We are building a health care solution using App Engine. The idea is people would be able to add the health care app engine solution in their Google App Domain. The health care app engine solution will be able to differentiate there request from different Google Apps and store data using the new multi-tenancy NameSpace features. In short one deployment being accessed by multiple Google Apps and data partitioned according to name space. Is this possible ? As I understand one would need to get openid authentication working for Google Apps as Gmail Option or Google Apps authentication will not help me in my above mentioned scenario. If one gets open id working for Apps can there be one deployment of app engine serving multiple Google Apps user ? A clear answer will help -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Hi group! My App Engine App is finally launching today.
Hey, awesome! Let us know how users end up using it! On Wed, Sep 8, 2010 at 3:17 AM, Julian Namaro namarojul...@gmail.comwrote: After a lot of work, and quite a bit of testing, I am happy today to present you my app. It's called memobuild, and it's basically an editor for large online documents (e.g. documentation, reports, e-books). You can see more information in the entry of the App Gallery: http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEgxBcHBsaWNhdGlvbnMY3aBJDA It's built on top of webapp, and it uses a bit of everything: transactions, tasks queues, blobstore, federated login,... Have a look, your feedback is welcome. Let me take the occasion to congratulate the App Engine team for the constant improvements of the platform. Thank you, and please, do keep it up! Julian Namaro http://www.memobuild.com -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Static resources not updated?
Can you try using curl or wget? It could be that they are still cached in your browser. On Wed, Sep 8, 2010 at 6:26 AM, Tonny 12br...@gmail.com wrote: I did and uploading 10 minuttes, but my static resources has not changed when i load them through the webserver? Does anybody have similar problems currently? Regards Tonny -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] IRC office hours next week: guests from the Prediction API team
Hey everyone, I just wanted to remind you all that we will be holding IRC office hours next Wednesday, September 15th from 9am-10am Pacific Time (for everyone outside this time zone, that's 4pm GMT - http://www.timezoneconverter.com/cgi-bin/tzc.tzc). Normally, I wouldn't announce these office hours since they happen once every two weeks. This upcoming session, however, we will be joined by our friends from the Prediction API team: http://code.google.com/apis/predict/)! They'll be around to answer any questions you may have about the API, and rumor has it they'll have a few invites to give out as well. For the newer developers in this group, you can find more information about our IRC office hours here: http://code.google.com/appengine/community.html We'll be on the #appengine on irc.freenode.net. If you don't have an IRC client, you can use the web based client here: http://webchat.freenode.net/ Happy developing, and we hope to see you next week! -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] building indexes
Index building time depends on the amount of data you have as well as all other indexes being built globally. The index builder is a shared resource. The best practice is to upload a new staging version before you need it. All versions share the same datastore, so index building will begin before your production version goes live ( http://ikaisays.com/2010/07/12/google-app-engine-tips-and-tricks-prebuilding-indexes-using-a-non-default-version/ ). On Fri, Sep 3, 2010 at 8:43 PM, aswath satrasala aswath.satras...@gmail.com wrote: Hi, * What is the normal time taken to build indexes? * Is it dependent on the volume of data in the app-id? * When I upload a new version and give some time for building the indexes, then this means, the app-id will not be in usable state for some time. * What is the recommended approach to upload a new version and be able to server the users immediately? -Aswath http://vs-accounting.appspot.com -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Memcache put: Error setting single item
Can you post any code? On Sun, Sep 5, 2010 at 9:37 PM, Subhash subhash.ku...@daffodilsw.comwrote: Hi I am working on google app engine. I am using memCache for cache my data. I am facing following error while using cache: com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: Error setting single item I don't know why this error is coming. Any suggestion/help is highly appreciated. Subhash -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Google Apps problem with Google App engine Admin Console Display
Try this: http://appengine.google.com/a/elon.edu On Mon, Sep 6, 2010 at 1:04 PM, powell...@gmail.com powell...@gmail.comwrote: Before our university, Elon, went to Google Apps for the students, the students who had gmail accounts such as d...@gmail.com could easily request and appengine account, create an application and then have it displayed in the app engine admin console dashboard. If they went to http://appengine.google.com and signed in then they were automatically redirected to the Appengine admin console dashboard to see a list of their applications. This summer, the university went to Google Apps for students and the students have google email accounts but with a university extension. For example, their student email is now d...@elon.edu and this uses gmail. When a student uses this google account id of d...@elon.edu, the student can apply for an appengine account, get the account and then get prompted for an Application Id. The application gets successfully created but the admin console dashboard is not displayed. If the student goes to http://appengine.google.com and signs in as d...@elon.edu then the student is prompted to create an application instead of having a list of applications displayed to choose from for display on the dashboard. The question is how does a student with a university google docs account access the appengine admin console dashboard when the account has a @elon.edu university instead of @gmail.com. Dave -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Got an Error while retriving all tuples form an entity
Looks like your closed your persistence manager. It'd be more helpful if you posted some code. On Sun, Sep 5, 2010 at 10:43 PM, Hari hariac...@gmail.com wrote: Uncaught exception from servlet Object Manager has been closed org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed at com.google.appengine.runtime.Request.process-376dbc5a4dfece22(Request.java) at org.datanucleus.ObjectManagerImpl.assertIsOpen(ObjectManagerImpl.java: 3876) at org.datanucleus.ObjectManagerImpl.getFetchPlan(ObjectManagerImpl.java: 376) at org.datanucleus.store.query.Query.getFetchPlan(Query.java:497) at org.datanucleus.store.appengine.query.DatastoreQuery $6.apply(DatastoreQuery.java:631) at org.datanucleus.store.appengine.query.DatastoreQuery $6.apply(DatastoreQuery.java:630) at org.datanucleus.store.appengine.query.LazyResult.resolveNext(LazyResult.java: 94) at org.datanucleus.store.appengine.query.LazyResult $LazyAbstractListIterator.computeNext(LazyResult.java:215) at org.datanucleus.store.appengine.query.AbstractIterator.tryToComputeNext(AbstractIterator.java: 132) at org.datanucleus.store.appengine.query.AbstractIterator.hasNext(AbstractIterator.java: 127) at org.datanucleus.store.appengine.query.LazyResult $AbstractListIterator.hasNext(LazyResult.java:169) at org.apache.jsp.viewall_jsp._jspService(viewall_jsp.java:49) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java: 97) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: 35) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: 238) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:923) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: 76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 135) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 251) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:6784) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:6782) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: 24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 398) at com.google.net.rpc.impl.Server$2.run(Server.java:852) at com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: 56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: 576) at com.google.net.rpc.impl.Server.startRpc(Server.java:807) at com.google.net.rpc.impl.Server.processRequest(Server.java:369) at com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: 442) at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: 319) at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: 290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 474) at
Re: [google-appengine] your project must be configured to use jdk in order to use jsp
A JDK is a Java Development Kit. JRE is a Java Runtime Environment. You need to install the JDK from here: http://www.oracle.com/technetwork/java/javase/downloads/index.html On Tue, Sep 7, 2010 at 4:32 AM, santosh baral scorpiosant...@gmail.comwrote: hi everybody, i am creating app engine application. everything seems to fine but when i add the jsp file to WAR directory, it shows the error message as: you project must be configured to use jdk in order to use jsp. .. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: Uncaught exception from servlet
We want to address this and I suspect it will be fixed in one of the next few upcoming releases, but I don't have an exact ETA. On Thu, Sep 2, 2010 at 2:44 PM, zachariahyoung zpyo...@gmail.com wrote: Ikai, I have posted the same issue on the Spring Roo forums. Below is the reply I got from them. With the Roo 1.1 M3 release we have changed the way we map the Spring DispatcherServlet following Spring Framework improvements. We are also using a new MVC resources handler (configured in webmvc-config.xml) which allows serving of static resources. Both of these changes allow us to remove the need for URL rewriting (which was present in previous versions of Roo) while still offering clean RESTful URLs. As you have seen this causes some issues on GAE which we are currently following up with Google. The main issue for Roo scaffolded MVC applications is however the need for JSP 2.1 which GAE currently does not support (see https://jira.springframework.org/browse/ROO-1006 for details). When I review the ROO-1006 issue it is stating that I need to have jsp 2.1. See below Currently GAE raises a compilation exception of the Roo generated jspx files in a GAE environment. The problem is the use of jasper- runtime-5.0.28.jar in the current version of GAE alongside geronimo- jsp_2.1_spec-1.0.1.jar. This means that GAE have an API which allows JSP 2.1 and an implementation of Jasper which only supports JSP 2.0. Spring Roo generated MVC apps use a number of JSP 2.1 features (mostly EL related) which are supported by all current Web containers but not GAE. (see http://code.google.com/p/googleappengine/issues/detail?id=1506) As such GAE deployments are currently not supported by Roo generated Spring MVC applications. However, we are in contact with Google to resolve this issue as soon as possible. As a workaround Roo could ship a custom tag library (potentially with reduced functionality) to support JSP 2.0 EL. Another issue which needs to be resolved is the full support of the default GAE data store. This will require changes outlined in ROO-611 to fully support references between domain objects. So question is when will issue http://code.google.com/p/googleappengine/issues/detail?id=1506 be fixed? I'm guessing that this might be because of the version of Jetty GAE for java is running on. Any why to get the time line for something like this? Also when I run mvn gwt:run locally it works fine. Thanks Zach On Sep 2, 1:45 pm, Ikai L (Google) ika...@google.com wrote: I'm not a Spring Roo expert, but this seems to offer a clue: java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. Does that property mean anything to you? On Wed, Sep 1, 2010 at 8:11 PM, zachariahyoung zpyo...@gmail.com wrote: I'm working on trying to get Spring Roo 1.1.0.M3 with Google Web Toolkit 2.1.0.M3 working in Google App Engine for Java 1.3.7. I have even had a hard time getting some of the samples to work. I was hope someone could help me with the follow error and direct me on how I need to fix it. Error from GAE. Uncaught exception from servlet javax.servlet.UnavailableException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler# 0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java: 415) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java: 458) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: 263) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java: 685) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppV ersionHandlerMap.java: 191) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVers ionHandlerMap.java: 168) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t
Re: [appengine-java] image background color changed to red when using imagesservice and blobstoreservice
Can you post an example image? I've never seen this happen. On Fri, Sep 3, 2010 at 7:13 AM, jay jay...@gmail.com wrote: Dear All, When I used the blobstoreservice and imagesservice to upload a image, sometimes, some pictures background were changed to red. This happend in dev enviroment. I havn't check it in product env. Does somebody has same problem? Jay -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] how to use Fedrated Login for my google apps Engine
This doesn't actually require using federated login: your users just have to go to: http://mytaskmanager.appspot.com/a/ubob.org Federated login usually refers to OpenID: http://code.google.com/appengine/articles/openid.html On Thu, Sep 2, 2010 at 9:08 PM, Ehsan-ul-haq iehsa...@gmail.com wrote: hi i have create my Google Apps on Google Apps Engine (http:// mytasksmanager.appspot.com). now i want to create a login interface where user can login in with google and google apps account i done my Google Account login but i need help how to login with other Google Apps Accounts like eh...@ubob.org 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Serving Url - invalid crop size valid in production?
Hi Peter, We're trying to figure this out right now. For the time being, it is best to assume the documentation is correct, as we may restrict the sizes at a future date. On Fri, Sep 3, 2010 at 12:30 PM, Peter Liu tinyee...@gmail.com wrote: Using the latest high performance image serving feature, for the dev server (java), if the serving image has invalid width or crop width, it will give error. However when it's in production, the width are not restricted to the valid sizes. Valid sizes as documented: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/images/ImagesService.html#SERVING_SIZES Invalid in dev: http://fakehost.com/_ah/img/rKCcon1tsDsyz4SIbNmqIQ=s30-c Valid in production: http://lh6.ggpht.com/K_QfosnwRsOu7ScSTd7yoebFFYzYRjv-I6H3mE3PkOtzDOu-v5zpkpL-wmqQv_Yb94w5i9HCxA8QgE7RCG-hHw=s30-c The above production url shows width of 30 pixel for crop size is possible, while in dev server it will throw an exception. Is there any reason why we must constraint ourselves with the limitation? If production has no such limit I will go with crop sizes like 30 or 50 instead of 32 and 48. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] pm.store() failing silently
Does this consistently fail every 1/3 times, or at certain times? Not that it should matter, but how are you creating the PersistenceManager? On Wed, Sep 1, 2010 at 6:21 PM, John demowee...@gmail.com wrote: This one is for App Engine team. Random silent failures, no explanation. I have a piece of code which only creates an entity and stores it with public void makeEntity() { UserPhoto photo = new UserPhoto(...); this.pm.makePersistent(photo); this.pm.close(); assert photo.key != null; // - fails from time to time From time to time, the code above will fail. Maybe once every 3 times (with the same parameters). I am assuming that the store() call at the datastore level is failing for whatever reason, but it is a silent fail as the code does not throw any exception. When this happens I can confirm looking at the datastore viewer that the entity was not persisted. The size does not seem to matter (fails on 5kb as well as 200 kb). I have logs of the app where back to back requests will fail first and succeeds next, with the exact same payload. It would be great if the App Engine team can point to an open bug which remotely explains this behavior. (the problem was present with 1.3.4 already) The entity model is : @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class UserPhoto { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) Key key; @Persistent Blob photo; @Persistent Blob thumbPhoto; @Persistent private Key user; @Persistent private int size; @Persistent private String filename; @Persistent private Date date; @Persistent private Boolean canDelete; I tried persisting the entity with a transaction, and the problem is the same. This is my jdo-config persistence-manager-factory name=transactions-optional property name=javax.jdo.PersistenceManagerFactoryClass value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory/ property name=javax.jdo.option.ConnectionURL value=appengine/ property name=javax.jdo.option.NontransactionalRead value=true/ property name=javax.jdo.option.NontransactionalWrite value=true/ property name=javax.jdo.option.RetainValues value=true/ property name=datanucleus.appengine.autoCreateDatastoreTxns value=true/ property name=datanucleus.DetachOnClose value=true/ /persistence-manager-factory -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Uncaught exception from servlet
I'm not a Spring Roo expert, but this seems to offer a clue: java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. Does that property mean anything to you? On Wed, Sep 1, 2010 at 8:11 PM, zachariahyoung zpyo...@gmail.com wrote: I'm working on trying to get Spring Roo 1.1.0.M3 with Google Web Toolkit 2.1.0.M3 working in Google App Engine for Java 1.3.7. I have even had a hard time getting some of the samples to work. I was hope someone could help me with the follow error and direct me on how I need to fix it. Error from GAE. Uncaught exception from servlet javax.servlet.UnavailableException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly. at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java: 415) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java: 458) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java: 263) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java: 685) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java: 191) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java: 168) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 123) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 251) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:6784) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $6.handleBlockingRequest(RuntimePb.java:6782) at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: 24) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 398) at com.google.net.rpc.impl.Server$2.run(Server.java:852) at com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: 56) at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: 576) at com.google.net.rpc.impl.Server.startRpc(Server.java:807) at com.google.net.rpc.impl.Server.processRequest(Server.java:369) at com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: 442) at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: 319) at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: 290) at com.google.net.async.Connection.handleReadEvent(Connection.java: 474) at com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: 831) at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: 207) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: 103) at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: 251) at com.google.apphosting.runtime.JavaRuntime $RpcRunnable.run(JavaRuntime.java:418) at java.lang.Thread.run(Thread.java:636) -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to
Re: [google-appengine] Sending SMS
Google Calendar sends messages via email, right? Or do you mean a different service? On Thu, Sep 2, 2010 at 1:08 AM, Jaroslav Záruba jaroslav.zar...@gmail.comwrote: Is it possible to send messages using the same service Google Calendar sends event reminders with? Are there any plans to offer that as a service on GAE? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Having lots of DeadlineExceeded errors (, lack of any communication on this has my management questioning the wisdom of adopting appengine)
Jason, what are you doing in your handler that is hitting DeadlineExceededError? It looks like you're doing an URLFetch. Could the resources you are fetching be slow? On Thu, Sep 2, 2010 at 8:38 AM, Jason C jason.a.coll...@gmail.com wrote: I should have mentioned that in addition to the 30s DEEs, we are also seeing a number of the 10s Request was aborted messages (the ones that occur before any user code executes). j On Sep 2, 9:32 am, Jason C jason.a.coll...@gmail.com wrote: It may have settled down for you Tim, but we are being hammered by DeadlineExceededError right now. Log time: 8.27a Thursday 2010-09-02 AppID: steprep In the past, this problem seems to be localized to small (presumably) clusters of apps. Can someone please look into our specific cluster? Thanks, j On Sep 1, 6:06 pm, Tim Hoffman zutes...@gmail.com wrote: Hi It seems that the massive increase startup times has settled down. But we effectively had to app instances down for about 16 hours due to the issue. It is clear the startup peformance issue is not my code as it was affecting a other people, but was not widespread enough to get on the system status radar. And issue for it was raisedhttp:// code.google.com/p/googleappengine/issues/detail?id=3667 The outage was not good but to be honest the biggest problem my management hand with it was the complete absence of any response from google during this period. Last time we had a major issue it took a week, and a large report prepared by myself detailing what was going on before I could get any response from google. The response was also limited to This is a known issue, we are working to address it which is fine in it self at least some communication was eventually made but it should not have taken a week and about 3 days of effort on my part to actually get any form of response. See the final part of that saga here. http://groups.google.com.au/group/google-appengine/browse_thread/thre... I am huge advocate of appengine and we are using it more and more, but the total feeling of helplessness you get when you have instances non functioning because they can't even startup for an extended period and no feedback what so ever makes it very hard to even manage expectations, and impossible to report to management about any form of progress in resolving the issue. In addition when this happened last time, a journalist from the Register contacted me about the issue and asked for more information so they could do a story about the lack of communication from google on these sorts of issues. I declined, but maybe it does need some more visibility and least with in the app engine user community. Regards Tim Hoffman On Sep 1, 11:54 pm, Tim Hoffman zutes...@gmail.com wrote: The rate of errors has dropped off somewhat. It is still happening though. T On Sep 1, 7:24 pm, Tim Hoffman zutes...@gmail.com wrote: Further investigation shows these excessive startup times are being experienced by more than one instance. Appid's qtrack-dev, q-tracker. T On Sep 1, 5:15 pm, Tim Hoffman zutes...@gmail.com wrote: Hi I am still having trouble getting instances to get past initial import (appid q-tracker) I have even tried starting old versions to get around failed imports. for the last 10 minutes all startup attempts end in DeadlineExceeded error. T On Sep 1, 2:45 pm, Tim Hoffman zutes...@gmail.com wrote: Hi As I have pointed out in the past its quite possible to get pockets of appengine instances experiencing extremely poor performance and this doesn't show up in the system status. (http:// groups.google.com.au/group/google-appengine/browse_thread/thread/ 23e988d494144242/8ff964f7ffcc0b37?q=#8ff964f7ffcc0b37) Apps seemd to be sharded into different parts of appengine infrastructure based on appid. I hope this problem is just transitory for tosay and I don't have to spend days collecting evidence again. T On Sep 1, 2:30 pm, Tim Hoffman zutes...@gmail.com wrote: Hi Except it isn't. I am still getting hit with extremeley long startup times. I am not even getting around to accessing the datastore. Failure is always during instance startup. T On Sep 1, 2:27 pm, Andi Albrecht albrecht.a...@googlemail.com wrote: Sorry, I've missed this announcement on Downtime Notify: http://groups.google.com/group/google-appengine-downtime-notify/brows... As noted in my previous post, everything's fine now :) Andi Tim Hoffman zutes...@gmail.com writes: Hi I am still seeing them on and off, everything might
Re: [google-appengine] user setting file
You can use init-params in servlets: http://www.exampledepot.com/egs/javax.servlet/GetInit.html You can also use properties files: http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html Another alternative is to make the configurations datastore configurations and have your application read them on startup. On Thu, Sep 2, 2010 at 9:51 AM, Benjamin bsaut...@gmail.com wrote: Hey guys I want to distribute my apps WAR directory to my users so they can deploy and run their own instances of my app on their own app engine account. That is, they download a zipped copy of my WAR directory, create an app on app engine, edit web.xml and deploy it themselves using the sdk. I want them to be able to customize the app using a configuration file but i'm not sure how to do this. Can i keep other settings in web.xml and if so how do I pull them out in my java code? in short - how do i access app settings in my java code. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] user setting file
You can use init-params in servlets: http://www.exampledepot.com/egs/javax.servlet/GetInit.html You can also use properties files: http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html Another alternative is to make the configurations datastore configurations and have your application read them on startup. On Thu, Sep 2, 2010 at 9:51 AM, Benjamin bsaut...@gmail.com wrote: Hey guys I want to distribute my apps WAR directory to my users so they can deploy and run their own instances of my app on their own app engine account. That is, they download a zipped copy of my WAR directory, create an app on app engine, edit web.xml and deploy it themselves using the sdk. I want them to be able to customize the app using a configuration file but i'm not sure how to do this. Can i keep other settings in web.xml and if so how do I pull them out in my java code? in short - how do i access app settings in my java code. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Host client's web sites.
The terms don't forbid you from building a service and selling it to users. That clause you are referring to is specifically there to prevent people from layering a thin skin over App Engine and reselling it. We do not forbid (we encourage, actually) anyone from starting a business for App Engine consulting, support or management. What you're describing sounds like something we're more than happy to have people do on GAE. On Thu, Sep 2, 2010 at 1:09 AM, Kurtis kurtis.mull...@gmail.com wrote: Hello, I love developing with Python and have recently started my own little app on here to see what everyone has been bragging about. So far, I love this system. As I graduate from school, I want to start focusing on professional web development. I'm in the process of comparing different technologies to build some expertise in before I really 'put myself out there'. One of the main technologies I'm looking into now is Google's App Engine. My question is, can I use Google App Engine to host customer's web sites? Also, what are the limitations on charging for services such as setting up the service, making sure they don't go over quota, charging for development, etc...? In the policies document it says that we can not Sell, trade, resell or otherwise exploit the Service for any unauthorized commercial purpose; I'm not trying to hide what I do for a living. I would be happy to pay (a reasonable cost) so that it is a legitimate commercial purpose. Any suggestions on the current policies, procedures, and information pertaining to this subject would be greatly appreciated. Thank you, -Kurtis -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Datastore viewer query by key.
Try this: SELECT * FROM entity where __key__ = KEY('string-key') See the section about Keys here: http://code.google.com/appengine/docs/python/datastore/gqlreference.html On Thu, Sep 2, 2010 at 10:28 AM, John Gardner hux...@gmail.com wrote: This is probably obvious, but: I cannot for the life of me figure out how to fetch a known entity by key in the viewer. The GQL reference doesn't specify key syntax, since you can do a db.get(key) from code. I've tried: SELECT * FROM entity where __key__ = string-key SELECT * FROM entity where entity.__key__ = string-key SELECT * FROM entity where entity.key = string-key SELECT * FROM entity where entity = string-key and the same without quotes. This really should be easier, I think. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] stuck indexes
They've been placed into error. Go ahead and run vacuum on them. On Wed, Sep 1, 2010 at 7:32 PM, Yi yig...@gmail.com wrote: Hello, I got stuck indexes in my app 4create.appspot.com. can someone please help me clean them up? Thanks Yi -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[appengine-java] How to use Google Plugin for Eclipse with Maven
Hey everyone, We've been trying to do better with regards to our Maven support. One of the members of my team, David Chandler, wrote this blog post about using GPE with Maven: http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html There's a bit about App Engine. Let us know how this works for you guys! -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Non-blocking HTTP Connection with httpcore-nio?
I'm guessing no. It probably uses classes not available here: http://code.google.com/appengine/docs/java/jrewhitelist.html You're not making outbound HTTP calls from your app instance; you're calling an API that uses Google's URLFetching infrastructure. On Wed, Sep 1, 2010 at 7:41 AM, apple apple...@gmail.com wrote: Can httpcore-nio (with minimal modification) be used in GAE applications? I would like to port my application (with httpcore-nio) to run on GAE. It will cost me a lot of time rewriting all connection codes to URLFetch. I'd rather not doing this unless it is necessary. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] I made a simple demo use of the GAE Blobstore and GWT to test it out.
Awesome! Here's my demo/learning/testing app: http://github.com/ikai/gwt-gae-image-gallery Please excuse the spaghetti code all over the place passing LoginInfo around in the GWT client code. On Tue, Aug 31, 2010 at 11:51 PM, branflake2267 branflake2...@gmail.comwrote: Hi, http://demofileuploadgae.appspot.com/ - My simple demo of the use of the Blobstore and GWT. I'm pretty impressed at how well it works! http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/ - GWT GAE project source for the demo. I figured out how to use the low level api to query the __BlobInfo_ entities so I could return a list. More custom filters could be added to drill down your list of blobs that you have in the store. Also, with GWT you have to use an rpc call to get init a url for file upload, so the servlet knows what to do with it. Brandon Donnelson http://gwt-examples.googlecode.com Worth noting: http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/src/org/gonevertical/upload/server/BlobInfoJdo.java - source for below public BlobData[] getBlobs(BlobDataFilter filter) { Entity[] entities = null; try { DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); PreparedQuery pq = datastore.prepare(new Query(__BlobInfo__)); ListEntity entList = pq.asList(FetchOptions.Builder.withLimit((int) filter.getRangeFinish()).offset((int) filter.getRangeStart())); entities = new Entity[entList.size()]; entList.toArray(entities); } finally { pm.close(); } BlobData[] blobData = convert(entities); return blobData; } private BlobData[] convert(Entity[] es) { if (es == null || es.length == 0) { return null; } BlobData[] b = new BlobData[es.length]; for (int i=0; i es.length; i++) { MapString, Object p = es[i].getProperties(); long id = es[i].getKey().getId(); Key key = es[i].getKey(); String ct = (String) es[i].getProperty(content_type); String fn = (String) es[i].getProperty(filename); Long size = (Long) es[i].getProperty(size); Date creation = (Date) es[i].getProperty(creation); b[i] = new BlobData(); b[i].setKey(key.getName()); b[i].setContentType(ct); b[i].setFilename(fn); b[i].setSize(size); b[i].setCreation(creation); } return b; } -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Forced to reverify account, which fails
Can you fill out the SMS issues form? https://appengine.google.com/waitlist/sms_issues There are plans to roll out paid support. Our target is Q4: http://code.google.com/appengine/business/roadmap.html On Wed, Sep 1, 2010 at 3:57 AM, Eric wolter.e...@gmail.com wrote: Is there anyway to get support here except these groups? On Aug 31, 10:53 am, Eric wolter.e...@gmail.com wrote: Hi, this is the text I tried to submit via the Can't receive SMS help forms, but this again gave me an error as the comments section contain an error when entering this text?!? --- This is probably not an issue with my mobile carrier but with app engine itself. I already successfully created a project, which I can access, upload to and everything. But now I wanted to create a second project. The first weird things that it says 'You have 10 applications remaining.' even though I already have a running project. If I now try to create another project it redirects me to the SMS verification page. If I enter my mobile number and submit it. I get the following error message 'The phone number has been sent too many messages or has already been used to confirm an account.' Which indeed is true, because IT IS the same account which is already verified. Please correct this issue. Thanks --- Thanks for helping! Eric -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: MapReduce: any way to get the value of counters easily?
Yeah, the blog is here: http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/ I would look in the source: http://code.google.com/p/appengine-mapreduce/source/browse/#svn/trunk/python Nick Johnson has Python code samples, but I don't think he has an example of a callback handler: http://blog.notdot.net/2010/05/Exploring-the-new-mapper-API On Wed, Sep 1, 2010 at 4:01 AM, mac macwa...@gmail.com wrote: Oh, I think you're referring to Java version while I'm using Python. So I can't use these concise APIs. On Sep 1, 6:14 pm, mac macwa...@gmail.com wrote: Hi Ikai, It's quiet useful. But I can't find the definition of MapReduceState and method getMapReduceStateFromJobID() in the model.py. I'm using mapreduce version 100 now. I think it's the latest one. BTW, what was the blog? It seems I can learn something from it. Can you share it? Thanks! Regards, Mac On Sep 1, 3:27 am, Ikai L (Google) ika...@google.com wrote: Here's how you'd get the counter value (excuse the comments, this is copied and pasted from a blog post): MapReduceState mrState = MapReduceState.getMapReduceStateFromJobID( datastore, jobId); // There's a bit of ceremony to get the actual counter. This // example is intentionally verbose for clarity. First get all the // Counters, // then we get the CounterGroup, then we get the Counter, then we // get the count. Counters counters = mrState.getCounters(); CounterGroup counterGroup = counters.getGroup(CommentWords); Counter counter = counterGroup.findCounter(count); long wordCount = counter.getValue(); // Finally! On Sun, Aug 29, 2010 at 12:20 AM, mac macwa...@gmail.com wrote: Hi, I tried to use MapReduce (http://code.google.com/p/appengine- mapreduce/) to do some jobs in my project. I am wondering how get the value of the counters? It seems that it is stored in the counters_map field in MapreduceState and it's in JSON format. Is it the correct way to grab the value by read and parse it from MapreduceState directly? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: problem using limits and offsets with App Engine Low Level API
Hi Tom, Have you looked into cursors? http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors On Sat, Aug 28, 2010 at 9:49 AM, tomkarren tkar...@gmail.com wrote: I read that pagination has an unpublished limit of 2000. Anyone know it that's still true? Seems to be the case in my testing.. This breaks my app? Can anyone help? On Aug 25, 10:09 pm, tomkarren tkar...@gmail.com wrote: Hi, I'm attempting to iterate through a large number of entities (3000) using limits and offsets. On the first pass my limit is 500 and my offset is 0. I get 500 results. On the second pass with limit 500 and offset 500, I get 500 results. This approach seems to work ok until I get to limit 500 with offset 1500. On that pass, I get 1000 results, which seems pretty strange given I set a limit of 500. Code Snippet: DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); IterableEntity results = (IterableEntity) ds.prepare(query).asIterable(withLimit(500).offset(1500)); for (Entity result : results){ Any input would be appreciated. Thanks, -Tom -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Unable to upload application through eclipse3.5
The reason this is failing is because your url-patterns don't match this regular expression (http://www.regular-expressions.info/tutorial.html): '^(?!\^)/|\.|(\(.).*(?!\$).$' Start your urls with a / or .* (catch all) On Sat, Aug 28, 2010 at 10:35 AM, Saurabh Saxena saurabhsaxena.saur...@gmail.com wrote: Hi All, Can anybody let me know how long it takes to get google app enigne account activated.I have created two application ids one week back and till date i havent received any mail from google about my account activation. I am not able to upload application using eclipse 3.5 deploy option.I am getting the following error message Unable to assign value 'editInfo' to attribute 'url':Value 'editInfo' for key url does not match expression '^(?!\^)/|\.|(\(.).*(?!\$).$' Kindly help me out in this issue, please find attached web.xml file used. Thanks in advance. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] MapReduce: any way to get the value of counters easily?
Here's how you'd get the counter value (excuse the comments, this is copied and pasted from a blog post): MapReduceState mrState = MapReduceState.getMapReduceStateFromJobID( datastore, jobId); // There's a bit of ceremony to get the actual counter. This // example is intentionally verbose for clarity. First get all the // Counters, // then we get the CounterGroup, then we get the Counter, then we // get the count. Counters counters = mrState.getCounters(); CounterGroup counterGroup = counters.getGroup(CommentWords); Counter counter = counterGroup.findCounter(count); long wordCount = counter.getValue(); // Finally! On Sun, Aug 29, 2010 at 12:20 AM, mac macwa...@gmail.com wrote: Hi, I tried to use MapReduce (http://code.google.com/p/appengine- mapreduce/) to do some jobs in my project. I am wondering how get the value of the counters? It seems that it is stored in the counters_map field in MapreduceState and it's in JSON format. Is it the correct way to grab the value by read and parse it from MapreduceState directly? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Appengine Internal Error
Hey everyone, One of our backend tasks ended up in a bad state that wasn't immediately detected by our management jobs. These issues should be resolved now - we saw a spike in error rates and addressed it. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] CPU bandwidth cost $$ too expensive?
That seems a bit high. Can you run AppStats and let us know what you see? http://code.google.com/appengine/docs/java/tools/appstats.html On Fri, Aug 27, 2010 at 12:31 PM, akirekadu ashw...@gmail.com wrote: I wanted to benchmark GAE read performance. Around 10,000 entities are being fetched from data store. These entities contain 3 properties name (around 16 chars), description (around 130 chars) and a time- stamp. Nothing unusually large. Here's what I see: On an average it takes around 11 seconds to read 10k entities. Not sure whether this is considered fast, slow or reasonable, but it is not too exciting regardless. More interesting find is the CPU metering. Performing this read operation 100 times consumes about 3.0 CPU hours. The cost is $0.30. Given there is no CPU intensive algorithm going on here, doesn't it make GAE's CPU bandwidth quite expensive? (sure, it comes with 24/7 sys-admins in the form of Python scripts etc etc, but still...) Or is this something in my Java code: http://github.com/akirekadu/GAE-Evaluation/blob/master/show.jsp -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] App Engine SDK 1.3.7 bugfix release
Hey everyone, I just wanted to let you all know that we're releasing a bugfix release, 1.3.7. You can see our blog post here: http://googleappengine.blogspot.com/2010/08/app-engine-137-sdk-bugfix-release.html There are two issues this release addresses: - Python SDK will correctly assign a namespace based on a Google Apps domain - Java SDK will not longer throw a SecurityException ( http://code.google.com/p/googleappengine/issues/detail?id=3598) You can find this release on our downloads page: http://code.google.com/appengine/downloads.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] App Engine SDK 1.3.7 bugfix release
Hey everyone, I just wanted to let you all know that we're releasing a bugfix release, 1.3.7. You can see our blog post here: http://googleappengine.blogspot.com/2010/08/app-engine-137-sdk-bugfix-release.html There are two issues this release addresses: - Python SDK will correctly assign a namespace based on a Google Apps domain - Java SDK will not longer throw a SecurityException ( http://code.google.com/p/googleappengine/issues/detail?id=3598) You can find this release on our downloads page: http://code.google.com/appengine/downloads.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] How to do update Statement in GQL for Java
GQL is read only. You need to use the datastore API for write operations: http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html On Wed, Aug 25, 2010 at 8:10 PM, TP Project TP Project tpmpproj...@gmail.com wrote: Hi can any1 teach me how to use update statement in GQL?? thanks in advance -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Creating unique ID for child Key with given parent Key
You might want to have a look at this: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html#allocateIds(com.google.appengine.api.datastore.Key, java.lang.String, long) You can specify a parent and allocate IDs. The only caveat is that these may not be guaranteed to be sequential: just unique. On Wed, Aug 25, 2010 at 4:24 AM, markus mar...@markuspetersen.dk wrote: Hello all! I have a datastore class User, which has a property key of type Key as its primary key. Now, I want to store objects of type Result in the datastore, as children of the User in an unowned relationship. Each result has a property key of type Key as its primary key as well. For creating the key of the child, I currently use the Key.getChild(String kind, String name) method on the parent key (see http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Key.html#getChild%28java.lang.String,%20java.lang.String%29 ), specifically like this: Key key = user.getKey().getChild(Result.class.getSimpleName(), UUID.randomUUID().toString()); The problem is, I'm quite sure that the UUID class doesn't guarantee uniqueness in a distributed setting like GAE. Is there a way to generate a unique name here, or preferably let the datastore handle uniqueness? Like a Key.getChild(String kind) method. Regards, Markus -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] getServingUrl slow itself?
Only the initial call to getServingUrl should be slow. Subsequent calls should be faster. You should be able to cache the URL - I don't believe it should change. On Thu, Aug 26, 2010 at 4:02 PM, mathijs math...@gmail.com wrote: Hi, We have been starting to use getServingUrl on http://www.appbrain.com/ where we have very many pages little icons. (for instance about 30 on the homepage). Since we implemented the getServingUrl calls for these icons, the logs show that the homepage now takes 3000ms (3 seconds!) to be processed by appengine. It seems that the getServingUrl calls itself are very slow. We are now trying to cache these calls, but are unsure how long these URLs exist. Can we assume that as long as we don't delete the blob, the same URL will always be valid, or can it change? Best regards, Mathijs -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] How do I use get_serving_url correctly?
Yes, you can cache the result. In practice, subsequent calls of get_serving_url on the same blob should be faster, but if you have more new blobs than old ones on a page it can be slow. The resulting URL only becomes invalid if the blob is deleted. On Tue, Aug 24, 2010 at 1:53 PM, Flips p...@script-network.com wrote: Hi, how do I use get_serving_url correctly if I'd like to host a gallery of 28 pictures? I currently fetch all blob_keys and call 28 times the get_serving_url method to get my image urls. But this attempt is really slow (about 12 seconds). Would it be smarter to call get_serving_url if the blob has been created and store the image url in datastore? Best Regards Philip -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.
Can you fill out this form? https://appengine.google.com/waitlist/sms_issues On Sun, Aug 22, 2010 at 12:29 PM, NealWalters nealwalt...@nealwalters.comwrote: I still need to be able to create a test-site that I can share with co- workers. How do I get past this issue? What if I'm a consultant and I create google app sites for customers? Do I have to use their phone numbers? Thanks, Neal On Aug 5, 9:49 pm, NealWalters nealwalt...@nealwalters.com wrote: I registered olexeprod under olexe.com last week, and now today we need a test site, so tried to register olexetest, and getting the SMS verification issue in the subject above. This really delays development when this happens. Last time Nick or somebody approved it, can you do that again? Thanks,NealWalters -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Adobe air support in GAE
Yes, AIR is a client side technology. Communicate with your App Engine app via HTTP or XMPP. On Mon, Aug 23, 2010 at 3:54 AM, aptest1 actiprocess apte...@gmail.comwrote: HI, Is it possible to use adobe air in GAE. Thanks Mahesh -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Guarantees for businesses?
1. Yes, we will continue the service for 3 years in the event we choose to discontinue App Engine. I've stated in another thread that I believe this is highly unlikely. 2. No, we do not guarantee those rates. They are subject to change depending on our costs, though the trend has been lower cost bandwidth, lower cost, storage, etc, and not the other way around. The next question folks usually ask is, Will prices be lower? The answer: we don't know. On Mon, Aug 23, 2010 at 11:49 AM, Riley rileyl...@gmail.com wrote: I'm investigating GAE as a platform for a web app I want to build and release commercially. It looks fantastic so far, but I have two major questions: 1) I think I understand from section 10.2 of the GAE ToS that Google will (probably) give a 3-year warning before discontinuing the service in its present form. Is my understanding correct? 2) The billing prices seem very low (great!). Has Google made any promises about the rates at which those prices can change? 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: No mobile phone
Use that link to report issues with SMS verification. In your case, enter in the description that you do not have a mobile phone and you will be manually verified. We should probably rename that form to manual verification rather than SMS verification. On Sat, Aug 21, 2010 at 7:46 PM, James13M jamesmaje...@gmail.com wrote: That link is for reporting a problem in receiving the SMS (I still do not know what that is) on your cell phone or mobile phone. On Aug 19, 7:42 pm, Geoffrey Spear geoffsp...@gmail.com wrote: There's a link athttp://groups.google.com/group/google-appengineyou can use to get your account verified without SMS. On Aug 19, 8:03 am, James13M jamesmaje...@gmail.com wrote: I can not get past the SMS (whatever that is) and the requirement for a cell phone. I do not want a cell phone as I have no use for it. Is there a way to get past that requirement or is Google subsidizing the cell phone companies? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: May I use the Google logo?
You'll want to read this page about the proper permissions for using Google logos: http://www.google.com/permissions/index.html http://code.google.com/appengine/terms.html On Sun, Aug 22, 2010 at 12:59 PM, nickmilon nickmi...@gmail.com wrote: Since Niklasro's link above seems broken, you can get an other transparent App Engine Logo in png format from a link you can find here : http://gaengine.blogspot.com/2010/06/transparent-app-engine-logo.html By the way you can see this lovely plane flying if it happens to visit above page with Chrome browser. Happy coding:-) -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Stuck indexes
They've been placed into error state. Go ahead and run vacuum_indexes. On Sun, Aug 22, 2010 at 10:29 AM, Thyako thy...@gmail.com wrote: Hi. My app with id truthapp has 3 indexes stuck in bulding for more than a month and 1 index stuck at deleting for a week. Can someone move to error state, please? 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: My indexes are stuck (Building...)
They look to be in serving state. They probably weren't stuck, just building slower than usual. On Sat, Aug 21, 2010 at 7:32 PM, Alexander Orlov alexander.or...@loxal.netwrote: thx :) On Aug 22, 4:01 am, Alexander Orlov alexander.or...@loxal.net wrote: ...the Building status is already displayed for almost a whole day although the index consists of 3 entities. The other index is larger but is stuck as well, maybe because of the other. Therefore I can't use map/reduce. My app is lox-loxal. Google please help! ;) -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Detect Mobile Phone
Can you use the user-agent? On Sat, Aug 21, 2010 at 11:12 PM, prgmratlarge yossiele...@gmail.comwrote: Need a quick and easy way to detect mobile phones from my app, that won't add too much performance overhead. Any suggestions? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Google App Engine
Is this what you are looking for? http://code.google.com/apis/picasaweb/overview.html On Sun, Aug 22, 2010 at 9:08 PM, Pete xx...@hotmail.com wrote: I knew that the Google App Engine come with image api that can host picture, but I will need the picasa as my image hosting. My question is that how can I integrate picasa with Google App Engine? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Determine in runtime (Java) who deployed app
No, this doesn't exist in the API. What's the use case? You could probably write a pre-deploy hook via command line scripting to update a datastore entity somewhere (possibly even in another application), but this is probably easier to solve with internal communications or version numbers. On Fri, Aug 20, 2010 at 6:44 AM, andrew andrew.macken...@bcntouch.comwrote: I would like to be able to determine in run time (I am using Java) the username of the admin who deployed the running instance of the application. I have looked at programmatic access to admin logs (no?), SystemProperty (no), and ServletContext (no) to see if this property is accessible at run time, without success. Any suggestions anyone? thanks Andrew -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Re: SDK 1.3.6 released!
Users running into issues with fancy_urllib: are you running django-appengine-patch? On Thu, Aug 19, 2010 at 10:23 AM, Spines kwste...@gmail.com wrote: I did some performance testing on the new high performance image serving that uses getServingUrl. If anyones interested I wrote about it here: http://www.answercow.com/q/304002/app-engines-high-performance-image-serving-system On Aug 18, 11:45 am, Spines kwste...@gmail.com wrote: Thank you App Engine Team! I had been struggling with how I would get a decent solution for displaying lots of thumbnail images on one page, and with this release and the getServingUrl function, it seems like my problems are solved! On Aug 17, 2:19 pm, Ikai L (Google) ika...@google.com wrote: Hey guys, This is just a heads up that App Engine SDK version 1.3.6 is officially released! Read more about it here: http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-hig. .. Release notes are below: Java 1.3.6 - Multitenancy is now supported in the datastore, allowing better compartmentalization of user data. - Automatic image thumbnailing is now available in the Images API using getServingUrl. - Users can now serve custom static error pages for over_quota, dos_api_denial and default cases. - Results of datastore count() queries and offsets for all datastore queries are no longer capped at 1000. - Added a pause queue button to the task queue details page in the Admin Console. - Historical graphs have been added to all of the dashboard graphs in the Admin Console. - Content-range headers are supported on Blobstore downloads. - New method to allocate datastore ids in a given range: allocateIdRange() - The app.yaml format is supported with Java applications. - Increased several rate limited quotas for free applications. - Fixed an issue that did not allow forms of over 200,000 bytes to be submitted. -http://code.google.com/p/googleappengine/issues/detail?id=1608 Python 1.3.6 - Multitenancy is now supported in the datastore, allowing better compartmentalization of user data. - Automatic image thumbnailing is now available in the Images API using get_serving_url(). - Users can now serve custom static error pages for over_quota, dos_api_denial and default cases. - Results of datastore count() queries and offsets for all datastore queries are no longer capped at 1000. - Added a pause queue button to the task queue details page in the Admin Console. - Historical graphs have been added to all of the dashboard graphs in the Admin Console. - Content-range headers are supported on Blobstore downloads. - Remote API now supports the Blobstore API. - New method to allocate datastore ids in a given range: db.allocate_id_range(). - New db method is_in_transaction() determines if a transaction is still open. - Increased several rate limited quotas for free applications. - Fixed an issue in db.py where unindexed property lists for user-specified property names were ignored. - Fixed an issue where the task queue uses local time instead of UTC time to compute job ETA. -http://code.google.com/p/googleappengine/issues/detail?id=2508 - Fixed an issue in the SDK with datastore cursors being too large. -http://code.google.com/p/googleappengine/issues/detail?id=3152 -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Google App Engine IRC Office hours chat transcript August 19, 2010
Hey everyone, Just wanted to post the transcript for our IRC office hours. We're thinking about reducing the chat time to once a month due to the relatively low-level of activity. Would it be more useful if we scheduled IRC office hours for a week after each release? - Notable questions: - What is multi-tenancy? Multitenancy is the ability to create namespaces for your data in the datastore, memcache and task queues. Developers will be able to create virtual partitions in their application as needed. This can apply to an application with multiple domains, multiple customers, and so forth. - How do you get the namespace of a model instance in Python? .key().namespace() - Can you use namespaces to separate models by account owners? (replace where account = :1) Yes - Can you globally change a namespace name? No - Will App Engine allow users to manage/purchase more memory in the future? Possibly, we are exploring ways in which we can do this. [08:59am] ikai_google: All right everybody, let's kick off today's office hours session [08:59am] ikai_google: there are a few Googlers in hiding here [08:59am] nickjohnson: Evening all [08:59am] ikai_google: you all know me, I lurk here much of the time [09:00am] moraes: i knew it!!!11 [09:00am] ikai_google: there's also nickjohnson [09:00am] ikai_google: there are a few whom I suspect are googlers based on their handles [09:00am] ikai_google: but I'm not going to call them out =) [09:01am] • moraes summons the hidding spirits [09:01am] morais78 joined the chat room. [09:02am] ikai_google: okay, so ... everyone has seen the 1.3.6 release, right? [09:02am] ikai_google: http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html [09:02am] nickjohnson: Yaay! [09:02am] ikai_google: there's LOTS of good stuff here [09:02am] moraes: you know, i didn't even know what Multi-tenancy meant but i know that i was doing it hardcoded [09:02am] perlmonkey2: anything in the gae pipeline thats going to make a splash? [09:02am] nickjohnson: moraes: Are you intending to switch? [09:02am] moraes: nickjohnson, yes, now [09:02am] ikai_google: perlmonkey2: lots [09:03am] ikai_google: perlmonkey2: 1.3.6 is a pretty big release as it is [09:03am] slynch_google joined the chat room. [09:03am] moraes: nickjohnson, i created run_in_namespace(), the cousing of run_in_transaction(): http://paste.pocoo.org/show/251604/ [09:03am] moraes: hehe [09:04am] moraes: *cousin [09:04am] psykidellic: So what would be the best option to stream mp3 (stored in GAE) over RTMP? [09:04am] perlmonkey2: ikai_google just saw your post. new releases are always exciting [09:04am] johnlockwood joined the chat room. [09:04am] nickjohnson: moraes: Oh, nice. [09:05am] ikai_google: psykidellic: I'm not an expert on RTMP but #2 looks like the way to go http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol [09:05am] morais78: Custom Error Pages: thank you appengine team :) [09:06am] psykidellic: So I guess I have to run an external RTMP server and configure it to use the GAE datastore? [09:06am] ikai_google: psykidellic: Again, not an expert. Try it out and let us know, I don't know how this works or even if it *will* work [09:06am] mbw: psykidellic: if you are interested in RTMP in python, talk to Nick Joyce. He is the author of PyAMF and RTMPy ... he is njoyce on this chan [09:06am] psykidellic: Okay. [09:06am] ikai_google: hey mike! [09:06am] nickjohnson: psykidellic: That's probably the best option. RTMP over HTTP _might_ work, but you'd have to implement your own RTMP stack in App Engine [09:06am] mbw: hi ikai [09:06am] moraes: nickjohnson, can you get from an entity its namespace? [09:06am] ikai_google: in case anyone is wondering, mbw is from WebFilings: http://googleappengine.blogspot.com/2010/08/webfilings-streamlines-sec-reporting.html [09:07am] psykidellic: Yeah, I have seen: http://rtmpy.org/ - it uses Twisted so wont run on GAE. [09:07am] ikai_google: moraes: You might be able to set the namespace, then just do a get all entities [09:07am] ikai_google: moraes: I'm not sure what you're asking? [09:07am] mbw: psykidellic: Nick actually works with Webfilings now, but he is still actively working on PyAMF and RTMPy. WF hasn't used rtmp at all, but we have made large contributions to the GAE adapter for PyAMF [09:07am] nickjohnson: moraes: Yes, it's part of the key [09:08am] nickjohnson: .key().namespace(), I suspect [09:08am] psykidellic: mbw: Aha, nice. I will look around for him up here. [09:08am] moraes: nickjohnson, oh ok, was looking for this. ikai_google, that ^ [09:08am] psykidellic: mbw: From all the option, it seems the easiest (considering I am not much RTMP expert) would be run Wowza on EC2 and configure it to use GAE (though I am not sure if thats even possible) [09:08am] moraes: key().namespace() indeed, i missed that [09:09am] carlosm left the chat room. (Remote host closed the connection) [09:10am] mbw: psykidellic: an external setup would
Re: [appengine-java] Re: SDK 1.3.6 released!
It's not possible, you'll have to traverse the index no matter what. I advise counting either offline or on write if this is possible. With very large numbers, the 90% use case is that you want an approximation. There may be techniques for approximating (similar to Google Search or Gmail), but these techniques are often very domain specific. For instance, you may look at the first 20 results, realize that they correlate to 5 parent elements, know that there are 100 parent elements and estimate the results at ( 20 / 5 ) * 100 = 400 results. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Chart/Finance software for purchase/develpment
No, this isn't the best place to post these questions, as they're not App Engine related, they're general web development related. There's the Google Visualizations API, which does some of the things you need: http://code.google.com/apis/visualization/documentation/gallery.html In the past, I've used Fusion Charts: http://www.fusioncharts.com/ On Tue, Aug 17, 2010 at 12:31 AM, Ady Spencer adyspence...@googlemail.comwrote: Apols if this is totally the wrong place to post, but my query as below, placed in various development forums. Can anyone help or advise? Hi all, Apols in advance for any blatant ignorance in my posting, but I'm not overtly tech savvy. I work in the world of commodities/chemicals manufacture and I am keen to build a secure area on the web for our marketing staff to access to keep tabs on production, inventory, market data - basically an area where we can analyze our statistics, make predictions of future market trends. We have all the data, we just need to host it in a fun and interactive environment. Basically, I would love to produce something similar to the applets (I think) available for analysis via Google finance and I wondered if this is something available off the shelf, or if any companies can host this for us at a cost effective rate? If anyone can advise, could they please comment here or PM me? Also posted on the Java section (in case relevant there...) Cheers -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Caching feed
You want to use App Engine cron: http://code.google.com/appengine/docs/java/config/cron.html On Mon, Aug 16, 2010 at 6:57 PM, HIRAK hirak1...@gmail.com wrote: Hi, I am trying to implement a feed reader of my own using google app engine. Now, I dont want to parse the feed xml each time I get a request. So there should be some kind of caching of feeds. For caching, I am using the JDO persistencemanager. But I am facing problem, trying to refresh the cache at certain intervals. I tried with Quartz scheduler and also with Java timer. But as appengine doesn't allow users to spawn threads, both the ways failed. Could anybody please give me some hint, on how to schedule the feed caching activity. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] SDK 1.3.6 released!
Hey guys, This is just a heads up that App Engine SDK version 1.3.6 is officially released! Read more about it here: http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html Release notes for Java are below: Version 1.3.6 - August 17, 2010 - Multitenancy is now supported in the datastore, allowing better compartmentalization of user data. - Automatic image thumbnailing is now available in the Images API using getServingUrl. - Users can now serve custom static error pages for over_quota, dos_api_denial and default cases. - Results of datastore count() queries and offsets for all datastore queries are no longer capped at 1000. - Added a pause queue button to the task queue details page in the Admin Console. - Historical graphs have been added to all of the dashboard graphs in the Admin Console. - Content-range headers are supported on Blobstore downloads. - New method to allocate datastore ids in a given range: allocateIdRange() - The app.yaml format is supported with Java applications. - Increased several rate limited quotas for free applications. - Fixed an issue that did not allow forms of over 200,000 bytes to be submitted. - http://code.google.com/p/googleappengine/issues/detail?id=1608 -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Reusing GWT Localization on Server Side
Since they're just properties files, you should be able to use the same messages as a shared resource in your local project, but I doubt you'd be able to use the same code. Have you also asked this question in the GWT groups? http://groups.google.com/group/Google-Web-Toolkit On Sun, Aug 15, 2010 at 10:36 PM, Casey j.casey.one...@gmail.com wrote: Does anyone know if with Google App Engine there is an easy way to reuse your client size localization files (constants and messages) from GWT? I think in GWT 1.6 or 1.8 you could actually call the same GWT localization code on the server side that you called on the client side. I just upgraded from 1.6 to 2.0 and all of a sudden I'm receiving the following message: ERROR: GWT.create() is only usable in client code! That makes sense to me but there must be an easy way to reuse your Constant and Message files on the server. It's been awhile since I've opened this project but I'm pretty sure that this was working before. Thanks in advance. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Oracle sues Google on Java Patents and Copyright
Warning: I am not a lawyer. This lawsuit is about Android and Dalvik. Google App Engine should not be affected. Here's an interesting read I found about this subject: http://blog.headius.com/2010/08/my-thoughts-on-oracle-v-google.html On Mon, Aug 16, 2010 at 10:23 AM, Khor Yong Hao fyh...@gmail.com wrote: go away oracle, no politic, no politic, java must be free and open freely, use freely!!! On Mon, Aug 16, 2010 at 5:15 PM, asianCoolz second.co...@gmail.comwrote: just ask Oracle to fire all their lawyers and hire 'better programmers' like google if they are serious about innovation. ask them make better web, no war. for them everything is just $$$, no wonder they have xtra to spend on lawsuit -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Data store low-level API and query filters
It may or may not work in your scenario, but if you have a cursor pointing to the start of events after the end date, you can use an end cursor: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/FetchOptions.html#endCursor(com.google.appengine.api.datastore.Cursor) This tells the query to stop running when it hits this spot in the index. If you combine this with a start cursor, it may be just what you need. The trick, of course, is obtaining this cursor - you'll need to issue a query first, retrieve the cursor, then issue a second query and use this as the limit. On Fri, Aug 13, 2010 at 2:15 PM, dominity domin...@gmail.com wrote: Hi, there! Currently there is no possibility to use two inequality filters for data retrieving. I'm storing events with start/end dates. And I want to retrieve events by date range. Currently, I'm retrieving them with query with one filter for start date, so retrieved events are older than start date. If there is a lot of stored events, query takes a time. Is there any possibility to reduce this time? Any suggestions? Best regards, Alexander. -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Re: Unable to access the Datastore Viewer
That sounds like a different topic. Can you describe which Users are causing the error? On Sat, Aug 14, 2010 at 1:52 PM, Saqib Ali docbook@gmail.com wrote: seems like if I use Federated Identity for authentication, and store user objects in the entities, I will invariably cause the Server Error (500) on the Datastore Viewer. Is this something that Google can address? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: HELP: My app is getting lots of HardDeadlineExceededError today.
Saving 100 entities in a single request, especially if a TON of indexes will be created is very expensive and will cause a lot of CPU to be consumed. There probably is a design that will allow you to accomplish what you need to do without this limitation. Can you post your use case? On Thu, Aug 12, 2010 at 11:02 PM, SC2PlayerFinder sc2playerfin...@gmail.com wrote: Used appstat and didn't notice anything out of the ordinary. Still thinking that the main issue here is exploding index and I'm not sure how to get around that other than to cut search features from the site, but that would more or less make the app not very useful. On Aug 12, 10:19 pm, SC2PlayerFinder sc2playerfin...@gmail.com wrote: Thanks for the response. I wanted to get back to you sooner, but I have been scrambling to optimize the application. I'm making some progress, however, it is still a relative CPU hog due to an exploding index and the frequent updates the application needs to make in order to keep the data current. 71000 CPU to save 100 records seems rather expensive?. My next step is to run appstat on it and see what is going on. Current version of the app is running a sc2pf6.appstat.com. The older version is running at sc2pf2.appspot.com. On Aug 9, 3:51 pm, Ikai L (Google) ika...@google.com wrote: I've got a few questions for you: 1. What is your application ID? 2. What are you doing in the tasks? 3. Are you using transactions or entity groups? 4. Are you writing to the same datastore entities? My guess is that you are running into write contention in the datastore. It'd be very helpful to understand what it is you're doing. App Engine will scale up the number of instances if you are returning web requests in less than 800ms (thought 400ms is optimal), but if you are writing to a small number of entities over and over it won't be able to resolve that bottleneck. On Mon, Aug 9, 2010 at 12:28 PM, SC2PlayerFinder sc2playerfin...@gmail.comwrote: Further explanation. I had a large increase in users which caused a chain reaction. Tasks that used to take about 10-20 seconds started taking longer and using more CPU time. Interestingly, these tasks are doing the exact same thing, but under a higher load, they take longer and use more CPU time. I can understand the process taking longer under load, but why would it use a significant amount more of CPU time? I will admit that my code is not the most optimal, but then again isn't the main focus of GAE built in scalability and speed? In short, I needed on the fly scalability and speed with an influx of new users and I don't feel like I got that with GAE? Worse, there was no way for me to contact someone who could help me out. I'm left with the feeling that GAE does not do a good job of scaling up and it is kind of slow as well. Creating and updating records seems painfully expensive, time out due to new instance creation happens way to often. Now this is fine for a free app, but I'm going way over my daily free quota and it is not cheap. Maybe I should be using Phython and not Java? On Aug 6, 10:52 pm, SC2PlayerFinder sc2playerfin...@gmail.com wrote: Application was running ok yesturday. Still had about 10% HardDeadlineExceededError, but the same task that executed yesturday are not failing almost 100% of the time right now. I even cut back the amount of records it is processing from 100 to 10 and it is still failing. How do I get ahold of someone at Google, to see if there is something wrong with the server my app is on or something. Why would the same proccess consume more CPU time one day than another? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
Re: [appengine-java] Guestbook (as-is) works locally, but deployed on gae will give Error: Server Error at signin
Do the log files provide any information? What's the URL to your application? On Thu, Aug 12, 2010 at 3:48 AM, Simpatico gabri...@mysimpatico.com wrote: I've deployed the guestbook as it's provided in the demos folder but when I click to sign in I get: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. This is essentially what I've been getting throughout. Indeed the result is the same for the sample code: public class GuestbookServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); if (user != null) { resp.setContentType(text/plain); resp.getWriter().println(Hello, + user.getNickname()); } else { resp.sendRedirect(userService.createLoginURL(req.getRequestURI())); } } } I suspect it has to do with bug: http://code.google.com/p/googleappengine/issues/detail?id=3552can=5colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component The bottom line is that I cannot deploy my application! -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Can't access my Datastore Viewer
You won't be able to avoid the CPU time. It costs CPU time to delete entities. On Thu, Aug 12, 2010 at 12:29 PM, magnum p.magnow...@gmail.com wrote: The error message: Server Error A server error has occurred. Return to Applications screen » I've found out that this is caused by one of my entities having attribute names composed of non standard characters I am almost ready to loose my data if the access to my admin panel can be restored. Any questions on how to resolve the problem? The only thing comming to mind is to create a cron task which will delete all of the bogus entries, say in batches of 100-200 but this will cost me _a lot_ of cpu time. Thanks P. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Hoping to understand the difference between CPU Time and Datastore CPU Time
Wow, this is a great link. Posterous is really, really slow for me, though. On Thu, Aug 12, 2010 at 1:34 PM, Robert Kluin robert.kl...@gmail.comwrote: Hi Greg. Nice write-up. Robert On Thu, Aug 12, 2010 at 8:25 AM, Greg Tracy gtr...@gmail.com wrote: Circling back on this thread to report on a couple of outcomes. First, from a numbers standpoint... I saw massive improvement when I started doing batch puts. - On average, a batch put of 472 relatively small entities takes 2,200 megacycles - On average, a batch put of 363 entities takes 1,900 megacycles Second, total CPU cycles for this job (of parsing a text file, creating entities, and storing them) is a fraction of the API cycle time. 3,000 v. 98,000 megacycles Also, I did a write-up on my experience with this analysis process. If you're interested, check it out and share your thoughts and experiences. http://www.gregtracy.com/adventures-in-performance-tuning-on-google-ap Now... how do I manage the API time?! On Jul 21, 2:26 am, Robert Kluin robert.kl...@gmail.com wrote: Hey Greg, Yeah puts are relatively expensive. Doing a batch put is about the only way to reduceCPUtime, but of course that does basically nothing forAPItime. I always like to see benchmarks and related discussions. Look forward to your results. Robert On Jul 20, 2010, at 13:51, Greg Tracy gtr...@gmail.com wrote: Thanks for the input, Robert. After more performance tuning, I've been able to eliminate the DeadlineExceeded errors. But I still have a hard time scaling the app since the put calls are so expensive. Over thousands of request handler calls, I quickly eat upCPUquota (free and paid). Going back to the original question, I'm still unsure how the quota math is working. I'm in the process of creating an-to-end performance model of these calls and will post the results. On Jul 15, 4:40 pm, Robert Kluin robert.kl...@gmail.com wrote: Greg, If you are having issues with long write times, there are two common options you may consider: smaller batches and transactional tasks. I have some code that does batch processing, I set it up to search for the maximum batch size that is currently succeeding. Basically I slowly increase my batch size until I am getting deadline exceeded warnings then I drop back down adjust my 'growth factor' and repeat the processes. This seems to keep my batches running very close to the upper limit without too many deadline exceeded exceptions. The other approach I have used it to offload some of the writes to other background tasks. I write a group of entities, then send another handler another block of entities to write. This has been working well for me too. Robert On Thu, Jul 15, 2010 at 5:22 PM, Greg Tracy gtr...@gmail.com wrote: I just started using AppStats for the first time - very nice package! However, it didn't reveal any glaring problems. But it did help validate my belief that I was using the memcache effectively. I've been using the 'quota' package to find costly operations, and I did discover a bug in my measurement. I was starting the clock in the wrong spot so I have found some new areas to optimize. Will work on that now... but I'm still not confident I can compensate for the long write times. Thanks! On Jul 14, 10:46 pm, Robert Kluin robert.kl...@gmail.com wrote: If you have not already, take a look at AppStats. Perhaps you can find a way to improve performance. You may also want to read through some of the datastore articles in the docs to be sure you are minimizing resource usage. Robert On Wed, Jul 14, 2010 at 7:24 PM, Greg Tracy gtr...@gmail.com wrote: Not for me... I set a budget and immediately started paying. Not thrilled about this and may need to start a new thread asking for advice on datastore contention... Thanks. On Jul 14, 5:57 pm, Nate Bauernfeind nate.bauernfe...@gmail.com wrote: I have been. On Wed, Jul 14, 2010 at 5:37 PM, Greg Tracy gtr...@gmail.com wrote: Does this imply that I can go over theCPUTime quota and not pay for it? On Jul 14, 5:26 pm, Nate Bauernfeind nate.bauernfe...@gmail.com wrote: The DataStoreCPUtime is included in totalCPUtime. To take advantage of free datastorecputime you need to increase yourcpu-usage quota. When I loaded a bunch of initial test data into the datastore I got tons of deadline exceeded errors, though I assumed it was cause I was trying to stuff a lot of data in there all at once. Nate On Wed, Jul 14, 2010 at 5:24 PM, Greg Tracy gtr...@gmail.com wrote: I've been adding some new datastore-intensive features to an app and am blowing through the CPUTime quota. While my understanding is that the DatastoreCPUTime quotas have been lifted while the
Re: [google-appengine] In login page programmatically change t...@example to my username
It's a stub, anyway. Is there a specific reason why you need this feature? On Thu, Aug 12, 2010 at 5:44 PM, brianl licht...@gmail.com wrote: Wondering if there's a way to change the email address in the generated login dialog/page for the dev server? Referring to this login page... /_ah/login?continue=%2Findex.html I'd rather not spend time entering my specific username in the email input field. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Unintended use of list properties for queries?
It might even be faster to retrieve the Entity and do the match in memory, making the List property unindexed. Java can tear through a substring match in memory on 5000 elements pretty quickly. Your CPU costs will come in the form of reading the saving the entity, so you'll want to keep an eye on this and consider Memcache when it's appropriate. An alternative could be to shard the parking lot into subsections if you are working with car makes. There's a finite number of makes in the world, and you can increase your overall write throughput sharding your data. You *might* improve read throughput, as gets are parallelized, but you should benchmark this for yourself to see what works for you. On Thu, Aug 12, 2010 at 9:22 PM, Mark mar...@gmail.com wrote: Hi, If a class has a list property, is there any legitimate or hackish way in app engine to get the matched elements? For example: class ParkingLot { String parkingLotId; ListString cars; } ParkingLot p = new ParkingLot(); p.parkingLotId = abc; p.cars.add(ford_john); p.cars.add(ford_mary); p.cars.add(honda_tim); p.cars.add(toyota_kim); // Find all cars in the parking lot that are fords, // then get their owners. Query q = select from ParkingLot where parkingLotId = 'abc'; query.setFilter(cars.matches( + ' + ford + %')); // Right now this will return all ParkingLot instances // that matched, but instead would want the actual String // instanced of the List object that matched: ListString results = q.execute(); // results[0] = ford_john // results[1] = ford_mary Yeah I don't know if the partial string match would work on the list property values, and also am pretty sure we can't get back the matched string values. Right now I need to write out a single CarAtParkingLot entity to do the same select: class CarAtParkingLot { String parkingLotId; String carType; String carOwner; } select CarAtParkingLot where parkingLotId = 'abc' and carType = 'ford'; which will require a lot more storage, if I am understanding the storage model correctly. I have hundreds of thousands of cars at a given parking lot. I know a list property can only hold 5000 entities at once, and cars leaving parking lots is a performance concern, just wondering what options we have here, 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Java: Can I retrieve a localhost or relative URL (or JSP workaround)
I don't know if this'll work, but this is what Google search seems to find me: http://stackoverflow.com/questions/1189094/jsp-compilation-to-string-or-in-memory-bytearray-with-tomcat-websphere (From this search: http://www.google.com/search?sourceid=chromeie=UTF-8q=render+jsp+output+to+string ) Can you let us know if it solves your problem? On Thu, Aug 12, 2010 at 9:53 AM, Marc Hacker marc1hac...@gmail.com wrote: I need one JSP file to read another JSP file into a String Is there some efficient way to just read the URL e.g. using URLConnection to localhost/my.jsp Or is there some trick for one JSP to read another JSP page into a String? I want to do this efficiently (i.e. make sure it goes to the same server not out to the network) and without paying for the bandwidth! Thanks Marc -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Native geospatial support
In general we don't give more specific ETAs for feature releases than soon very soon next release or on the roadmap ( http://code.google.com/appengine/docs/roadmap.html). I would suggest looking at something like GeoModel in the meantime if you are looking to do bounding box searches: http://code.google.com/apis/maps/articles/geospatial.html On Wed, Aug 11, 2010 at 1:14 AM, fvisticot fvisti...@gmail.com wrote: In Alfreds talk at Google I/O Next Gen Queries he talks about how geospatial queries will soon be officially supported by the datastore. When this very usefull feature will be available ? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Problems with OAuth
You do need to register your application to get a consumer key and secret:: http://code.google.com/apis/accounts/docs/OAuth.html#prepRegister http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html Here's a tool written by a friend of mine that I used to verify an OAuth setup, unfortunately it requires a Ruby on Rails setup ... http://github.com/episod/oauth-dancer I'm not familiar with .NET, but do you have any other OAuth clients you can try? On Wed, Aug 11, 2010 at 12:17 AM, Alex Bertram akbert...@gmail.com wrote: Hi, I'm trying to use the OAuth service but am running up against a brick wall. The client is a desktop application and I'm using the .NET code found here http://oauth.googlecode.com/svn/code/csharp/OAuthBase.cs I've only been able to get 400 Bad Request responses from my app, and the requests to _ah/OAuth* do not appear in the logs. I've tried both http and https. Do I need to register the consumer somewhere? Thanks for any pointers! Here are the raw request / response from Fiddler: POST /_ah/OAuthGetRequestToken HTTP/1.1 User-Agent: Desktop Addin Content-Type: application/x-www-form-urlencoded Host: arctileserver.appspot.com Content-Length: 230 Connection: Keep-Alive oauth_callback=http%3A%2F%2Farctileserver.appspot.comoauth_consumer_key= arctiles.comoauth_nonce=2173727 HTTP/1.1 400 Bad Request Date: Wed, 11 Aug 2010 06:36:37 GMT Content-Type: text/html; charset=UTF-8 Server: Google Frontend Content-Length: 273 htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title400 Bad Request/title /head body text=#00 bgcolor=#ff h1Error: Bad Request/h1 h2Your client has issued a malformed or illegal request./h2 h2/h2 /body/html -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Template {% cycle %} state is stored between requests
Interesting bug. It shouldn't work this way. I'll take a look at this. Can you accomplish the same thing using the span tag and just letting it wrap? On Wed, Aug 11, 2010 at 1:12 AM, Blixt andreasbl...@gmail.com wrote: When using {% cycle first,second %} it would appear that its state is stored between requests. The first time, the results are first, second, first, second... and the second request is second, first, second, first... (there is an odd amount of items that are cycled.) Is this bug specific to Google App Engine? A Google search didn't seem to bring up any results mentioning it. For a live example, see: http://2.latest.simpleeditionsapp.appspot.com/ Relevant code: http://github.com/littke/simpleeditions/blob/187c5ebf71ce1824acb28eb8da8dd51aca20a848/src/templates/home.html#L15 -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Documentation Error - says app_id instead of application
I've sent in changes. Hopefully they'll be live soon. Thanks for the catch. These are documented correctly when you run appcfg.py with no parameters but not on the live site. On Tue, Aug 10, 2010 at 10:35 PM, Gayle Laakmann gay...@gmail.com wrote: The documentation for exporting data uses the app_id parameter: appcfg.py download_data --app_id=app-id --url=http://appname. appspot.com/remote_api --filename=data-filename I believe this should say application instead of app_id: appcfg.py download_data --application=app-id --url=http://appname. appspot.com/remote_api --filename=data-filename At least, this was the only way the command would work for me. I'm using app engine 1.3.5. Could someone from Google please update the documentation? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] App Engine Scaling/Error Concern
Measure your QPS, use AppStats, and be sure your requests that are user facing finish quickly. If the majority of your requests finish in under 800ms and return to the user, we'll spin up new instances for you. 400ms is best, however. That's 800ms of perceived time for the user - not total time (datastore calls are parallelized, so you could consume 2000ms of CPU time, but if your request returns to the user in 300ms you are okay). Do any work that will take longer in Task Queues or Cron when possible. On Wed, Aug 11, 2010 at 11:11 AM, Nikita Srivastava nikisri...@gmail.comwrote: Makes sense. Also, another user here pointed me to the 1.3.6 specs which says that custom error pages would be soon available. So the Quota Error be less of an issue, because we do get errors and we do show them, but the main issue was fear of sudden 'app engine' error when no user knows what app engine is. I hope 1.3.6 resolves this. As for the reason you mentioned, I think what we should do is set daily budget twice of what we paid for CPU previously, which was not cheaper I think ($0.08 per 1.2Ghz CPU hour). So I am planning to set this to $2000-2500 range as daily limit to avoid the Quota errors to legit users. Any other things that you can suggest that I should do? Thanks! On Wed, Aug 11, 2010 at 8:13 PM, Nick Johnson (Google) nick.john...@google.com wrote: Hi Nikita, On Wed, Aug 11, 2010 at 7:01 AM, Nikita nikisri...@gmail.com wrote: Hello, We're trying to deploy a large project on app engine, and by this time, we have an app engine version in internal testing. However, we have a few concerns: First, the information this gentleman expresses: http://aralbalkan.com/1504 Here is a quote - You build an awesome new app on Google App Engine. You tell your friends. They tell 1,000 of their friends on Twitter who tell 1,000 of their friends and then, suddenly, you have all these developers hitting Google App Engine for the first time to see your app. Paradoxically, by doing that, they trigger the intelligent throttling feature in Google App Engine which freaks out and shuts down your app with an Over Quota error -- effectively making the Over Quota message the first impression most of your audience has of Google App Engine. To what extent is this true? As paying customers with a sizable budget (We're paying over $35,000 a month on our current host, bandwidth exclusive), this is completely unacceptable. There's no intelligent throttling. Every app has quotas, determined by the amount of budget you allocate to each resource (or a fixed amount, in the case of free apps), and the quotas are accounted for both on a daily basis and in smaller bins. In other words, your traffic can vary, but we won't let your app consume its entire budget before we start serving over quota errors. I hope you can see why this is: we assume you don't want a single spike of traffic, for example because your app is being abused, to be able to consume your entire quota for the day, leaving your app serving 'out of quota' errors for the rest of the day! I assumed that this might be true only for free accounts, but then one of our engineers found this - http://groups.google.com/group/google-appengine/browse_thread/thread/32876e345d075878/e2ec2e4fdd7ca3e0 This is a paying customer begging for your mercy to scale. He claims he gets a Out of Quota error in 1 of 6 requests. This shows he isn't really out o his daily Quota, but there is something else that's going wrong. As you can see from the thread, the user was only experiencing issues because some of their requests were taking too long to complete. We impose limits on how many instances of an app we will schedule if the app takes too long to respond, because slow apps don't scale very well and would take disproportionate amounts of resources. -Nick Johnson It would be great i somebody from Google can comment on the validity o the above concerns. We don't want to shift our entire business to app engine and have our customers watch the Out of Quota - App engine errors. Frankly, this would be like BSOD of the web 2.0 world. :) -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to
Re: [appengine-java] Stored Data- how billed?
We should be taking the average per month, so if you have 25gb averaged over a month, you are charged 25gb x $0.15 = $4 for storage. More likely than not, you will be incurring CPU costs, not storage costs. On Mon, Aug 9, 2010 at 4:39 PM, Shawn Brown big.coffee.lo...@gmail.comwrote: Hi, About storage costs, If I have say 25 GB in storage, is this right -- 25 GB X $0.15/month = $3.75/month??? The docs here say: http://code.google.com/appengine/docs/billing.html#Billable_Quota_Unit_Cost Stored Data gigabytes per month $0.15 Other quotas are on a daily basis so I'm a little confused. Is my storage per day added up and then billed so actually I'd see 25 GB (on disk) X 31 days X $0.15 = $3.75 x 30. I'm guessing daily storage is averaged and then billed at the end of the month. (daily average for the month) in GB X $0.15/month Anyone know? Shawn -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Monitoring the Task Queue
There are a few open feature requests for this. You'll want to star them: http://code.google.com/p/googleappengine/issues/list?can=2q=task+queuecolspec=ID+Type+Status+Priority+Stars+Owner+Summary+Log+Componentcells=tiles On Tue, Aug 10, 2010 at 6:48 AM, fvisticot fvisti...@gmail.com wrote: Is there an API available to monitor the task queue. I would like to be trigged in my code when the queue is empty. A Listener for queue empty would be nice ... -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Retrieving the n nearest Points(Location) returned by distance
We don't do spatial indexing yet. However, read up on Geomodel: http://code.google.com/p/geomodel/ http://code.google.com/apis/maps/articles/geospatial.html On Tue, Aug 10, 2010 at 7:26 AM, fvisticot fvisti...@gmail.com wrote: I have entities with a GeoPt property In input, i have a longitude/latitude (current user location) and i would like to return the n nearest entities. How to solve this pb ? What is the query ? Do i need to use an external framework ? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] can't enable billing
Can you fill out this form? http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport On Tue, Aug 10, 2010 at 8:05 AM, africa andywo...@gmail.com wrote: I am failing to enable billing. I go to billing settings then enable billing, I set my daily budget, select country (.il) and go to google checkout. Then I complete my credit card info, and finish the payment. Then I am told to wait 30 min. At the end of that 30 min, I received the following: Google Services has cancelled your order. You won't be charged. Reason: Other (describe below) Comments from Google Services: This inactive subscription has been canceled -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Data Store Functionality
You'll want to read the docs and do the tutorials that are available. Many new developers find that a self-guided approach is the most effective for learning a new skill. http://code.google.com/appengine/docs/java/gettingstarted/ https://sites.google.com/site/gdevelopercodelabs/app-engine/java-codelab On Mon, Aug 9, 2010 at 9:15 PM, prakhil samar prakhilsa...@gmail.comwrote: Hi all I m new to Google App Engine and JAVA i m building an applciation in which data is to be saved and retrieved as and when required (Add, Edit, Update functionality is must). please someone tell me how to do that, i m using Eclipse IDE and java language, I have Added the data in data store but how to edit and then update that data PLease help me, its urgent.. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] URL image fetch
There are a few threads about forwarding emails with attachments here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/34fc6354a923e6af/3292bcd1535394a4?lnk=gstq=attachment+incoming#3292bcd1535394a4 http://groups.google.com/group/google-appengine-java/search?group=google-appengine-javaq=attachment+incomingqt_g=Search+this+group The code in those posts *should* still be working. We made a change to how inbound emails were handled, but I don't believe it's broken any of that code. On Mon, Aug 9, 2010 at 8:43 PM, witiProg mrluisfle...@gmail.com wrote: Hi every body Sorry for my english. I'm tryn to fetch an image from url, and then send it via mail; this is my code: String url = http://www.google.co.ve/images/firefox/ globe_getinvolved.png String contenttype ; URL myurl = new URL(url); HttpURLConnection conn = (HttpURLConnection) myurl.openConnection(); contenttype = conn.getContentType(); Object image = conn.getContent(); Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress(xx...@gmail.com,Admin)); msg.addRecipient(Message.RecipientType.TO,xx...@gmail.com); msg.setSubject(url); MimeBodyPart ad = new MimeBodyPart(); ByteArrayDataSource src = new ByteArrayDataSource((InputStream)image,contenttype); ad.setDataHandler(new DataHandler(src)); Multipart mp = new MimeMultipart(); mp.addBodyPart(ad); msg.setContent(mp); Transport.send(msg); The problem is when i do the cast to the object 'image' (InputStream)image ; How can i do to convert the result of the conn.getContent(); to an InputStream or to a byte[]. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] My application Datastore index was stuck in Building state.
They've been place in error state. You'll want to vacuum them. On Tue, Aug 10, 2010 at 2:04 AM, ryan linuz...@gmail.com wrote: Could you help me delete all my indexes ASAP. My appid is: zhengbinblog 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: GAE for business and users
Google App Engine for Business is targeted at developers building for applications restricted to Google Apps domains, so it's not user in the sense of a random internet user. On Tue, Aug 10, 2010 at 10:39 AM, Geoffrey Spear geoffsp...@gmail.comwrote: On Aug 10, 8:55 am, Magno Machado magn...@gmail.com wrote: On GAE for Business, each app will cost $8 per user per month. Does that means I'll have to use the google accounts api? In an app I'm developing, I'm implementing all the user/authentication stuff myself, can't I do that on GAE for business? How will google know how many users I have on the app? I believe the charge is per registered user of your Google Apps domain. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: HELP: My app is getting lots of HardDeadlineExceededError today.
I've got a few questions for you: 1. What is your application ID? 2. What are you doing in the tasks? 3. Are you using transactions or entity groups? 4. Are you writing to the same datastore entities? My guess is that you are running into write contention in the datastore. It'd be very helpful to understand what it is you're doing. App Engine will scale up the number of instances if you are returning web requests in less than 800ms (thought 400ms is optimal), but if you are writing to a small number of entities over and over it won't be able to resolve that bottleneck. On Mon, Aug 9, 2010 at 12:28 PM, SC2PlayerFinder sc2playerfin...@gmail.comwrote: Further explanation. I had a large increase in users which caused a chain reaction. Tasks that used to take about 10-20 seconds started taking longer and using more CPU time. Interestingly, these tasks are doing the exact same thing, but under a higher load, they take longer and use more CPU time. I can understand the process taking longer under load, but why would it use a significant amount more of CPU time? I will admit that my code is not the most optimal, but then again isn't the main focus of GAE built in scalability and speed? In short, I needed on the fly scalability and speed with an influx of new users and I don't feel like I got that with GAE? Worse, there was no way for me to contact someone who could help me out. I'm left with the feeling that GAE does not do a good job of scaling up and it is kind of slow as well. Creating and updating records seems painfully expensive, time out due to new instance creation happens way to often. Now this is fine for a free app, but I'm going way over my daily free quota and it is not cheap. Maybe I should be using Phython and not Java? On Aug 6, 10:52 pm, SC2PlayerFinder sc2playerfin...@gmail.com wrote: Application was running ok yesturday. Still had about 10% HardDeadlineExceededError, but the same task that executed yesturday are not failing almost 100% of the time right now. I even cut back the amount of records it is processing from 100 to 10 and it is still failing. How do I get ahold of someone at Google, to see if there is something wrong with the server my app is on or something. Why would the same proccess consume more CPU time one day than another? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] OCR on Google App Engine
Is the interface of OCRWebService.com SOAP over HTTP? You should be able to use URLFetch. On Tue, Aug 3, 2010 at 12:37 PM, Max bodr.env...@gmail.com wrote: Hi, I'm trying to implement the capability to text extraction from images (TIF/PDF) on Google App Engine. Has anyone had success with this? Is the best option to utilize a web service? I was able to find OCRWebService.com, but that only has a SOAP interface and not REST. I found OCR Terminal (http://www.ocrterminal.com/partnerships/api.cgi), but I'm unable to find any specifics on how it works. I have tried to use Google Docs, but the OCR engine there was unable to read any of my images. Finally, I was able to get Asprise working locally, but it is only distributed in native libraries (plus it is very expensive). Has anyone had success with this? thanks! -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Callback URL Handling
405 is a method not allowed error. Is your application throwing the 405? On Thu, Aug 5, 2010 at 3:56 PM, compeng4lf juan91...@comcast.net wrote: I am having trouble with the callback URL in my application. I successfully authenticate on twitter, but then on the callback i get a 405 ERROR. I am trying to grab the verifier in the url using: verify = req.getParameter(oauth_verifier); which is found in my accesstokenservlet. Does anyone have an idea on how to properly retrieve and store the verifier? -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.