[appengine-java] Re: HttpServletRequest.getLocalPort() returns 0

2009-08-25 Thread Filipe AlvesFerreira
Thank you Gabriel. Obrigado/FilipeAlvesFerreira#4(1942) 2009/8/25 Gabriel Moreira gabrielmore...@gmail.com Im trying this on google appengine: public class MyFilter implements javax.servlet.Filter { public void doFilter(ServletRequest servletRequest, ServletResponse response,

[appengine-java] Not able to upload application after adding com.google.gdata.DisableCookieHandler in appengine-web.xml file

2009-08-25 Thread Partha
I am using contact api in my application. According to google documents I have to add the following property in appengine-web.xml file see the link http://code.google.com/intl/zh-HK/appengine/kb/java.html#googledata system-properties property name=com.google.gdata.DisableCookieHandler

[appengine-java] Accept-Encoding doesn't seem to get passed to the application

2009-08-25 Thread Philippe Marschall
Hi I'm getting really strange behavior here where it looks as if the Accept-Encoding wouldn't get passed to the application. My request looks like this: GET /the/url HTTP/1.1 Accept-Encoding: gzip User-Agent: Jakarta Commons-HttpClient/3.1 Host: myapp.appspot.com Cookie: the cookie However the

[appengine-java] Re: Probleme with Relationships managed by JDO

2009-08-25 Thread midomarocain
any help please --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send

[appengine-java] Getting Started: Using JSPs

2009-08-25 Thread Valentino Hankypants
hello together, i'm starting with development of google AppEngine. i tried to go through the getting started in the user doc. but i come to a problem. Up to this point i do not have problems with the getting started tutorial. my problem: in the tutorial is mentioned that the guestbook app will

[appengine-java] Re: Getting Started: Using JSPs

2009-08-25 Thread Alexander Arendar
Make sure you are using JDK, not just a JRE so your jsps can be compiled. Also JSP editor in Eclipse is not very clever :) Sometimes it marks valid jsps as corrupted. Closing and reopening editor sometimes helps. On Tue, Aug 25, 2009 at 12:30 PM, Valentino Hankypants f.hirs...@gmx.atwrote:

[appengine-java] Re: Getting Started: Using JSPs

2009-08-25 Thread Valentino Hankypants
no changes. i copied the file javac.exe from C:\Program Files\Java\jdk1.6.0_14\bin to C:\Program Files\Java\jre6\bin. then i closed eclipse opened it, nothing changed On 25 Aug., 11:38, Thanasis t.deleni...@gmail.com wrote: Hi, Copy file javac.exe from your jdk/bin directory to the

[appengine-java] Re: Getting Started: Using JSPs

2009-08-25 Thread Thanasis
Hmm... I had the same problem with you - I got this solution from other threads reporting the same error and it worked for me. I don't remember doing anything else... On Aug 25, 12:48 pm, Valentino Hankypants f.hirs...@gmx.at wrote: no changes. i copied the file javac.exe from C:\Program

[appengine-java] Re: Compile and execute at runtime

2009-08-25 Thread Albert Attard
Hi Toby: Thanks for you feedback. I've did a small prototype: http://ask-me.appspot.com/ . It's working fine locally, but it's throwing the following exception when executed on the app-engine: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call

[appengine-java] Re: Getting Started: Using JSPs

2009-08-25 Thread Valentino Hankypants
thx a lot albert, your description in the blog solved my problem!!! On 25 Aug., 12:13, Albert Attard albertatt...@gmail.com wrote: Hi: All you need to do is configure eclipse to use the JDK instead of the default jre. See this blog for

[appengine-java] Differences AppEngine Datastore and Azure Storage

2009-08-25 Thread Valentino Hankypants
Helll, i allready worked with azure and deployed some apps using storage and other technologies from windwos azure services platform. so my question, can anybody give me a short overview (or a link) where the differences between azure storage and AppEngine Datastore is clearly explained?

[appengine-java] Unicode to ASCII equivalence (java.text.Normalizer not supported by app-engine VM)

2009-08-25 Thread Cornel
Hello! I need to save unicode strings and also create a ascii version of them (to make a keyword list for searching purposes) such as: Animale, cu excepţia peştelui = [ANIMALE, EXCEPTIA, PESTELUI] For that i need the following conversions: ţ - t, ş - s and so on. My first approach was the

[appengine-java] Re: Retrieving child records using entity group parent's primary key.

