[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 wrote: > Hi, > > I am reading the official GAE documentati

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

2011-03-23 Thread Benjamin Muschko
you tried the option(s) ("--email" and) "--passin"? > > Ian > > On Mar 22, 7:08 pm, Benjamin Muschko > wrote: > > > > > > > > > Hi, > > > Is there way to use a pre-defined password (e.g. set as a parameter or > >

[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 aut

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

2011-03-19 Thread Benjamin Muschko
AE 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 Musch

[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
) { pm.deletePersistentAll(v); DataServiceImpl.startDeleteDataTask(pointId,true,expDays); } On Feb 13, 5:23 am, Benjamin wrote: > Thanks Peter - i think i'm forced to use a query like the one

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

2011-02-13 Thread Benjamin
te: > Try using the low level API 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. >

[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 some

[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, I'

[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 gr

[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 d

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 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 the Google

[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 wrote: > How to config a cron job to run every 5 minutes between 9:00am~20:00pm。 -- Y

[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 gr

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

2010-12-13 Thread Benjamin Muschko
Hi, I was trying out the new 1.4 SDK datastore metadata queries. Querying for kinds works perfectly fine with this query and I get back results: Query query = new Query(Query.KIND_METADATA_KIND); PreparedQuery preparedQuery = DatastoreServiceFactory.getDatastoreService().prepare(query); List kind

[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 "Goog

[appengine-java] Re: Sending an http request with ClientLogin Token

2010-11-30 Thread Benjamin
Hi Stephen, I do this all of the time - using the gmail credentials to get a token cookie, adding it to my header so the request is authenticated. I go over how this is done in good detail on my blog http://javagwt.blogspot.com/2010/08/authenticating-android-to-app-engine.html unfortunately, thi

[appengine-java] Map API errors with scripted deployments

2010-11-23 Thread Benjamin
I'm getting this crazy behavior I was able to reproduce several times today. Check this out. I'm using the Google MAP API that requires an API key you generate on http://code.google.com/apis/maps/signup.html If I add the required javascript to my app and deploy it using the eclipse plug in everyt

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

2010-11-20 Thread Benjamin Gittins
iness 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 hardwa

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

2010-11-18 Thread Benjamin Gittins
na-sp/ ) 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-appengin

[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" wrote: > How to start a MapReduce job as a cron s

[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 wrote: > I deployed an app, in

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

2010-10-11 Thread Benjamin
647/to see what headers > your browser send as part of the HTTP GET request and emulate them in C > code. > > Should work :). > > On Sat, Oct 9, 2010 at 11:45 PM, Peter Ondruska > wrote: > > > > > When connecting to IP address you need to use HTTP host header so

[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 wrote: > I've been working on a challenge over the past couple of days and I > could really use a knowl

[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 exam

[appengine-java] Re: query for null properties

2010-09-13 Thread Benjamin
ate > 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 wrote: > > Brain freeze guys - > > > I added a property to my object and persisted in the datastore.  T

[appengine-java] query for null 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 . I need to query those objects so i can update them - propname == null , propname == "" - I can't seem to find the

[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 so

[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! http://javagwt.blogspot.com/2010/08/facebook-ap

[appengine-java] Re: Facebook API Integration

2010-08-22 Thread Benjamin
> > i you can support an example explain it > > it will be very helpful > > > On Aug 20, 6:23 am, Benjamin wrote: > > > > I integrate my app engine apps with facebook without any third part > > > api - just http, oauth and the facebook graph - let me know if y

[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 wrote: > This can helps youhttp://java.dzone.com/articles/efective-j

[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 h

[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, a

[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 h