[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread Nichole
You might want to use @Persistent(mappedBy = parent) for your Parent entity declaration in your Child entity. Owned one-to-many http://code.google.com/appengine/docs/java/datastore/jdo/relationships.html#Owned_One_to_Many_Relationships On Jun 5, 9:27 pm, Didier Durand durand.did...@gmail.com

[appengine-java] Re: Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-06 Thread Prashant
anyone ? On Mon, Jun 6, 2011 at 12:39 AM, Prashant antsh...@gmail.com wrote: Hi, Since last eclipse plugin update (few days back) I am not able to commit changes to Google Code. If am logged in on eclipse it can deploy application to GAE but if I try to commit changes to Google Code, it

[appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-06 Thread pascal.schroe...@weist-edv.com
I set up my SOAP server and client following this article :http://code.google.com/appengine/articles/soap.html, but it doesn't work! I get always the same error! Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread mscwd01
Thanks for the replies. @Didier - I have considered this, and I guess I will have to manually delete each entity if I cant find a more elegant solution, however going by what the documentation says it should just work. I'd like to find out why this exception is occurring if possible. @Nichole -

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread mscwd01
To add to my last comment I could do: pm.deletePersistentAll(children) to delete all Child objects in the Parents children Set, however as the method deletePersistentAll has a void return type how do you ensure all Child objects have been deleted before I delete the Parent entity? On Jun 6,

[appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Drew Spencer
Thanks Remy, I've just had a little play about with the java.util.UUID class. Seems pretty straightforward. I'll have a look into it a bit more later on, but maybe it will be overkill for my app - it's only a company internal one so maybe passing so many characters around might slow my app a

[appengine-java] Aw: Re: GWT Google Maps: Creating multiple markers leads to no error, but only one marker shows up; Exception with Clickhandler

2011-06-06 Thread meiaestro
Found it. It seems I have been blind during debugging. I changed an object without creating a new instance and stored it in an ArrayList. Not really surprising that both markers had the same position ;-) The second error still exists. What I found out so far is that it only occurs in code

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Felipe Teixeira
Search in google : FishBone GWT objectify , A good exemple to use this. =D 2011/6/6 Drew Spencer slugmand...@gmail.com Thanks Remy, I've just had a little play about with the java.util.UUID class. Seems pretty straightforward. I'll have a look into it a bit more later on, but maybe it

Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-06 Thread JT
Did you check the log? Any exceptions? On Jun 6, 2011 3:58 AM, pascal.schroe...@weist-edv.com pascal.schroe...@weist-edv.com wrote: I set up my SOAP server and client following this article : http://code.google.com/appengine/articles/soap.html, but it doesn't work! I get always the same

[appengine-java] Short-lived timer

2011-06-06 Thread Weston Pace
I'm working on an interactive game. I was hoping for turns to be on the order of 20 seconds or less. It appears the cron framework can only schedule things in 1-minute intervals. Is there any method for shorter timers in GAE? -- You received this message because you are subscribed to the

[appengine-java] Aw: How to completely delete the code for an application?

2011-06-06 Thread thomasj
Did you configure the new version to be the default version in appconsole ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-06 Thread Orlando Ruballo
I have the same problem!! And I don't restart the app server, as you I get the error from the start right away... help, any ideas 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

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-06 Thread MG
Hi there, I am faced with exactly the same problem! Help is appreciated. regards, MG On 28 Mai, 13:17, Zerot Samsa zerotsa...@gmail.com wrote: Hey folks. I know that I'm not the first one who is facing this problem. There is a similar thread, but I don't think it's exactly the same

[appengine-java] examples or best practices for backends

2011-06-06 Thread Stefan Krecher
Hi, i'm interested in using backends for long running processes but i did not find any real-world example of using backends. Configuration works fine, backends-api for examination of the backends-instances seems to be obvious. Since the serialization of a rhino-scripting engine is not possible

[appengine-java] extending google maps' Marker Class (GWT2.3.0)

2011-06-06 Thread meiaestro
Hi Experts, using GWT 2.3.0 I want to have an additional attribute in every google maps Marker. My Idea was to extend the existing Marker class the following way: public class MyMarker extends Marker { private int myNumber; public MyMarker(LatLng point) { super(point); } public

[appengine-java] Aw: extending google maps' Marker Class (GWT2.3.0)

2011-06-06 Thread meiaestro
Ok, I found the reason for the JavaScript error, but have no idea how to solve this: The reason is simple. In my scenario MapWiget itself also has a click handler and GWT seems not to like it. As soon as I remove the click handler from the map everything works fine. As I said above I would

[appengine-java] Re: Short-lived timer

2011-06-06 Thread Ian Marshall
Would queued tasks in general, and deferred tasks in particular, suit you? You can set an ETA for these tasks, and GAE/J guarantees not to fire these tasks before any ETA set. You could use a scheduled task for a heartbeat of interval 1 minute, and use this to enqueue tasks for ETAs such that you

[appengine-java] Lots of 500 errors

2011-06-06 Thread hector@ISB
My appspot (addama-systemsbiology.appspot.com) is getting lots of 500 errors today. I haven't deployed any changes in a while. 2011-06-06 13:05:36.158 */addama/registry/mappings/tools/vera-sam-pipeline*500 11985ms 0cpu_ms 0kb Jakarta Commons-HttpClient/3.1,gzip(gfe) 209.124.189.39 - -

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Jeff Schnitzer
I just let the datastore do it. I like having Long ids: * Longs always stick out in code as an id - ie in a constructor with 15 things, it sucks when they are all Strings. I often wish Java supported C-style typedefs (or just allowed subclassing basic types). * Long keys are more

[appengine-java] Unit Testing Emails

2011-06-06 Thread Mike!
Hey all, I've been trying to do some unit testing for emails. I've tried GreenMail in conjunction with JUnit Rule + ExternalResource (start/ stop GreenMail service)...I'm now stumped and can't find anything on the great oracle (google). Any ideas? Mike! -- You received this message because

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread Nichole
Just a quick addition: you actually have something in between an owned and unowned one-to-many because you're holding on to object references to your many. The unowned one-to-many would use SetKey childrenKeys, for example. On Jun 6, 2:38 am, mscwd01 mscw...@gmail.com wrote: To add to my last

[google-appengine] Re: Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-06 Thread Prashant
anyone ? On Mon, Jun 6, 2011 at 12:39 AM, Prashant antsh...@gmail.com wrote: Hi, Since last eclipse plugin update (few days back) I am not able to commit changes to Google Code. If am logged in on eclipse it can deploy application to GAE but if I try to commit changes to Google Code, it

[google-appengine] Re: The API call taskqueue.Delete() required more quota than is available?

2011-06-06 Thread radzish
Scanario: - pull-queue has 5000 tasks - i am leasing 1000 tasks - i am trying to delete 1000 tasks = exception I tried to decrease number of tasks to be processed at a time to 100 and even 1 and it did not help. Initially queue contained ~5000 tasks. On Jun 6, 6:10 am, Nicholas Verne

[google-appengine] Two questions about Total Stored Data and Indexs

2011-06-06 Thread throwdice
Hi, My two questions are: 1.Is index included into the Total Stored Data? 2.If I delete many entities, will google delete the corresponding index? Or I need to vacuum_indexes first and then rebuild the indexs? Thanks -- You received this message because you are subscribed to the Google

[google-appengine] Re: The API call taskqueue.Delete() required more quota than is available?

2011-06-06 Thread radzish
Scanario: - pull-queue has 5000 tasks - i am leasing 1000 tasks - i am trying to delete 1000 tasks = exception I tried to decrease number of tasks to be processed at a time to 100 and even 1 and it did not help. Initially queue contained ~5000 tasks. On Jun 6, 6:10 am, Nicholas Verne

[google-appengine] Bulkloader upload non ascii data to the local dev server

2011-06-06 Thread Sylvain
Hi, With the new bulkloader, I can download data from the production server to CSV (utf-8). Now If I delete all the production datas, I can upload my CSV. All the datas are correct. But If I want to upload this CSV to the local dev server then all properties that contain non ascii char

[google-appengine] Re: Deleting Index

2011-06-06 Thread throwdice
http://code.google.com/appengine/docs/python/tools/uploadinganapp.html Deleting Unused Indexes When you change or remove an index from index.yaml, the original index is * not* deleted from App Engine automatically. This gives you the opportunity to leave an older version of the app running

[google-appengine] Help on Fantasm Fan In

2011-06-06 Thread Mike_W
Hi, I use fantasm to aggregate daily transaction amounts. http://code.google.com/p/fantasm/wiki/GettingStarted This is how the current working state machine looks: Step-1) Class getCalendarDate -- returns a single date Step-2) Class QueryDB is a continuation class. -- returns transaction

[google-appengine] Appengine prohibits accessing resources in jars?

2011-06-06 Thread Alex J
Hi everyone! I'm trying to deploy my web app driven with Spring. My app spring context configuration file references configuration placed in other jars, like this: ?xml version=1.0 encoding=UTF-8 standalone=no? beans xmlns=http://www.springframework.org/schema/beans;

[google-appengine] Re: Two questions about Total Stored Data and Indexs

2011-06-06 Thread Sean Kovacs
I have a similar question...the database stats and admin are showing around 2gb of total data yet the quota says almost 8gb...where is the disconnect - indexes? On Jun 6, 4:46 am, throwdice areyouloo...@gmail.com wrote: Hi, My two questions are: 1.Is index included into the Total Stored

Re: [google-appengine] Re: Two questions about Total Stored Data and Indexs

2011-06-06 Thread Robert Kluin
Hi, Indexes are unfortunately not included in the statistics. Please star issue 2740 to indicate that you'd like it to be included. http://code.google.com/p/googleappengine/issues/detail?id=2740 Indexes can inflate your data usage quite a bit if you have many indexes. To reduce space

[google-appengine] Re: task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread johnwlockwood
for the AppEngineHelper user: in your project folder create a file called file: django_wrapper_deferred.py from appengine_django import InstallAppengineHelperForDjango InstallAppengineHelperForDjango(version=1.2,debugme=False) from google.appengine.ext.webapp import util from

[google-appengine] Re: Disallow auto acceptance of chat invitations by xmpp bot

2011-06-06 Thread Geoffrey Spear
On Jun 4, 3:03 am, Pankaj Chawla pankaj...@gmail.com wrote: Hi I created a xmpp bot on the appengine. The problem is that by default any invitation sent to the bot gets added as subscribed user and can send and receive messages from the bot. I want to control this and/or disallow auto

[google-appengine] Problem with 'HOW TO: Build a SOAP Server and a SOAP Client on Google App Engine'

2011-06-06 Thread moissinac
I'm trying to follow the page http://code.google.com/intl/fr-FR/appengine/articles/soap.html In the step 9, I get errors on the code like for the line MimeHeaders headers = getHeaders(req); the error is javax.xml.soap.MimeHeaders is not supported by Google App Engine's Java runtime

[google-appengine] Re: web hosting - static files only

2011-06-06 Thread Rao Manekar
OK. How do I manage this site? Hierarchy of the website would be: webroot | |-index.html |-folder1 with static content |-folder2 with static content |-folder3 with JSP webapp1. |-folder4 with static content |-folder5 with static content |-folder6 with JSP webapp2. How do I manage

[google-appengine] Re: Help on Fantasm Fan In

2011-06-06 Thread Jason Collins
Currently, the fan_in aggregation rules cannot be customized; Fantasm will aggregate anything that belongs to the same machine instance. We're looking at some possible adjustments to this to allow developers to specify their desired fan_in semantics. No ETA. For now, you could split your machine

[google-appengine] Task queue not executing

2011-06-06 Thread tempy
Tasks for my app (ID: openkleio) are not executing, just sitting there and executing every couple of minutes, sometimes. I can run them manually just fine from the control panel. No quota issues, no errors - just sitting there. Anyone else seeing this? -- You received this message because you

[google-appengine] FinalizationError with Files API

2011-06-06 Thread John Wheeler
Hi, I am experiencing this issue 100% of the time while using mapreduce py http://code.google.com/p/googleappengine/issues/detail?id=4971 Is there something going on with files API today? Anyone else having problems? -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: The API call taskqueue.Delete() required more quota than is available?

2011-06-06 Thread Arvind Raj
In my case. It is just one task in the queue. My app is an online turn-based game. A task kicks out the turn- player unless the player plays on time. When a player does play within the timeout, the task needs to be deleted. It works fine for a couple of turns and then it bombs. On Jun 6, 5:25 

[google-appengine] Re: task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread thstart
thank you! would is the recommended setup for main.py for AppEnginehelper? I am getting sometimes a messages in the log it being already loaded - it slows down the code. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this

[google-appengine] Re: Task queue not executing

2011-06-06 Thread Xavier
I have exactly the same problem on my App (seacloud-1) since the last 3 hours, tasks are executing at about 1/mn instead of the usual 50/mn, more than 4000 tasks in queue waiting to be executed. No errors, quota is fine. On Jun 6, 10:58 am, tempy fay...@gmail.com wrote: Tasks for my app (ID:

[google-appengine] Re: task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread thstart
it works perfectly now - had to remove the ,debugme=False I am getting this message in the log too: App Engine Helper has already been installed for this process (not going to reinstall) not critical but it slows down the execution. -- You received this message because you are subscribed to

[google-appengine] Map Reduce Errors

2011-06-06 Thread John Wheeler
I am running mapreduce jobs that I've run before and consistently getting either: UnknownError FinalizationError ExclusiveLockError From those errors, can anyone see a pattern of misuse they could share to get me out of this? -- You received this message because you are subscribed to the

Re: [google-appengine] Suggestion: ACL Management API

2011-06-06 Thread hector@ISB
The Google Storage for Developers has a nice ACL API... perhaps something along these lines could be a standard. http://code.google.com/apis/storage/docs/accesscontrol.html -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this

[google-appengine] Re: Task queue not executing

2011-06-06 Thread Tom Phillips
Yes, same problem here. This happened during the day a couple days last week too. Tasks sit waiting to be dispatched even though none are running and the frontend instances are lightly loaded with low latency. A task runs once in a while, sporadically. Cron jobs (once per minute in my case) also

[google-appengine] Re: Task queue not executing

2011-06-06 Thread tempy
Tom - I don't really see why heavy GAE-wide load should impact task queues or cron jobs in this way. The tasks run within our existing instances, and each instance, once it exists, has reserved a slice of resources for its own use. If that instance is lightly loaded (as mine are), it should be

Re: [google-appengine] Suggestion: ACL Management API

2011-06-06 Thread John Wheeler
different flavors of unix implement generic enough ACLs just fine. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/cEx6VU03TE0zbm9K. To post to this

Re: [google-appengine] Suggestion: ACL Management API

2011-06-06 Thread John Wheeler
My point being that an implementation need not be 'difficult to impossible' -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/TUN3SmhIc002SGNK. To

[google-appengine] Re: Task queue not executing

2011-06-06 Thread Tom Phillips
It would be great if someone from Google could clarify if today's behavior is what we can expect out of task queues and cron. I noticed that depending on when you refresh the App Engine status page today http://code.google.com/status/appengine you do see Elevated for task queues (and at other

[google-appengine] Re: Map Reduce Errors

2011-06-06 Thread John Wheeler
Hello. What's going on with the files api? Why are we getting this on 50% of our map reduce runs? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] Re: Task queue not executing

2011-06-06 Thread John Wheeler
This may or may not be related, but we're getting ExclusiveLockError UnknownError and FinalizationError when using Mapreduce which uses the TQ heavily. We never encountered these errors before today which leads me to believe that the errors above are related. -- You received this message

[google-appengine] Re: The API call taskqueue.Delete() required more quota than is available?

2011-06-06 Thread Anton Kolechkin
Hi All. I have the same problem on my test application. I have just one queue with one task with eta. I try to delete the task. class 'google.appengine.runtime.apiproxy_errors.OverQuotaError': The API call taskqueue.Delete() required more quota than is available. On Jun 1, 8:29 am, working

[google-appengine] Re: Task queue not executing

2011-06-06 Thread Mickey Kataria (Google Employee)
We're aware there is an issue and are looking into it. I'll post an update as I have more info. On Jun 7, 8:30 am, John Wheeler j...@highvolumeseller.com wrote: This may or may not be related, but we're getting ExclusiveLockError UnknownError and FinalizationError when using Mapreduce

Re: [google-appengine] Re: The API call taskqueue.Delete() required more quota than is available?

2011-06-06 Thread Nicholas Verne
Folks, I found the cause yesterday, but it took until this morning to find and apply a lasting fix. The quotas for taskqueue.Delete were being applied incorrectly to a single app id (thankfully, not an app id in use by anyone). When this app id ran out of quota, everyone would be experiencing

[google-appengine] Re: Suggestion: ACL Management API

2011-06-06 Thread Ronoaldo José de Lana Pereira
I'm interested on building such an API, like some building blocks that wold fit on AppEngine restrictions without performance problems. Anyone interested on starting up some building blocks? One nice thing about building an ACL, or more explicity, an Authentication/Authorization API is that we

[google-appengine] Is the native API really so much faster than JDO and slim3?

2011-06-06 Thread DennisP
I'm looking at this online demo: http://slim3demo.appspot.com/performance/ Sample run: The number of entities: 1 low-level API:get: 2 millis Slim3: 2490 millis JDO: 6030 millis Is the low-level API really that much faster? -- You received this message because you are subscribed to the

Re: [google-appengine] Re: Help on Fantasm Fan In

2011-06-06 Thread Robert Kluin
Hey Jason, Sounds like Mike is asking for the same thing I was when first looking at Fantasm (quite some time ago now). I thought we'd came up with a patch that supported this? I'm not really sure where we left off with that. Robert On Mon, Jun 6, 2011 at 13:04, Jason Collins

[google-appengine] Re: Channel API and development server behavior

2011-06-06 Thread PK
It turns out that I spoke too soon about this. Probably I just did not properly refresh the browser when I said that changing the value from 500 to 5000 works; channel notifications do not work after such a change so this is not a workaround. PK -- You received this message because you are

[google-appengine] Re: Channel API and development server behavior

2011-06-06 Thread PK
Issue 4946 http://code.google.com/p/googleappengine/issues/detail?id=4946 seems to be the same or closely related with what I reported here so please star it if you want to see a resolution. PK www.gae123.com -- You received this message because you are subscribed to the Google Groups Google

Re: [google-appengine] Suggestion: ACL Management API

2011-06-06 Thread Nick Johnson (Google)
On Tue, Jun 7, 2011 at 7:13 AM, John Wheeler j...@highvolumeseller.comwrote: different flavors of unix implement generic enough ACLs just fine. They're all ACL-ing the same thing - the filesystem - so the requirements are all basically the same. Webapps, in contrast, are far more variable. As

Re: [google-appengine] Re: Channel API and development server behavior

2011-06-06 Thread Robert Kluin
Hi, In your code need to set the socket POLLING_TIMEOUT_MS. I've tested this, works correctly. goog.appengine.Socket.POLLING_TIMEOUT_MS = 5000; DevSocket is exported as Socket at the bottom of the jsapi file. Robert On Mon, Jun 6, 2011 at 23:48, PK p...@gae123.com wrote: Issue

Re: [google-appengine] Re: Help on Fantasm Fan In

2011-06-06 Thread Maxim Lacrima
Hi! This is probably off-topic, but is Fantasm somewhat similar to Appengine-Pipelines? I mean I can perform the same computation tasks either with Fantasm or Appengine-Pipelines... If I am wrong could you point how Fantasm is different? Thank you. -- You received this message because you are