[appengine-java] Questions about JDO/JPA versioning

2010-01-19 Thread Brandon
Hi, Consider an example where class A has a child property of class B, and B has a property title, as follows: @PersistenceCapable @Version(... field-name=version) Class A { protected long version; @Persistent protected B child; } @PersistenceCapable Class B {

Re: [appengine-java] Status Of Issue 1899 - Async Http Requests For Java

2010-01-19 Thread John Patterson
The task queue can allow you to run synchronous operations in parallel. Perhaps you could solve your problem by firing off many tasks each which fetches a url stores the result in memcache and increments a counter. From your original request keep polling the value of that counter until

[appengine-java] Re: duplicated entitymanagerfactory?

2010-01-19 Thread asianCoolz
I already tried all posibilities, if i commented out bean id=compass class=org.compass.spring.LocalCompassBean from .xml i able to run without error in hosted mode and production Please comment here

[appengine-java] serious java loader problem: Hello world killed for latency

2010-01-19 Thread Locke
I was testing the load times in various languages last night, as shown in another group: http://groups.google.com/group/google-appengine/browse_thread/thread/11b2f2b425e10e38 But at one point, my Java hello, world servlet was killed for taking too long to respond (10 seconds seems to be the

[appengine-java] Re: Serious datastore problem

2010-01-19 Thread Max
Thank you! I will try it. I how found something wrong I had ascending index and I changed it to descending index. I need both but I had only one in datastore-indexes.xml But Datastore Indexes is showing both as Serving May be I should delete index and create it again. How do I do it? Thanks,

[appengine-java] Deploy from separated resources

2010-01-19 Thread dominity
Hi, guys. I've got one simple question. There is team of developers that creates any kind of web application. Web application is hosted on GAE. Team's members are from different locations. Any member of team can deploy new version of app. How should they behave in this situation to avoid version

Re: [appengine-java] Deploy from separated resources

2010-01-19 Thread Chau Huynh
I'm just curious how you share code among your team without using subversion? -Chau On Tue, Jan 19, 2010 at 10:38 PM, dominity domin...@gmail.com wrote: Hi, guys. I've got one simple question. There is team of developers that creates any kind of web application. Web application is hosted on

[appengine-java] Re: JDO doesn't save every modification

2010-01-19 Thread Bert Peters
Alright, here we go. Somewhere in execution, 2 dates, 4 double fields and an integer list are updated to new values. During checkup in the rest of the program, everything seems OK. Then, upon finish, at pm.close(), all updated variables are saved, except for the integer list. Enough information?

Re: [appengine-java] serious java loader problem: Hello world killed for latency

2010-01-19 Thread Don Schwarz
Can you respond privately with the app id you used to do this testing? Thanks, Don On Tue, Jan 19, 2010 at 8:25 AM, Locke locke2...@gmail.com wrote: I was testing the load times in various languages last night, as shown in another group:

Re: [appengine-java] Re: Status Of Issue 1899 - Async Http Requests For Java

2010-01-19 Thread Don Schwarz
This issue wasn't marked with the Language-Java label, so it didn't get accepted properly. I've accepted it now, and all indications are that asynchronous URLFetch support will be available in the next release. On Tue, Jan 19, 2010 at 7:35 AM, Locke locke2...@gmail.com wrote: Using the

[appengine-java] Re: Error while deploying GWT application on google app engine.

2010-01-19 Thread Anton
Hi there. Yeah thats a bit odd as web.xml looks good. But there is a walk around - just make a right click on the gwt project and select Run as - Web Application. My gwt test app has been successfuly deployed to google app engine... On 7 янв, 12:49, reena libranre...@gmail.com wrote: Hi all,

[appengine-java] the inappropriate encoding occured when store chinese characters to datastore

2010-01-19 Thread 凌志 许
In my project, I need to store chinese characters to datastore, but I tried using the following code to do it: PersistenceManager pm = PMF.get().getPersistenceManager(); Greeting e = new Greeting(许凌志,大家好,new Date (System.currentTimeMillis())); try { pm.makePersistent(e); }

[appengine-java] Re: Beginner question: one to many relationship

2010-01-19 Thread Dave
I am having the same problems of how to do this. However, I do not like Jason's solution because it seems as if I would get the book data back even if I wanted the author data only. On Jan 12, 5:58 pm, Jason (Google) apija...@google.com wrote: If you're using JDO, then just as Juan said, you can

[appengine-java] Re: Status Of Issue 1899 - Async Http Requests For Java

2010-01-19 Thread Prifl
I've actually written an asynchronous url fetcher for the java version of GAE using the proxy class. Api wise, GAE is fully ready to do asynchronous urlfetch requests, it just isn't yet exposed through an easy api. If I find the time tonight, I'll put something up on Google code. On Jan 19, 9:39 

[appengine-java] GWT Hibernate error

2010-01-19 Thread sachin
I am gettin this error when i try to run as GWT project Failed startup of context com.google.apphosting.utils.jetty.devappenginewebappcont...@102b2b6 {/,C:\code\workspaces\default\Gwtproject\war} org.springframework.beans.factory.BeanCreationException: Error creating bean with name

Re: [appengine-java] Re: Error while deploying GWT application on google app engine.

2010-01-19 Thread John Patterson
I recall an error I got from cutting and pasting a config snippet from the web. There were some unusual white-space characters at the end of each line. After I deleted each new-line and hit Enter again file parsed OK. On 19 Jan 2010, at 23:06, Anton wrote: Hi there. Yeah thats a bit

[appengine-java] Re: org.datanucleus.store.appengine.MetaDataValidator checkForIllegalChildField

2010-01-19 Thread Sekhar
Bump. Could someone from Google/DataNucleus help please? On Jan 9, 7:31 pm, Sekhar sek...@allurefx.com wrote: I'm getting a warning for an embedded child: org.datanucleus.store.appengine.MetaDataValidator checkForIllegalChildField: Unable to validate relation

[appengine-java] Re: serious java loader problem: Hello world killed for latency

2010-01-19 Thread Locke
I sent you the details via email. Elsewhere, someone has said java load times average to 525ms. I don't know how many servers compose the appengine cloud, but whatever server I'm on sure doesn't respond with that speed. I would be interested to know if there was a problem with the server I was

[appengine-java] Re: org.datanucleus.store.appengine.MetaDataValidator checkForIllegalChildField

2010-01-19 Thread datanucleus
Bump. Could someone from Google/DataNucleus help please? Nothing to do with DataNucleus; the exception comes from Google code. Issue was raised on the GAE/J plugin to not use org.datanucleus package names. -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: GWT Hibernate error

2010-01-19 Thread datanucleus
Please explain how Hibernate could possibly be used here ? That only supports persistence to RDBMS and you have no RDBMS in existence in GAE/J -- 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

Re: [appengine-java] equal rights for Java URLFetch

2010-01-19 Thread Don Schwarz
I just responded to the other thread you pinged, but I'll respond here too for completeness. I've now marked http://code.google.com/p/googleappengine/issues/detail?id=1899 as Acknowledged. It is currently on schedule to be included in the next release. If you want to help us test it out before

[appengine-java] Re: JDO doesn't save every modification

2010-01-19 Thread Bert Peters
Ok, here is the rest. Sorry about the bad problem definition: Basically, it's like this. (cp.base is an instance of the before mentioned Base class) Integer cb = this.base.getCurrentBuild(); cp.base.setBuildings(cb , this.base.getBuildings(cb) + 1);

[appengine-java] Re: JDO doesn't save every modification

2010-01-19 Thread datanucleus
Look in the log (at DEBUG level) and see if the List field is replaced by a wrapper type when you retrieve the overall object from the datastore. Alternatively, print out the getClass() of the List object before your update. If it isn't of type org.datanucleus.sco. then the error is in GAE/J

[appengine-java] Re: JDO doesn't save every modification

2010-01-19 Thread Bert Peters
The type returned is class java.util.ArrayList. Is there a possible way to fix this? On Jan 19, 8:30 pm, datanucleus andy_jeffer...@yahoo.com wrote: Look in the log (at DEBUG level) and see if the List field is replaced by a wrapper type when you retrieve the overall object from the datastore.

[appengine-java] Re: Deleting unused indices

2010-01-19 Thread George Moschovitis
On Jan 19, 3:19 pm, John Patterson jdpatter...@gmail.com wrote: You need to download the python sdk and use appcfg.py on your Java app. I am on a mac and after downloading the sdk I ran the   AppEngineLanucher and created a new app with my Java app's id then I ran appcfg.py vacuum_indexes

Re: [appengine-java] Re: Communication between multiple applications

2010-01-19 Thread Timothy Spear
I am using GraniteDS for communication from the GAE/J server to a Flex/ Flash front end. GraniteDS is opensource and supports push based messaging (I have not tested that aspect). Good luck. Tim Sent from my iPhone On Jan 19, 2010, at 2:48 PM, A1programmer derrick.simp...@gmail.com

Re: [appengine-java] Re: Memcache question

2010-01-19 Thread Ikai L (Google)
Andrei, No, this is fundamentally impossible with Memcache. Memcache values are lazily expired at GET time. When you set an expiration on a Memcache item, all you are really doing is telling Memcache to look at that timestamp whenever a read operation takes place, throwing it away if it's past

[appengine-java] Re: Serious datastore problem

2010-01-19 Thread Max
Thanks John. It worked. Is there other way to re-create index then re-insert 5 million entities each time we detect problem? We may add more indexes later. Should we re-insert everything again? Here is BeanShell script that re-inserts 500 record (5 second) per request import

[appengine-java] Re: equal rights for Java URLFetch

2010-01-19 Thread Locke
Thanks, this is great. I would be happy to help beta-test this. I'll contact you via email. each request is limited to 10 simultaneous API calls. I see no limit of simultaneous [urlfetch] API calls documented on the quotas page ( http://code.google.com/appengine/docs/quotas.html ). I only see a

Re: [appengine-java] Re: Serious datastore problem

2010-01-19 Thread John Patterson
You shouldn't need to do it again unless you change a property from unindexed to indexed. Doing so will not update the implicit index (i.e. single property index) and so any custom indexes you define will also not include it. But I remember one of the Google engineers looking into a

[appengine-java] Re: Memcache question

2010-01-19 Thread Andrei
Thanks Than i do not see reason why i have to code it instead of beeing able to set from admin web console which data to memcache and for how long On Jan 19, 3:24 pm, Ikai L (Google) ika...@google.com wrote: Andrei, No, this is fundamentally impossible with Memcache. Memcache values are

[appengine-java] One to many sample application needed on GWT

2010-01-19 Thread Dave
I have been working assiduously on a GWT project. I have implemented the stockwatcher app without problems. It's new to me to be working with JDO/JPA. I'm more in tuned to using relational DB. There are no concrete application example that deals with one to many DB. I have read some of the

Re: [appengine-java] EntityProto and Property documentation

2010-01-19 Thread Ikai L (Google)
If you're looking to use hooks but don't want to fuss with the low-level API, Max Ross posted a great article about hooks at the JDO/JPA layer: http://gae-java-persistence.blogspot.com/2009/11/case-insensitive-queries.html

Re: [appengine-java] Unable to open DataViewer

2010-01-19 Thread Ikai L (Google)
Hi there, 1. We've heard some reports related to browser cache. Try using shift-refresh on your browser or delete your cache. 2. You are not guaranteed that the ID will be sequential (1, 2, 3, 4, etc), just that it will be unique. A large reason of why this is has to do with the distributed

Re: [appengine-java] junit test fails, then works with no code change.

2010-01-19 Thread Ikai L (Google)
Can you post some code? It'd be helpful to see what you're doing. On Fri, Jan 15, 2010 at 1:01 PM, Sector7B joe.greenaw...@gmail.com wrote: Hi, I have some unit tests to test my dao. Just starting out. So I have simple tests that do crud operations. findbyid, delete, update, etc. In

Re: [appengine-java] Using a Key in a query filter

2010-01-19 Thread Ikai L (Google)
Max Ross just posted a blog post about this: http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.htmlIt sounds like you are enforcing the uniqueness constraint by encoding it as a Key -

Re: [appengine-java] Re: Deleting unused indices

2010-01-19 Thread seleronm
Hi, Incidentally, I isuue list http://code.google.com/p/googleappengine/issues/detail?id=1893 link that is also listed in the http://groups.google.com/group/google-appengine-java/browse_thread/thread/c8a7888438efeb9/cdbaeb27befcfd75 vacuum_indexes I think that the steps listed. Please try

Re: [appengine-java] Using Restlet to access datastore.

2010-01-19 Thread Jeff Schnitzer
Entities persisted with Objectify can be serialized in their entirety (including keys) through GWT-RPC, so I'd be surprised if you had any trouble using them with Restlet. I have a number of times rendered entity objects directly to JSON with JAX-RS, although there's no reason you couldn't do

Re: [appengine-java] access denied

2010-01-19 Thread Don Schwarz
Please post the full stack trace. 2010/1/19 Andrés Cerezo acerezoguil...@gmail.com I'm deploying my application in appengine but I have a problem: 1. In host mode all is ok. 2. However when I deploy my application a I get this error: java.security.AccessControlException: access denied

[appengine-java] Forwarding to Blobstore URL from existing servlet

2010-01-19 Thread akochnev
I'm trying to set up a file upload in my application based on SwfUploader (http://swfupload.org), and I'm coming to my wits end about how to proceed. I use Tapestry5 for my application (http:// tapestry.apache.org/tapestry5.1) but I think for the most part that's beside the point. First, I create

[google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread Siddharth Patnaik
Hi, Can you be little more elaborative? Do you mean that i should create another entity to store the relationship details from Tour-User and User-Tour? regards, Siddharth On Jan 19, 11:06 am, OvermindDL1 overmind...@gmail.com wrote: On Mon, Jan 18, 2010 at 10:49 PM, Siddharth Patnaik

Re: [google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread OvermindDL1
On Tue, Jan 19, 2010 at 1:32 AM, Siddharth Patnaik spatnai...@gmail.com wrote: Hi, Can you be little more elaborative? Do you mean that i should create another entity to store the relationship details from Tour-User and User-Tour? Just as you might do it with SQL actually, here, some

[google-appengine] Re: models help - simple sharding example

2010-01-19 Thread twansc...@googlemail.com
On Jan 4, 9:08 pm, Andy andywo...@gmail.com wrote: I'm new to sharding and am a little stuck on how to implement the toy problem below.  Basically I have a many-to-one relationship between a Company and Employees, and I want shards which are partitioned according to company name.  My naive

[google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread Siddharth Patnaik
Hi, I know how to do this in a RDBMS. If i were using a OR mapping framework like hibernate i would have followed your apporach. However in GAE we are not doing OR mapping at all. In java class annotations we are not at all talking about Tables/columns etc etc. is n't it? We just know about the

[google-appengine] Re: Scalability problem in GAE

2010-01-19 Thread mani doraisamy
Thanks for the link, Danny. This is the best profiling tool i have used. Well done, Guido! Will get back with the performance data for off-peak Vs peak hours. thanks, mani On Jan 17, 9:37 pm, Danny Tuppeny da...@tuppeny.com wrote: Have you identified what part of your page is taking additional

Re: [google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread OvermindDL1
On Tue, Jan 19, 2010 at 3:37 AM, Siddharth Patnaik spatnai...@gmail.com wrote: Hi, I know how to do this in a RDBMS. If i were using a OR mapping framework like hibernate i would have followed your apporach. However in GAE we are not doing OR mapping at all. In java class annotations we are

[google-appengine] Re: Scalability problem in GAE

2010-01-19 Thread mani doraisamy
I guess the reason why this is so damn good is because it gives an integrated picture across datastore, memcache and web request, without much overhead! Given that the variations are fixed (GAE's limitation of not allowing all libraries/api/rpc calls), this gives the full picture of the

[google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread Siddharth Patnaik
This is GAE mailing list. Actually i am looking for a way how to achieve Many to many relationships in GAE. Thats the reason i have posted my question here On Jan 19, 4:21 pm, OvermindDL1 overmind...@gmail.com wrote: On Tue, Jan 19, 2010 at 3:37 AM, Siddharth Patnaik spatnai...@gmail.com

[google-appengine] Re: Selling App Engine Apps

2010-01-19 Thread bFlood
hi andy openid - I really wish Google would just build support for FriendConnect directly into GAE. I don't have a good answer for you right now, maybe someone else has done this already. that being said, Nick built the very useful AEoid plugin: http://bit.ly/75CEy5 remote disable - there's

Re: [google-appengine] Google App Engine won’t rec ognize facebook package unless I rename it

2010-01-19 Thread Nick Johnson (Google)
Hi, On Thu, Jan 14, 2010 at 3:29 PM, Andrew Bialecki andrew.biale...@gmail.comwrote: I'm trying to intergrate Facebook Connect into an GAE app. I've got a basic folder structure like so: /gae-root /myapp /templates /etc app.yaml settings.py and I tried to

Re: [google-appengine] Blobstore API Feedback

2010-01-19 Thread Nick Johnson (Google)
Hi Piotr, 2010/1/17 Piotr Sikora piotr.sik...@frickle.com Hello, lately I've been playing around with Blobstore and I believe that it misses few critical features: 1. MD5/SHA1 integrity checksums. This is a *MUST*. All competing services (S3, Nirvanix, etc) provide ways to: - get checksum

Re: [google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread OvermindDL1
On Tue, Jan 19, 2010 at 7:32 AM, OvermindDL1 overmind...@gmail.com wrote: On Tue, Jan 19, 2010 at 6:09 AM, Siddharth Patnaik spatnai...@gmail.com wrote: This is GAE mailing list. Actually i am looking for a way how to achieve Many to many relationships in  GAE. Thats the reason i have posted

[google-appengine] Re: question is regarding billable resources:

2010-01-19 Thread Wooble
These other quotas are not billable and can not be increased by paying for more. I believe you may be able to get more quota if you app is close to these limits by contacting Google. On Jan 13, 3:39 am, Dmitri srey...@gmail.com wrote: HI All, My question is regarding billable resources: As

Re: [google-appengine] Re: How can I describe the structure of index table?

2010-01-19 Thread Nick Johnson (Google)
Hi, On Tue, Jan 19, 2010 at 3:32 AM, kaz kazunori...@gmail.com wrote: Hi Nick, Your original assessment is correct. For more details, see this video from Google I/O 2008: http://www.youtube.com/watch?v=tx5gdoNpcZM I've seen it several months ago and saw it again today :) Yes, this time

Re: [google-appengine] Re: EntityProto instance to Model instance?

2010-01-19 Thread Nick Johnson (Google)
Hi Nickolas, On Tue, Jan 19, 2010 at 1:09 AM, Nickolas Daskalou n...@daskalou.comwrote: I've managed to get this going, with the help of the comments in this thread and Nick Johnson's blog post ( http://blog.notdot.net/2009/11/API-call-hooks-for-fun-and-profit). My hook code now looks like

[google-appengine] Bulk Loader

2010-01-19 Thread Amit Piplani
Hi, Presently bulk-loader examples work fine if working with parent entities only. So wanted to know how will be the loader class definition reflecting parent-child relationship? Will it create those entities within same entity groups? Thanks, Amit -- You received this message because you are

Re: [google-appengine] Re: onowned Many2Many relationship management - how to handle

2010-01-19 Thread Robert Kluin
Siddharth, I am not really familiar with GAE-Java, but I have a couple questions about your sample code. 1) You say the relation ship is unowned which I assume means neither entity is the parent of the other. What do you mean by start transaction? In GAE-Python entities must be in the

[google-appengine] cron job fails with no error in logs

2010-01-19 Thread ten_foot_ninja
I have a cron job that runs every 5 min, it sends emails and it always works (emails are sent to appropriate places). But every time it runs, in the cron jobs link in my app engine dashboard it says on time Failed There is no trace of any issues at all in my logs, emails are sent properly but it

[google-appengine] Built in property indexes and custom indexes

2010-01-19 Thread Lucian Baciu
If I declare a property of an entity as unindexed, does it mean that I can't use that property in custom indexes? I mean, property built in indexes can not be removed for a property that is part of a custom index? -- You received this message because you are subscribed to the Google Groups

[google-appengine] Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-19 Thread Danny Tuppeny
Hi all, According to the docs, it seems that gzip is handled automatically on App Engine. However, in the Google Webmaster Tools Site Performance section, it says to me: Enable gzip compression Compressing the following resources with gzip could reduce their transfer size by 73.3 KB:

Re: [google-appengine] Built in property indexes and custom indexes

2010-01-19 Thread Nick Johnson (Google)
Hi Lucian, On Tue, Jan 19, 2010 at 5:20 PM, Lucian Baciu lucianba...@gmail.com wrote: If I declare a property of an entity as unindexed, does it mean that I can't use that property in custom indexes? I mean, property built in indexes can not be removed for a property that is part of a custom

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-19 Thread Marc Provost
This issue driving me crazy! I have cron jobs that must run overnight and I started to see this pattern about 3-4 weeks ago. I had to run the jobs multiple times and I still have to check them every morning, because sometimes all of them failed (with the same duration as you guys). Also, I get

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-19 Thread Marc Provost
This issue driving me crazy! I have cron jobs that must run overnight and I started to see this pattern about 3-4 weeks ago. I had to run the jobs multiple times and I still have to check them every morning, because sometimes all of them failed (with the same duration as you guys). Also, I get

[google-appengine] Problem using appengine dashboard

2010-01-19 Thread socra...@ontruenorth.com
Hi, I created an app engine account and uploaded a new application from the Create New Application page. This seemed to go through okay but after doing this I got the Create New Application page again rather than seeing my new application. I tried to recreate the (same) application but got an

[google-appengine] Building a basic database using BigTable

2010-01-19 Thread Francis Joseph Tumbokon
Hello, I have recently stumbled upon GAE and its capabilities, so consider me brand new to its software/coding. I am attempting to build a very simple database utilizing BigTable. Basically I would like the application/website to prompt the user to enter some data w/ specific fields, add it to

[google-appengine] uploading 1MB file over slow connection - GAE request timeout

2010-01-19 Thread Tolick
For simplicity reasons let's assume someone tries to upload 1MB file over modem connection (56k, for example). That would take ~2 minutes which will trigger DeadlineExceededException. If someone solved the problem via standard means (without Applets or other heavy browser side components, I mean)

[google-appengine] How GAE set memcache service ip address

2010-01-19 Thread sprewellkobe
i m very curious about how GAE memcache service work? i guess developer's memcache server cound not run on separate servers, so the memcache server must have only one ipport. But the question is i donot need to set memcache server ipport in my code, how does it works? how GAE let the memcache

[google-appengine] Mail Service Quarantine

2010-01-19 Thread Grégoire Galinand
Hi, I've got a problem with Java Low Level API. This is my code who is launched in a doPost method : MailService mailServ = MailServiceFactory.getMailService(); MailService.Message mess = new MailService.Message(); mess.setSender(gregoire.galin...@mydomain.com);

[google-appengine] App Engine and Gzip

2010-01-19 Thread Flips
Hi, i am using app engine and my application serves static files and dynamic created pages. As far as I have understood the documentation google frontend should automatically return gzip'ed content if it is appropriate. But this is not the case. If I request a static html-page, I send this

[google-appengine] Re: AppEngine boot times in Ruby, Python, and Java (benchmarks)

2010-01-19 Thread Gary B
The App Engine team recently blogged about loading request performance in Java: http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html If your application has a steady stream of traffic, then loading requests are infrequent and should not contribute significantly to the

[google-appengine] detached view looses focus

2010-01-19 Thread vipul
I created new View in RCP. I detached it. After detaching when I click on the Menus/Toolbars in the RCP, This detached view looses the focus and hence Menus/Toolbars don't recognize the selection in this new view. -- You received this message because you are subscribed to the Google Groups

[google-appengine] Error 483

2010-01-19 Thread Sunoj
Hi, I am new to Python and Google Apps. I wrote the first Hello World example, it went fine and showed the output 'Hello World!' , then I changed 'Hello World!' in the python script to a different word but still my output is sticking to 'Hello World!' ... :) I have the log file to share

[google-appengine] Re: Using the Java Low-level Api, Do entity updates overwite the whole entity or only the properties that were actually modified?

2010-01-19 Thread Enrique Perez
Chris, My understanding is that all 50 properties will be updated in Entities table. In addition the index tables will be updated. This is behavior reguardless of whether you are using Low-level data API, JDO or JPA. Probably the same behvior for Python as well since this at the AppEngine

Re: [google-appengine] Mail Service Quarantine

2010-01-19 Thread Robert Kluin
Do you mean the message is being marked as a spam? Robert 2010/1/19 Grégoire Galinand gregoire.galin...@gmail.com: Hi, I've got a problem with Java Low Level API. This is my code who is launched in a doPost method : MailService mailServ = MailServiceFactory.getMailService();

Re: [google-appengine] Building a basic database using BigTable

2010-01-19 Thread Robert Kluin
Work your way through one of the getting started guides. http://code.google.com/appengine/docs/ Robert On Mon, Jan 18, 2010 at 10:51 AM, Francis Joseph Tumbokon futbolfr...@gmail.com wrote: Hello, I have recently stumbled upon GAE and its capabilities, so consider me brand new to its

[google-appengine] Re: App Engine and Gzip

2010-01-19 Thread bFlood
i've got the same issue... On Jan 19, 2:49 am, Flips p...@script-network.com wrote: Hi, i am using app engine and my application serves static files and dynamic created pages. As far as I have understood the documentation google frontend should automatically return gzip'ed content if it is

Re: [google-appengine] Problem using appengine dashboard

2010-01-19 Thread Robert Kluin
Try logging in at: https://appspot.com/a/ontruenorth.com Robert On Mon, Jan 18, 2010 at 6:52 AM, socra...@ontruenorth.com socra...@ontruenorth.com wrote: Hi, I created an app engine account and uploaded a new application from the Create New Application page. This seemed to go through

[google-appengine] Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Lucian Baciu
I have a root entity and several child entities mapped using owned one to many relationships. When a new entity group is created put operations in that entity group use reasonable amounts of CPU (1 second), but as the number of entities in that entity group increase so does the CPU used for put

[google-appengine] Re: AppEngine boot times in Ruby, Python, and Java (benchmarks)

2010-01-19 Thread Locke
It's interesting that you have java load times of 525ms. I think the load time must differ greatly between either servers or times of day or both. At any rate, 525ms load times are not something you can rely on in App Engine, even for hello world. As I have directly observed, it can take multiple

[google-appengine] Re: How GAE set memcache service ip address

2010-01-19 Thread Wooble
On Jan 19, 2:24 am, sprewellkobe sprewellk...@gmail.com wrote: i m very curious about how GAE memcache service work? i guess developer's memcache server cound not run on separate servers, so the memcache server must have only one ipport. But the question is i donot need to set memcache

[google-appengine] Re: uploading 1MB file over slow connection - GAE request timeout

2010-01-19 Thread Locke
Nick: If someone were to download a 1MB file over a 56k modem, AppEngine would kill the process every time, is that correct? On Jan 19, 1:07 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi, On Mon, Jan 18, 2010 at 10:51 AM, Tolick anatoliy.arteme...@gmail.comwrote: For

Re: [google-appengine] Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Robert Kluin
Lucian, How many entities are you batch putting at once? For those puts taking 40 _seconds_, are you putting quite a few entities at a time? How long does it take to put one entity not in a large group? How long does it take to put one entity to a large group? Robert On Tue, Jan

[google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Lucian Baciu
There is no batch, I'm only inserting one entity. For a small group (10 entities) this is the log for an insert of one entity: 883ms 1290cpu_ms 960api_cpu_ms For a large group (4000 entities) this is the log for an insert of one entity: 8724ms 44123cpu_ms 38854api_cpu_ms And it does not seem to

Re: [google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Eli Jones
What do you mean by one custom index on the string field? If you have a custom index.. it must be on more than one property of the model. How are the parent and child models defined and what are the definitions of the relevant custom indexes? That should help a lot with figuring this out. On

[google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Lucian Baciu
I have a root entity Account: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Account implements Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String title;

Re: [google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Robert Kluin
I am not familiar with the gae-java, but are those a bunch of different list properties on the Account kind definition? If so, and those lists have multiple properties, you may be suffering from an exploding index type problem. Hopefully someone familiar with GAE-java will be able to help you

[google-appengine] Re: uploading 1MB file over slow connection - GAE request timeout

2010-01-19 Thread nickmilon
Locke, Wrong ! it will not as my experience tells and Nick above is explaining Nick -- 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

Re: [google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Eli Jones
Hmm.. I code in Python.. so I'll have to read a little on how these Java datastore models work.. What does the Put() you're doing look like? What determines the values of the different Key properties in the Tasks model like: private Key attachedContact; or private Key

[google-appengine] Re: A REALLY strange problem

2010-01-19 Thread Visame
Thanks buddy! and thanks to everyone above! You'r so helpful! I want to say that I do refresh my web browser caching. and I use three different browser at that time:Firefox, Chrome and IE. Anyway, it is solved now. Thanks again! On Jan 18, 3:07 am, Danny Tuppeny da...@tuppeny.com wrote: Both

Re: [google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Eli Jones
Also, as Robert mentioned.. if you have any indexes defined on those List properties for the Account Model, that could lead to an exploding index.. I'd say you have an exploding index somewhere.. I'm just not clear on where since I don't know your program setup... and Java on App Engine isn't my

Re: [google-appengine] App Engine and Gzip

2010-01-19 Thread Niklasro.appspot.com
(dragonflybsd.org/niklas) 2010/1/19 Flips p...@script-network.com: Hi, i am using app engine and my application serves static files and dynamic created pages. As far as I have understood the documentation google frontend should automatically return gzip'ed content if it is appropriate. But

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-19 Thread Marc Provost
Hi everybody, Sorry for the double post! I wanted to let you know an issue already exists for this problem: http://code.google.com/p/googleappengine/issues/detail?id=2396. I'm still unsure if it's because we are using the API incorrectly or if this is really a bug. In the last few days, I've

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-19 Thread Marc Provost
Hi everybody, Sorry for the double post! I wanted to let you know an issue already exists for this problem: http://code.google.com/p/googleappengine/issues/detail?id=2396. I'm still unsure if it's because we are using the API incorrectly or if this is really a bug. In the last few days, I've

[google-appengine] Re: Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2010-01-19 Thread Marc Provost
Hi everybody, Sorry for the double post! I wanted to let you know an issue already exists for this problem: http://code.google.com/p/googleappengine/issues/detail?id=2396. I'm still unsure if it's because we are using the API incorrectly or if this is really a bug. In the last few days, I've

Re: [google-appengine] Re: AppEngine boot times in Ruby, Python, and Java (benchmarks)

2010-01-19 Thread Ikai L (Google)
Hi, Thanks for reporting this. I've been suspecting that something is going on with our Java applications due to just the number of reports of aggressive cycling. You've already posted in the other thread - but I'd like to invite any other developers seeing this issue to report their experience

[google-appengine] Re: uploading 1MB file over slow connection - GAE request timeout

2010-01-19 Thread Locke
Mr. Milon, Mr. Johnson explained that UPLOADS do not start your 30s counter until they complete. My question is about DOWNLOADS in which your app begins execution and THEN sends data to the user, executing all the while. Please review the RFC 2616 if you are confused. On Jan 19, 3:54 pm,

[google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Lucian Baciu
First of all, thank you both for helping me. I don't think I have an exploding index problem. Account entity has no custom indexes defined, and as far as I understand from the docs an exploding index means two or more list properties in the same custom index. No other entity in my model has two

[google-appengine] logs time stamp

2010-01-19 Thread Andrei
I live in EST time and when i look at logs they are 5 hrs ahead It's hard to read that way Is it possible to add setting that i can change from admin web console to show log times in local time? Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [google-appengine] logs time stamp

2010-01-19 Thread Eli Jones
star this issue (no need to add a comment saying yeah man!.. just star it :) ) http://code.google.com/p/googleappengine/issues/detail?id=734 http://code.google.com/p/googleappengine/issues/detail?id=734 On Tue, Jan 19, 2010 at 5:13 PM, Andrei gml...@gmail.com wrote: I live in EST time and

Re: [google-appengine] Re: Put data store operations use increasingly higher CPU as the number of entities in the entity group increases

2010-01-19 Thread Robert Kluin
Lucian, The only other thing I am wondering about is how much time it might be taking to fetch and set those reference (key) properties. Are you fetching several entities to populate those fields? I know that should not be related to the size of your entity groups, but it might be something

  1   2   >