2009-08-25 Thread java
Hello we have similar type of problem and code is there is company class model. public class Company implements ICompany { private static final long serialVersionUID = 1L; @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id;

[appengine-java] Re: java.rmi.server.UID Error

2009-08-25 Thread Icarus
Hi Jason, Sorry about the delay... I didn't get a mail regarding response to this thread. The fix I made was : 1. Within the Jena distribution, cd to src/com/hp/hpl/jena/rdf/model, modify the constructor so that it does not use the offending rmi UID generator public AnonId() { if

[appengine-java] Tutorial Java em Português

2009-08-25 Thread Almir F. Rivas Jr
Pessoal, Alguém pode me ajudar indicando um tutorial onde mostre como trabalhar com o Google App Engine usando Java em português. Atenciosamente, Almir F. Rivas Jr Sincro Tecnologia (34) 9944-5791 --~--~-~--~~~---~--~~ You received this message because you are

[appengine-java] Re: JDO request IN

2009-08-25 Thread datanucleus
Right, you won't be able to do that.  The underlying datastore doesn't support OR queries (and IN - OR). Yes you *can* do that. I already pointed out the query above, which the user seems to ignore for some reason. IN in Java equates to collParam.contains(theField) i.e this value is IN this

[appengine-java] Re: JDO request IN

2009-08-25 Thread datanucleus
Yes you *can* do that. I already pointed out the query above, which the user seems to ignore for some reason. IN in Java equates to collParam.contains(theField) i.e this value is IN this collection. Obviously that assumes that Google have implemented such a thing, though they could easily

[appengine-java] Re: Any example for JPA One-To-Many relationship

2009-08-25 Thread objectuser
It's not really any different in JPA and JDO, so the docs should cover what you want. http://code.google.com/appengine/docs/java/datastore/relationships.html I also wrote a few things that used JPA if it's useful (under the Modeling section): http://objectuser.wordpress.com/google-app-engine/

[appengine-java] How to query multivalued properties in low-level Datastore API?

2009-08-25 Thread ted stockwell
Hi All, I am using the low-level Datastore API in my application. Suppose I store a bunch of 'Recipe' entities, where each entity has a multivalued property named 'ingredients, and the ingredients property is a set of Strings. For instance: Entity recipe= new Entity(recipe, tater tot

[appengine-java] Re: Issue to retrieve the data

2009-08-25 Thread rohit jain
Hello can you give me some idea how can I do this. On Tue, Aug 25, 2009 at 6:07 PM, datanucleus andy_jeffer...@yahoo.comwrote: I want to retrieve company info with category details in single object how implement in jdo . because in hibernate it joined automatically and get details in

[appengine-java] Re: Datanucleus + Eclipse problems

2009-08-25 Thread Jason Parekh
Hi, Would you be able to post a quick sample code snippet that shows your behavior? Thanks, jason On Mon, Aug 24, 2009 at 11:22 PM, linhares linha...@gmail.com wrote: I have the same problem. And in my case it´s related to the use of the @PersistenceAware annotation. If I don´t use it, it

[appengine-java] Re: JDO usage of setRange

2009-08-25 Thread Toby
Hello Ennio, I am hiting the same problem. I have only 9000 records. As you said I can retrieve them in a single call. But since I do processing which each of them I need to split it up in order not to use to much time. So I thought it would be good to use the setRange. But at a certain

[appengine-java] Re: How to query multivalued properties in low-level Datastore API?

2009-08-25 Thread ted stockwell
Thanks much. One more question... If I want to select recipes that have both hamburger and olives should I just add two filters??? Query query = new Query(recipe); query.addFilter(ingredients, Query.FilterOperator.EQUAL, hamburger); query.addFilter(ingredients,

[appengine-java] Request to update jars in http://google-maven-repository.googlecode.com

2009-08-25 Thread David
Hi, 1.2.2 had been released more than a month ago but was not uploaded on the repository. The latest in there is 1.2.1 Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: Performance optimization of insert into datastore (cpu_ms/api_cpu_ms showing red)

2009-08-25 Thread Juraj Vitko
Just curious - are the writes cheaper now, or is it still the same? On Aug 25, 8:09 am, sree sraj...@gmail.com wrote: Thanks for your reply. My app id is my-sree.appspot.com. I have only 1 index defined on a date property. We get 6.5 hours of cpu time each reset on a daily basis. Do both

[appengine-java] Re: How to query multivalued properties in low-level Datastore API?

2009-08-25 Thread Vince Bonfanti
Yes, adding multiple filters (with any FilterOperator) does an AND operation. Vince On Tue, Aug 25, 2009 at 10:51 AM, ted stockwellemorn...@gmail.com wrote: Thanks much. One more question... If I want to select recipes that have both hamburger and olives should I just add two filters???  

[appengine-java] datastore request returning the previous result...

2009-08-25 Thread John V Denley
Ive implemented the stockwatcher application and have adjusted it so that it stores names and phone numbers. That all seems to be working ok, however Ive now implemented a get function which looks for a name, and returns a phone number. However, whats happening is that the first search i do

[appengine-java] Developing JPA app - data not persisting

2009-08-25 Thread hg
Hi, I am developing on my local computer using EclipseEE. I created a persistent class following the instructions in the how to. When I run the code to persist the object em.persist(this);, I don't get any errors, but I don't see any data anywhere. When I try to query, I do not find any objects

[appengine-java] Re: Request to update jars in http://google-maven-repository.googlecode.com

2009-08-25 Thread Philippe Marschall
On Aug 25, 6:37 pm, David david.yu@gmail.com wrote: Hi, 1.2.2 had been released more than a month ago but was not uploaded on the repository. The latest in there is 1.2.1 +1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[appengine-java] Re: Request to update jars in http://google-maven-repository.googlecode.com

2009-08-25 Thread Marcel Overdijk
+1 On Aug 25, 8:00 pm, Philippe Marschall philippe.marsch...@gmail.com wrote: On Aug 25, 6:37 pm, David david.yu@gmail.com wrote: Hi, 1.2.2 had been released more than a month ago but was not uploaded on the repository. The latest in there is 1.2.1 +1

[appengine-java] Re: datastore request returning the previous result...

2009-08-25 Thread John V Denley
OK, after a little further investigation Ive confirmed now that the client side function is taking in the correct search name, the problem is certainly that the server side appears to be receiving the previous request. Ive changed the returns in both functions such that i now get the following:

[appengine-java] Re: Accept-Encoding doesn't seem to get passed to the application

2009-08-25 Thread Philippe Marschall
On Aug 25, 8:31 pm, Martin Caslavsky mcaslav...@gmail.com wrote: Hi, App Engine does automatic gzip compression, so that may be the reason why it removes the header before it passes request to an application. That's a bit uncool, is there a way to disable this? I store my content in gzip

[appengine-java] Re: Owned relationship with generated parent key

2009-08-25 Thread Jason (Google)
Hi John. No, you can persist both entities in a single transaction. Just follow the example in the documentation: http://code.google.com/appengine/docs/java/datastore/relationships.html#Owned_One_to_One_Relationships If you create new ContactInfo and Employee objects, then associate the objects

[appengine-java] Re: How to model this scenario

2009-08-25 Thread Jason (Google)
Hi Sam. It may be somewhat redundant, but if you include a list property with the two endpoints (in addition to the from and to properties), you can do a reasonably efficient query to find all edges connected to A. Or, if you know in advance which nodes you are interested in, you can keep track of

[appengine-java] Re: Are 1.2.2 sdk jars available in a public maven repository?

2009-08-25 Thread Jason (Google)
It looks like you already found this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/6130b425d90e0e6a In short, no, Google does not provide a Maven repository although there are user-provided Maven descriptors available. - Jason On Sat, Aug 22, 2009 at 12:45

[appengine-java] Re: DatastoreService.put(IterableEntity) success/failure indicators

2009-08-25 Thread Jason (Google)
Hi Vince. If the put completes, without throwing an exception, all entities are guaranteed to be persisted to the datastore. But if you don't use transactions and the put call fails, some entities may be written. Using transactions allows you to rollback in case the call fails. - Jason On Fri,

[appengine-java] JPA support for enum's

2009-08-25 Thread Larry Cable
Has anyone managed to get an enum persisted via JPA? I can't I get an exception from the runtime, no such method init() V, which I take to mean that it cannot locate a public no-args constructor for the enum ... go figure ... :( --~--~-~--~~~---~--~~ You received

[appengine-java] Performance implications of embedded classes

2009-08-25 Thread fx.mueller
Hello, I just went through the getting started documents and have a question regarding embedded classes, which I haven't found discussed elsewhere (maybe because it is trivial ;-): What are the performance implications of defining a class as embedded? Is it the same as if the fields of the

[appengine-java] Re: Bulk update throws exception

2009-08-25 Thread Larry Cable
I have exactly the same problem, I instantiate a number of @Entity objects (all of the same type) persist them, and flush them in the context of the same transaction. Since they are all of the same type, and their are no relationships (although there is an @Embedded class/field) I would imagine

[appengine-java] Re: datastore request returning the previous result...

2009-08-25 Thread John V Denley
A, after some investigation, looks like what im doing is initiating an asynchronous request to the server, and then not waiting long enough for the reply, hence why im getting the reply whenever i make the second request Can anyone tell me how i can make sure i get the reply ive asked

[appengine-java] Re: Compile and execute at runtime

2009-08-25 Thread Toby Reyelts
Hey Albert, That code should actually work ok, but you've managed to tickle a bug in our runtime. I've filed an issuehttp://code.google.com/p/googleappengine/issues/detail?id=2028for you here. The fix for this probably won't make the next release, but it should come shortly thereafter. On Tue,

[appengine-java] why is my asynccallback not working?

2009-08-25 Thread John V Denley
The following code returns null the first time it is run, and then returns the previous request on the second time it is called can anyone see whats going wrong? Surely it should wait until it gets the server response before returning a value? or am I missing the point here? private

[appengine-java] Re: Bulk update throws exception

2009-08-25 Thread Larry Cable
h' ... so it would seem that 2 or more entity (instances) persisted in the same tx cause this error ... this cannot be so ... how is the mapping from instance to entity (group) made? On Aug 25, 2:33 pm, Larry Cable larry.ca...@gmail.com wrote: I have exactly the same problem, I instantiate

[appengine-java] Re: datastore request returning the previous result...

2009-08-25 Thread John V Denley
I have had a reply to another thread which indicated that I had misunderstood how the coding for ths async call was working... I include the explaination below for completeness, incase anyone else has the same problem. and finds this thread rather than my other thread!! private String

[appengine-java] Re: Can't persist objects -- impossible method is called

2009-08-25 Thread Abe Parvand
Hey I'm still getting this error. Here is my entity code. This is very frustrating and I have no idea how to resolve. Please help me out. package com.todoroo.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Enumerated; import

[appengine-java] Re: Performance implications of embedded classes

2009-08-25 Thread Iain
Embedding is the same as defining the fields on the parent. Assuming you need the embedded data most of the time, and it is small, I think you gain a performance boost as to load the data you only load one entity, not two. This assumes the embedded class is small in size, and you require its

[appengine-java] Re: Unable to upload

2009-08-25 Thread Randall
This could be complicated. My ISP (mstar) recently partnered with google and so I ended up with a google account and gmail with the account name randalljohn...@mstar.net (my email account name). Last week I signed up for an App Engine account using the same username but a different password. I

[appengine-java] Local server works, Appspot fails with java.lang.StackOverflowError when Spring AOP is enabled

2009-08-25 Thread Gabriel Moreira
My app is using Spring 3.0. If i disable Spring AOP, my app runs fine both on local and appspot. But when i enable Spring AOP (tested with advice or aspects), in local runtime everything is fine and works, but in appspot im getting this error: java.lang.StackOverflowError at

[appengine-java] Re: Model to Optimize Queries

2009-08-25 Thread Sam Walker
Any ideas, anyone? On Sun, Aug 23, 2009 at 11:18 PM, Sam Walker am.sam.wal...@gmail.comwrote: Also, I get this error: *Can only filter by properties of a sub-object if the sub-object is embedded.* when I tried to access article while setting a fitler: query.setFilter(reviewer == reviewerParam

[appengine-java] Re: 401 Unauthorized Must authenticate first. I can't upload my project

2009-08-25 Thread Cyrano
I finally solved the problem. For some reason, the date/time setting on my windows was incorectly set to a future point in time. Setting the correct date/time solved the issue. -Cyr On 23 Aug., 18:35, Cyrano dirk_ehrh...@yahoo.de wrote: As I have the same problem, I take the freedon to respond

[google-appengine] Re: NEED HELP about _ah/admin

2009-08-25 Thread Allen
Thanks of your help. I just fix it. :) what ever, I just don't want every one can visit database by such well-known URL _ah/admin. So I change it. On Aug 25, 12:13 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Allen, On Mon, Aug 24, 2009 at 4:37 PM, Allen allen.lu...@gmail.com

[google-appengine] Re: Using Twitter4j in AppEngine

2009-08-25 Thread Some Dude
Same here. I am completely confused on how to use twitter4j + app engine + gwt! Anyone? On Sunday, August 23, 2009, Jeune jose.asunc...@gmail.com wrote: Hi all! Has anyone of you tried using twitter4j in appengine? I am a bit stuck and the code examples on their website isn't helping me

[google-appengine] Request Slow Down

2009-08-25 Thread pythono
Strange issue. Usually my latency for a simple write HelloWorld request is around 10 cpu ms. The last two versions (which didn't see major changes) have been up to 55ms for the same request. Where should I look to determine what is slowing down these requests? When I use the older versions,

[google-appengine] Re: Datastore DB Design

2009-08-25 Thread Gary
Great, This is how I've done it, I've used the filter to do some testing and with only 32,424 values and appoximately 500,000 keywords a search is taking 3000ms CPU - will this stay the same as my datastore expands to 4.5 million values and potentially 100 million keywords? Gary On Aug 18,

[google-appengine] Re: First __key__?

2009-08-25 Thread Nick Johnson (Google)
Hi Devel63, On Tue, Aug 25, 2009 at 4:32 AM, Devel63 danstic...@gmail.com wrote: It would make my paging code a lot cleaner if there were a way to indicate 'the first key'. Is there? Like db.Key.from_path (MyModel.kind(), ) when using key_names? That way, I could compile my GQL and just

[google-appengine] Re: Help with storage quota reading

2009-08-25 Thread Nick Johnson (Google)
Hi Jai, On Tue, Aug 25, 2009 at 4:25 AM, Jai sharma...@gmail.com wrote: Hi Nick, The dashboard for a non-billable account says: Stored Data 13% 13% 0.13 of 1.00 GBytes and this page says: http://code.google.com/appengine/docs/quotas.html#Datastore Daily Limit on data

[google-appengine] Re: Datastore DB Design

2009-08-25 Thread Philippe
another option could be: Record(db.Model): value = db.StringProperty() Keyword(db.Model): value = db.StringProperty() #this value is not necessary, but I do not know if you can have a Model without properties the idea is that for one Record, you input several keywords has record

[google-appengine] Re: Request Slow Down

2009-08-25 Thread nickmilon
around 10 cpu_ms for a hot start is my observation while a cold start consumes around 100 as I have noted here : http://gaengine.blogspot.com/2009/08/cpu-and-latency-of-bare-bones.html On Aug 25, 10:43 am, pythono arjun.va...@gmail.com wrote: Strange issue.  Usually my latency for a simple

[google-appengine] Re: https support

2009-08-25 Thread J
I have an idea, throwing it out to this group to see if it is sound. What if there were a service in the cloud that served as an https proxy? https://www.abc.com would resolve to this service and its sole job would be to be a proxy for https://abc.appspot.com. Well, there is the performance

[google-appengine] Re: Datastore DB Design

2009-08-25 Thread Gary
Thanks Phillippe, This sounds like a better way but there will also be a requirement to list the keywords relatd to a value, is that possible? Is it possible to do a search on the Keyword parent? Thanks, Gary On Aug 25, 9:18 pm, Philippe philippe.cr...@gmail.com wrote: another option could

[google-appengine] Re: Question on increasing performance..

2009-08-25 Thread Nick Johnson (Google)
On Mon, Aug 24, 2009 at 6:28 PM, Devel63 danstic...@gmail.com wrote: If you only want the 3rd object, do you think it's faster -- Just do a normal fetch(3) -- Do a keys_only fetch(3), then a get of the 3rd key? Neither - use fetch(1, offset=2). -Nick Johnson On Aug 23, 4:41 pm,

[google-appengine] Re: https support

2009-08-25 Thread Nick Johnson (Google)
On Tue, Aug 25, 2009 at 12:53 PM, J j.si...@earlystageit.com wrote: I have an idea, throwing it out to this group to see if it is sound. What if there were a service in the cloud that served as an https proxy? https://www.abc.com would resolve to this service and its sole job would be to be

[google-appengine] Re: Datastore DB Design

2009-08-25 Thread Gary
Hi, This solution doesn't seemto work because . in addition, the key_name of a keyword must be the actual keyword isn't possible as I will have duplicate keywords and the key name is actually just used as part of the key so data gets converted to a string such as

[google-appengine] how to grab the header row of a spreadsheet

2009-08-25 Thread Dave
Apologies if I've posted this twice, but I don't see my previous posting anywhere. I am using GetSpreadsheetsFeed to print out a spreadsheet row by row. This works fine for every row except the first one (the header row), which I'd also like to print out. How can I get access to the contents of

[google-appengine] Re: Why am I getting a regular Timeout?

2009-08-25 Thread Wooble
Using a slice of the query treated as an iterable is almost certainly a bad idea. Try rewriting as: listings = Listing.all().filter(created =, str(now)).order('- created').fetch(10) On Aug 24, 5:03 pm, Nefarious mike...@gmail.com wrote: Hi all, I have an incredibly simple query that looks

[google-appengine] Re: synthentic keys - performance implications?

2009-08-25 Thread Nick Johnson (Google)
On Mon, Aug 24, 2009 at 6:44 PM, Jeff Enderwick jeff.enderw...@gmail.comwrote: thanks - I got bit by those __init__ nuances over the weekend. I ended up passing an optional flag to the __init__ to say this is really a new() vs a datastore reconstitution. I del the optional flag from kwargs

[google-appengine] Re: Developer invitation email not sent inside domain

2009-08-25 Thread Joshua Smith
After going through this particular hell, let me save you some time: Do not attempt to use a google apps account in a GAE application that uses google accounts. Inscrutably, google treats google app accounts and google accounts completely differently. If you try to use them together,

[google-appengine] Re: Entities disappearing from index

2009-08-25 Thread Rodrigo Moraes
this happened again today. my user reported: i can find it and access it after a google search, but it is not listed in the page. he referred to another entity that disappeared from the index. when accessing the entity's page linked in google, the system uses the entity id, so that's ok. but when

[google-appengine] Re: SMS Verfication Troubles

2009-08-25 Thread Nick Johnson (Google)
Hi, If you are having trouble with SMS verification, or want an additional account activated, please fill out the following form: http://appengine.google.com/waitlist/sms_issues (This is from the following FAQ http://code.google.com/appengine/kb/sms .html#error ) Once you fill out this form,

[google-appengine] Re: Datastore DB Design

2009-08-25 Thread Philippe
sad, I did not think about that :/ On Aug 25, 2:49 pm, Gary gbre...@gmail.com wrote: Hi, This solution doesn't seemto work because . in addition, the key_name of a keyword must be the actual keyword isn't possible as I will have duplicate keywords and the key name is actually just used

[google-appengine] Re: renaming / destroying an appengine ?

2009-08-25 Thread Nick Johnson (Google)
Hi Jag, On Mon, Aug 24, 2009 at 12:02 AM, j...@red91.com indieh...@gmail.com wrote: hi, i know it's pretty impossible to delete an appengine app once you've created one, but is there any way to rename it (the application identifier) ? No. also is there any way to change the

[google-appengine] Re: Inconsistent 404

2009-08-25 Thread Michael
I was trying to do something a bit outside the box using bits and pieces of sample code without a good understanding(shortcuts are my nemesis). I will recount here in case it may have use elsewhere and someone can let me know if show a misunderstanding of best practices. Easily muddleheaded, I

[google-appengine] Re: https support

2009-08-25 Thread Peter Petrov
On Aug 25, 3:27 pm, Nick Johnson (Google) nick.john...@google.com wrote: I believe Amazon's EC2 instances start at $0.10 per hour, not $0.01. You could serve many domains with one machine, potentially, but I'm not sure if Amazon will let you associate multiple elastic IPs with the same EC2

[google-appengine] Re: Why am I getting a regular Timeout?

2009-08-25 Thread Nefarious
Cool, my lack of python knowledge strikes again. I will give that a try! On Aug 25, 7:36 am, Wooble geoffsp...@gmail.com wrote: Using a slice of the query treated as an iterable is almost certainly a bad idea.  Try rewriting as: listings = Listing.all().filter(created =, str(now)).order('-

[google-appengine] Re: synthentic keys - performance implications?

2009-08-25 Thread Jeff Enderwick
For posterity, one such gotcha is a case where Model instances work fine, but Expando instances can loose their additive attributes coming back out of the datastore. Switched to factory @staticmethod, and all is good now... On Tue, Aug 25, 2009 at 6:32 AM, Nick Johnson

[google-appengine] EARN MONEY $1000-25000 PER MONTH

2009-08-25 Thread gurudon s
EARN MONEY $1000-25000 PER MONTH TAKE SIMPLE ONLINE SURVEYS CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO * http://www.AWSurveys.com/HomeMain.cfm?RefID=sangeethap77

[google-appengine] Yahoo denying access to pipes rss feed from Google App Engine urlfetch

2009-08-25 Thread Bernard Maltais
My Google App Engine that fetch rss data from yahoo pipes (example: http://pipes.yahoo.com/pipes/pipe.run?_id=11f0a5c9fefd8add01e7759faafcb8f7_render=rss) are getting rejected by Yahoo with the following error: Sorry, Unable to process request at this time -- error 999. Yahoo! Unfortunately we

[google-appengine] code update works but cannot auth to dashboard (google support?)

2009-08-25 Thread g...@rescuetime.com
We created an appengine (python) app under application name rescuetime-gae with google apps user (for our google apps account) g...@rescuetime.com. We are able upload / update code no problem. However, when trying to get to dashboard our app isn't associated with this user and we can't get to it

[google-appengine] App Engine for existing PHP5 applications

2009-08-25 Thread ramanathan
Hi, I'm looking for how changes required in the code level, If we try to deploy our PHP/MySQL application in app engine ? Is App engine good for legacy projects or only to new apps development? Thanks Ram --~--~-~--~~~---~--~~ You received this message because

[google-appengine] Can't add indexes for Java AppEngine

2009-08-25 Thread Jayson Falkner
Here is kind of an odd issue that I'm hoping someone can help with. Google devs? Does the current datastore-indexes.xml files work with the Java AppEngine SDK? I've tried manually setting it and using the auto- generated index. Nothing seems to work on Google's server. Everything works fine on

[google-appengine] Issue to retrieve the data

2009-08-25 Thread java
there is company class model. public class Company implements ICompany { private static final long serialVersionUID = 1L; @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private String name;

[google-appengine] Webworker definition explanation

2009-08-25 Thread carlsdb
Please define webworker and provide a brief explanation of how one uses a webworker. Thank you, Carl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

[google-appengine] Re: Memcache - how much space?

2009-08-25 Thread Colin
My memcache stats, expire time is 48h, non of the itemd are older than 5h, but often items that should be in the cache aren't there: - items: 8423 - bytes: 10655912 I (wrongly) assumed that i hit the size limit once i had 25mb of data in memcache, i optimized (compressed and pickled data before

[google-appengine] Pretty URLs

2009-08-25 Thread pistacchio
Hi, maybe I'm missing something from the documentation (I'm just starting), but generally, how does url handling work in GAE? Apart from the basics like --- application = webapp.WSGIApplication([('/', MainPage), ('/test', Test)]) --- that map myapplication and myapplication/test, how do I map

[google-appengine] Re: Can't add indexes for Java AppEngine

2009-08-25 Thread Jayson Falkner
Solved my own problem. Indexing works as described; however, I as uploading/updating the wrong app! J On Mon, Aug 24, 2009 at 11:25 PM, Jayson Falknerjfalk...@gmail.com wrote: Here is kind of an odd issue that I'm hoping someone can help with. Google devs? Does the current

[google-appengine] Re: Google App Engine Custom Domain Stopped Working

2009-08-25 Thread Peter Kuhar
Same problem here with http://lamp.modula.si Direct link to http://modulaliving.appspot.com/ works http://lamp.modula.si gives 404 this stopped working yesterday or today. I'm not 100% sure when. And I haven't changed anything. I tried removing this domain and adding it again to gae app and it

[google-appengine] Re: Yahoo denying access to pipes rss feed from Google App Engine urlfetch

2009-08-25 Thread Brandon N. Wirtz
You may need to create a proxy on some other domain. Yahoo gets flooded with request from AppEngine Ips. As a result there are many times a day you will get the your IP has been blocked (they say it nicer) error. You will see the same thing from some of google's own APIs You can solve this

[google-appengine] Re: Clean way to code around timeouts?

2009-08-25 Thread Devel63
Can you give an example as to how this is used? I understand the purpose, I'm just a little hazy on the calling syntax. On Aug 24, 5:25 am, Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com wrote: You can make it into a decorator which will make it easier for your functions to

[google-appengine] Re: https support

2009-08-25 Thread J
Sorry, I was referring to the $0.01/hr that Amazon charges for reserving an IP address, thinking that a the proxy server was essentially serving the same function. On Aug 25, 8:27 am, Nick Johnson (Google) nick.john...@google.com wrote: On Tue, Aug 25, 2009 at 12:53 PM, J

[google-appengine] simple datastore question

2009-08-25 Thread Juraj Vitko
There is a KindA with 1,000 entities, and a KindB with 1,000,000 entities. Query is run to find 10 entities in each kind, let's say using an equality filter. (Assume that there is exactly 10 entities matching the filter, in either kind.) How many times more Datastore-CPU-time expensive is the

[google-appengine] Re: Question on increasing performance..

2009-08-25 Thread Devel63
Makes sense, but in this case I may need to wrap past the end of the collection, so I need to know how many entities satisfied the request before the end of the collection, so I know how many to skip over from the beginning. So, I still have the original question... On Aug 25, 5:32 am, Nick

[google-appengine] Re: App Engine for existing PHP5 applications

2009-08-25 Thread Ritesh Nadhani
Hello ramanathan Google App Engine does not support PHP (yet). Hopefully soon. If you have your legacy code in one of the supported Java or Python frameworks, than you can use it. But keep in mind, there is no MySQL (and probably will never be). You have to use Google's datastore. On Mon, Aug

[google-appengine] Re: simple datastore question

2009-08-25 Thread djidjadji
No difference, if both objects have the same number and type of attributes. The index scan time is independent of the number of entries in the index. 2009/8/25 Juraj Vitko juraj.vi...@gmail.com: There is a KindA with 1,000 entities, and a KindB with 1,000,000 entities. Query is run to find

[google-appengine] Re: Clean way to code around timeouts?

2009-08-25 Thread 'Αλκης Ευλογημένος
@retry_on_timeout(retries=10, secs=0.2) def some_idempotent_function(): # do stuff If you do not give retries or secs it defaults to 3 retries with 1 sec starting delay. The delay is exponential, it doubles after each retry. 2009/8/25 Devel63 danstic...@gmail.com Can you give an example as

[google-appengine] Re: App Engine for existing PHP5 applications

2009-08-25 Thread Brandon N. Wirtz
Using Java you can Emulate php for some things. But in most cases applications are not plug and play. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appeng...@googlegroups.com] On Behalf Of Ritesh Nadhani Sent: Tuesday, August 25, 2009 10:52 AM To:

[google-appengine] Re: Can not retrieve data from rss feed

2009-08-25 Thread Jeff S (Google)
Hi Digester, Apologies for the slow reply, but I think we'll need a bit more details to be able to help. What is the app ID for your aggregator? Could we see some of your source code? Do your logs contain any errors? Thank you, Jeff On Wed, Aug 19, 2009 at 8:15 PM, Digester

[google-appengine] Re: Google App Engine Custom Domain Stopped Working

2009-08-25 Thread Jeff S (Google)
Hi Pete, I was able to access http://lamp.modula.si, are you still experiencing this issue? Thank you, Jeff On Tue, Aug 25, 2009 at 8:32 AM, Peter Kuhar peter.ku...@gmail.com wrote: Same problem here with http://lamp.modula.si Direct link to http://modulaliving.appspot.com/ works

[google-appengine] Re: spreadsheet api question # 2 - how can I quickly query for the number of rows in a spreadsheet?

2009-08-25 Thread Jeff S (Google)
Hi Dave, You might have found this already by now, but the worksheet feed contains a rowCount and a colCount for each worksheet entry. For example see: http://code.google.com/apis/spreadsheets/docs/3.0/developers_guide_protocol.html#CreatingWorksheets Happy coding, Jeff On Sat, Aug 22, 2009

[google-appengine] Changing IdGeneratorStrategy to INCREMENTAL

2009-08-25 Thread Junda
Hi, When I change an existing property from IdGeneratorStrategy.IDENTITY to IdGeneratorStrategy.INCREMENTAL, there is an exception: no available value generator for incremental @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.INCREMENTAL) private Long id; Is incremental

[google-appengine] did you forget to inherit a required module? about JDO

2009-08-25 Thread lily
Compiling module com.Demo3 Refreshing module from source Validating newly compiled units Removing units with errors [ERROR] Errors in 'file:/D:/eclipasejava/demo3/src/com/ client/PMF.java' [ERROR] Line 7: No source code is available for type

  1   2   >