[appengine-java] Re: When is the ConcurrentModificationException thrown in GAE?

2012-01-03 Thread Benjamin
Man, i've been there. Check out sharding - you can only update a single entity a couple of times a second or else you'll get a ConcurrentModificationException - you have to shard your entities. Ben nimbits.com On Jan 3, 11:20 pm, Harshad harshad...@gmail.com wrote: Hi, I am reading the

[appengine-java] Re: Set password for appcfg.sh update

2011-03-23 Thread Benjamin Muschko
, Have you tried the option(s) (--email and) --passin? Ian On Mar 22, 7:08 pm, Benjamin Muschko benjamin.musc...@gmail.com wrote: Hi, Is there way to use a pre-defined password (e.g. set as a parameter or from some file) for the update task (http://code.google.com/appengine/ docs

[appengine-java] Set password for appcfg.sh update

2011-03-22 Thread Benjamin Muschko
Hi, Is there way to use a pre-defined password (e.g. set as a parameter or from some file) for the update task (http://code.google.com/appengine/ docs/java/tools/uploadinganapp.html)? Unfortunately, I couldn't find an appropriate parameter. I'd like to upload my app to App Engine as part of an

[appengine-java] Re: Local development server classpath - com.google.appengine.tools.KickStart

2011-03-19 Thread Benjamin Muschko
in the GAE sdk library on Eclipse when you create a new project + those needed to run locally. The simplest way for you is to follow he hints given inhttp://code.google.com/appengine/docs/java/tools/ant.html regards didier On Mar 18, 8:55 pm, Benjamin Muschko benjamin.musc...@gmail.com wrote

[appengine-java] Local development server classpath - com.google.appengine.tools.KickStart

2011-03-18 Thread Benjamin Muschko
Hi, I have a question about the runtime classpath that is being used when starting up a local development server. It is required to set appengine-tools-api.jar in the classpath a parameter. My application directory web_app_dir does not include some of the libraries that are required at runtime

[appengine-java] Re: java.lang.OutOfMemoryError: Java heap space

2011-02-13 Thread Benjamin
and do keys only query with limit of 1000 (and delete them) repeatedly instead of retrieving whole objects. I am guessing the out of memory is due to large amount of objects returned by the query. Keys only query also use much less api cpu. On Feb 12, 9:22 pm, Benjamin bsaut...@gmail.com wrote

[appengine-java] Re: java.lang.OutOfMemoryError: Java heap space

2011-02-13 Thread Benjamin
) { pm.deletePersistentAll(v); DataServiceImpl.startDeleteDataTask(pointId,true,expDays); } On Feb 13, 5:23 am, Benjamin bsaut...@gmail.com wrote: Thanks Peter - i think i'm forced to use a query like the one above because the only criteria i

[appengine-java] java.lang.OutOfMemoryError: Java heap space

2011-02-12 Thread Benjamin
I'm getting errors when a task kicks off to delete a lot of data based on a timestamp. I enabled billing and already chewed through $0.50 in CPU time, but i'm still getting the error message. Is there anything else I should do? I was trying to avoid splitting the task up with a result limit or

[appengine-java] Re: Struggling w/datastore relationship

2011-01-20 Thread Benjamin Carlson
I just came across this document: http://www.scribd.com/doc/24330945/No-Relation-The-Mixed-Blessings-of-Non-Relational-Databases It helps, but doesn't completely answer my question. It would appear that what I'm wanting to do is an EAV (entities/attributes/values) type relationship, however,

[appengine-java] Re: Struggling w/datastore relationship

2011-01-19 Thread Benjamin Carlson
Thanks much for the link! It doesn't directly answer my issue, but it did give me a few more ideas about how to go about this... I've watched it three times (so far)! :) Despite seeing the merge-join in action, I don't think it quite matches my model, so I'm trying to visualize how to make my

[appengine-java] Re: multiple list properties

2011-01-19 Thread Benjamin Carlson
Bump, I would be interested in learning more about this as well. Thanks! -Ben -- 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

Re: [appengine-java] Re: UserService functionality when run via cron

2010-12-15 Thread Benjamin Grabkowitz
The bug reference would be nice. If only to vote it up. On Wed, Dec 15, 2010 at 2:10 AM, andrew aute...@gmail.com wrote: I submitted a bug on the subject, and it was accepted. If you want the bug reference I can find it. Andrew -- You received this message because you are subscribed to

[appengine-java] Re: Datastore metadata property query (SDK 1.4)

2010-12-13 Thread Benjamin Muschko
Never mind. Got it resolved. Must have been an issue with my environment. Ben -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this

[appengine-java] Re: How to set Google App Engine cron job using different interval in different period of time?

2010-12-13 Thread Benjamin
i'd just stick a check on the current time in the cron's code, so it always runs every 5 minutes but only actually does the thing it's supposed to do when it's the right time of day. On Dec 13, 5:31 am, EtuO nbaer...@gmail.com wrote: How to config a cron job to run every 5 minutes between

[appengine-java] Any idea on channel api without javascript?

