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

2010-11-10 Thread Didier Durand
Hi Eyal, Good to know that some GData calls to Analytics may last longer than the App Engine limit. Keep us posted! didier On Nov 10, 9:57 am, Eyal twoworldsf...@gmail.com wrote: Apparently there are some real issues with App Engine and Analytics with this timeout error. Check Nick's post

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

2010-11-10 Thread Eyal
Apparently there are some real issues with App Engine and Analytics with this timeout error. Check Nick's post in: http://groups.google.com/group/google-analytics-data-export-api/browse_thread/thread/3f9956a25d718b59 btw., I compiled and run the demo application but the timeout still exists.

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

2010-11-09 Thread Eyal
Bhim, did you write anything? Didier, I tried it but it doesn't work. I think that at this point I have three more things to try: 1. Deploy a Java app and set up a cron job to start it, and hope something good happens. 2. Run the demo app at

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

2010-11-09 Thread Didier Durand
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 outside via http post and the ad hoc servlet responding to those post. good luck

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

2010-11-08 Thread Didier Durand
Hi Eyal, Where do you run your application when getting this exception: on your dev env or on the google infrastructure ? regards didier On Nov 8, 8:44 am, Eyal twoworldsf...@gmail.com wrote: Thank you lp, and Didier. Actually this application will need to run in production, and not only in

[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 durand.did...@gmail.com wrote: Hi Eyal, Where

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

2010-11-08 Thread Didier Durand
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 you MUST activate the local dev env for App Engine on your machine : see my previous answer with the link. If you don't do

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

2010-11-08 Thread Eyal
Hi Didier, Thanks for your reply. Here's the problem, though: when I run it as a web application I'm getting a timeout error. I've already posted this issue on the Analytics dev group at (http://groups.google.com/group/ google-analytics-data-export-api/browse_thread/thread/ 3f9956a25d718b59) but

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

2010-11-08 Thread Eyal
Hi Didier, Sure, here is an example method: public SiteBasicData getSiteBasicData(AnalyticsService as, Site site, DateTime date) { SiteBasicData sd = new SiteBasicData(); as.setConnectTimeout(1); as.setReadTimeout(1); DataFeed dataFeed = null;

[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

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

2010-11-08 Thread Didier Durand
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 run is as a Java application ? A servlet cannot last more than 30s in App Engine, so knwoing your timing is important. But, from my experience, you

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

2010-11-08 Thread Eyal
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 query, though, so some of my fetch requests will take much longer. But in any case the timeout exception hits even before the 8-9 seconds, and even when I

[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 twoworldsf...@gmail.com 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 query, though,

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

2010-05-26 Thread poe
It seems that I've used my own Run Configuration where I included a wrong nucleus-appengine-something.jar in the classpath. When I added the Jar-File by hand the enhancer didn't work anymore. I created a new Run Configuration with the latest appengine version and it works. Are there some

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

2010-05-26 Thread Ronmell Fuentes
As far As I know, there's not jeje. but if you use an IDE like Eclipse everything reduces to just install the plugin for GAE and done!. Rgds. R 2010/5/26 poe stefan.poe...@googlemail.com It seems that I've used my own Run Configuration where I included a wrong nucleus-appengine-something.jar

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

2010-05-25 Thread Ronmell (VDKiT)
Hi Poe, Data Store is included in your GAE when you install it. nothing to install further. but a little bit of more information of the error and the point of rise of the error, would be very helpful. R On May 25, 9:10 am, poe stefan.poe...@googlemail.com wrote: Hey there, when i want to

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

2010-05-25 Thread Ronmell (VDKiT)
Hi Poe. Data Store comes with your GAE. no further installations. a little bit of more information related to the complete error and the point of raising of the error, would be very helpful. R On May 25, 9:10 am, poe stefan.poe...@googlemail.com wrote: Hey there, when i want to store some