[appengine-java] Analytics and App Engine / GWT Timouts

2010-11-02 Thread Eyal
lytics service takes in my case some 30 seconds, for several table_ids, so raising the timeout to 10 seconds won't help. Is there a solution? Thanks, Eyal -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to thi

[appengine-java] No API environment is registered for this thread

2010-11-07 Thread Eyal
spaceSchemaLocation="http://java.sun.com/xml/ns/jdo/ jdoconfig"> Any idea how can I solve this? How do I register the "API Environment?" Thanks! Eyal -- You received this message because you are subscribed to the Googl

[appengine-java] Two apps hitting the same datastore

2010-11-07 Thread Eyal
Hi all, I need to have two separate applications hitting the same datastore. One updates it daily, and the other (app engine and GWT) reading from it on a regular basis. How is this done? Is there a way in the API to specify a specific datastore? Thanks, Eyal -- You received this message

[appengine-java] Re: No API environment is registered for this thread

2010-11-07 Thread Eyal
create objects from the Analytics feed, and try to insert them into the datastore, I get the exception above. What am I missing? You help is greatly appreciated! Eyal On Nov 8, 6:21 am, Didier Durand wrote: > Hi, > > This comes when you are trying to run code within Eclipse without &g

[appengine-java] Re: Two apps hitting the same datastore

2010-11-08 Thread Eyal
-less Java application, using App Engine's JDO to hit a datastore? And then set up a cron job, or anything like it? Thanks, Eyal On Nov 8, 1:18 am, Starman wrote: > As you know, you can deploy many versions of an app for the same app > id. There is nothing that says it has to be th

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
On my dev, when running "As A Java Application." If I try to run it as a Web Application I get a Timeout exception, because the Analytics feed takes too long to respond... Thanks for looking into this, Didier! Eyal On Nov 8, 1:55 pm, Didier Durand wrote: > Hi Eyal, > > Wh

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
pay for this service. Thanks, Eyal On Nov 8, 5:17 pm, Didier Durand wrote: > Eyal, > > Now it's clear = you MUST run the application as a Web Application to > be able to activate the App Engine environment with the Datastore that > you need for JDO. > > Then yo

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
)); sd.setBounces(bounces); sd.setTimeOnSite(timeOnSite); } catch(Exception e) { e.printStackTrace(); } return sd; } Then I do the simple JDO to persist the sd object. But it doesn't even get there becau

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
Just to complete the picture here's the initialization of the AnalyticsService: AnalyticsService as = new AnalyticsService("gaExportAPI_acctSample_v1.0"); as.setUserCredentials(CLIENT_USERNAME, CLIENT_PASS); Thanks again, Eyal On Nov 8, 7:27 pm, Eyal wro

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
and even when I increase the connect and read timeouts to 10 secs as above. Thanks, Eyal On Nov 9, 7:38 am, Didier Durand wrote: > Hi Eyal, > > Independently of App Engine, how many seconds does it take to get an > answer to your request to Google Analytics (as given above) when you >

[appengine-java] Re: No API environment is registered for this thread

2010-11-08 Thread Eyal
Just to be clear, the timeout exception hits on App Engine. All is well as a java app. On Nov 9, 8:06 am, Eyal wrote: > Hi Didier, > > It takes about 8-9 seconds to return with a reply "as a java > application" for one query. I'm going to need a lot more than one >

[appengine-java] Re: No API environment is registered for this thread

2010-11-09 Thread Eyal
is to the Analytics group as well, and if none of the above solutions work I'll have to ditch App Engine. It's unfortunate because the technology is super-cool but if I can't get it to work, I can't get it to work. Thanks, Eyal On Nov 9, 11:32 am, Didier Durand wrote: > Hi

[appengine-java] Google Analytics on App Engine in Java

2010-11-09 Thread Eyal
"; error and no results come back. If anyone can tell me how to get this to work I'll truly appreciate it. Thanks, Eyal -- 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 goo

[appengine-java] Re: No API environment is registered for this thread

2010-11-10 Thread Eyal
xists. Eyal On Nov 9, 5:01 pm, Didier Durand wrote: > Eyal, > > 1) Yes, working directly on App Engine, i.e very close to Google > Analytics will definitely help in terms of resp time so it may go > through with no problem. > > 3) You could write to App Engine Datastore from the o