2010-12-02 Thread Benjamin
Hi there, I am currently using GAE as our game's server, we are not using javascript as the frontend, but channel api is quite a useful stuff for us. Is there any way we can use the channel api without javascript? -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] Running Google App Engine from within a HSM.

2010-11-20 Thread Benjamin Gittins
logic responsible for processing less sensitive data is running on the public cloud provided by Google. Thanks! Benjamin Gittins On 19/11/2010, at 7:58 PM, Ikai Lan (Google) wrote: I'm not sure I understand the question. Are you looking to run the GAE SDK inside your own hardware

[appengine-java] Running Google App Engine from within a HSM.

2010-11-18 Thread Benjamin Gittins
/ ) Thanks, Benjamin Gittins -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr

[appengine-java] Re: mapreduce cron

2010-10-25 Thread Benjamin
Hi Jacek, there is an example in mapper project source code: http://code.google.com/p/appengine-mapreduce/source/browse/trunk/java/example/com/google/appengine/demos/mapreduce/TestServlet.java Hope it helps. On Oct 23, 12:03 am, jacek.ambroziak jacek.ambroz...@gmail.com wrote: How to start a

[appengine-java] Re: Newly deployed app doesn’t se em always reflected on the server.

2010-10-16 Thread Benjamin
are you changing the version number? You'd need to go to the console and change the version that's being served. Maybe you're caching behind a proxy or viewing a cached version on your end? try loading the url in a browser and hit F5 On Oct 15, 4:21 pm, nnhobbit nnclou...@gmail.com wrote: I

[appengine-java] Re: App Engine and IP Addresses

2010-10-11 Thread Benjamin
code. Should work :). On Sat, Oct 9, 2010 at 11:45 PM, Peter Ondruska peter.ondru...@gmail.comwrote: When connecting to IP address you need to use HTTP host header so that GAE knows which application/virtual server you want. On Oct 9, 6:26 pm, Benjamin bsaut...@gmail.com wrote

[appengine-java] App Engine and IP Addresses

2010-10-09 Thread Benjamin
I've been working on a challenge over the past couple of days and I could really use a knowledge transfer on App Engine, Domains and IP addresses. I seem to be missing something. I'm trying to write a library for Arduino Micro-controllers to do HTTP Posts to a servlet hosted on appengine. For

[appengine-java] Re: App Engine and IP Addresses

2010-10-09 Thread Benjamin
I did just get an arduino to post to app engine by using a reverse proxy on an apache server on my LAN - but i'd rather hit app engine directly... On Oct 9, 12:26 pm, Benjamin bsaut...@gmail.com wrote: I've been working on a challenge over the past couple of days and I could really use

[appengine-java] query for null missing properties

2010-09-13 Thread Benjamin
Brain freeze guys - I added a property to my object and persisted in the datastore. The older object have now have a column that when viewed in the control panel have a value of missing. I need to query those objects so i can update them - propname == null , propname == - I can't seem to

[appengine-java] Re: query for null missing properties

2010-09-13 Thread Benjamin
them. The Mapper API is a very good tool for this: http://code.google.com/p/appengine-mapreduce/ On Mon, Sep 13, 2010 at 12:20 PM, Benjamin bsaut...@gmail.com wrote: Brain freeze guys - I added a property to my object and persisted in the datastore.  The older object have now have

[appengine-java] Re: Google Update 1.3.6

2010-08-31 Thread Benjamin
I had this problem and found it was from installing the eclipse plug in using the install new software item on the help menu instead of using the install from the new eclipse marketplace item under help or the other way around, i don't remember - but i was installing 64 bit / 32 bit and all sorts

[appengine-java] facebook graph solution

2010-08-22 Thread Benjamin
I spent some time this morning and consolidated how I write app engine apps in java, do oauth with facebook a host my apps in a facebook iframe - interacting with the users profile, wall, newsfeed etc with the facebook graph. Hope this helps - enjoy!

[appengine-java] Re: Facebook API Integration

2010-08-19 Thread Benjamin
I integrate my app engine apps with facebook without any third part api - just http, oauth and the facebook graph - let me know if you'd like to know more. http://developers.facebook.com/docs/api On Aug 18, 3:40 pm, Peter Simun si...@seges.sk wrote: This can helps

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread Benjamin
Sorry to hear of your trouble Nischal I'm hitting twitter without any issue from my prod app engine - if it helps, i've had a lot of success using twitter4j libraries - maybe you can check them out. The only strange thing about getting an auth token from twitter oauth from app engine is how you

[appengine-java] Re: Google Plugin for Eclipse 3.6 is now available

2010-06-29 Thread Benjamin
Just to Add to Arian's post. I has all sorts of trouble installing the new plugin for eclipse Helios. I did it through the update site and the marketplace says it's installed, but i don't have any of the google options i'm used to. If this helps - i tried this with Eclipse Helios EE x64 and x86,

[appengine-java] Re: Limiting the number of requests per IP each minute

2010-06-29 Thread Benjamin
It's funny, i can't think of a better way to stop the abuse but i can think of a 100 ways to abuse it. I hate getting stuck in one of those spy vs spy - measure vs counter measure situations so i'm sympathetic to the challenge. Maybe you could randomly redirect a user to one of those prove your