[appengine-java] Re: Javaland scheduler behavior

2012-02-28 Thread Francois Masurel
Hi Jeff, Check this post : https://groups.google.com/forum/#!msg/google-appengine/3t5muVhXajg/SSFU-udjIhwJ Setting Idle instances to automatic, as Johan Euphrosine suggested, seems to have solved the problem, at least temporarily (I was at 1 minimum and 1 maximum before). I'm just a bit

Re: [appengine-java] Re: Javaland scheduler behavior

2012-02-28 Thread Francois MASUREL
in the pending queue - why is GAE shunting new requests to instances with an effective 10-20s wait time instead? Jeff On Tue, Feb 28, 2012 at 12:00 PM, Francois Masurel f.masu...@gmail.comwrote: Hi Jeff, Check this post : https://groups.google.com/forum/#!msg/google-appengine/3t5muVhXajg/SSFU-udjIhwJ

Re: [appengine-java] Re: OpenId Provider using java

2012-02-01 Thread Francois MASUREL
You are supposed to have something like this in your application web.xml : servlet-mapping servlet-nameproviderServlet/servlet-name url-pattern/authenticate/url-pattern /servlet-mapping

[appengine-java] Re: Datastore Admin and federated login

2012-02-01 Thread Francois Masurel
In fact, it seems that my browser blocked the openid url for some security reasons related to being in an iframe. I just had to open this url in a new tab to solve the problem. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: OpenId Provider using java

2012-01-24 Thread Francois Masurel
I've successfully built an OpenId provider on GAE Java using this project as a starting point : http://code.google.com/p/joid/ I added some connectors to enable users to log in using their social networks accounts (Twitter, Facebook, Foursquare, LinkedIn, etc.) as well as Mozilla BrowserId.

[appengine-java] Re: AppEngine JVM Memory queries

2011-12-29 Thread Francois Masurel
I would also like to have more detailled information about memory usage in the administration console. The memory counter keeps increasing constantly for one of my app (vncts1). It looks like I'm being hit by a memory leak. But when I profile my app locally on the dev server, there is no such

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-01 Thread Francois Masurel
Between 5s and 10s, about 10s most of the time. Using quite a few libraries, but no spring, struts or other heavy MVC framework. Francois -- 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: HELP PLEASE! Bug!

2011-10-01 Thread Francois Masurel
Hi Bruno, I don't think it's related to AppEngine. I've found this after a quick search on Google : It means that you compiled your classes under a specific JDK, but then try to run them under older version of JDK. So, you can't run classes compiled with JDK 6.0 under JDK 5.0. The same with

[appengine-java] Re: sending pdf

2011-09-09 Thread Francois Masurel
Hi Vik, I'm using PDFJet to generate simple PDFs on GAE/Java. Francois -- 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 https://groups.google.com/d/msg/google-appengine-java/-/M-kdi8piGmcJ.

[appengine-java] Re: threads per instance (Java)

2011-09-03 Thread Francois Masurel
I just asked a similar question here : http://code.google.com/p/googleappengine/issues/detail?id=5414#c31 You might want to file a documentation bug. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this

[appengine-java] Re: Always On not working properly

2011-08-25 Thread Francois Masurel
Yep same here, lots of warmup requests and slow responses to users. Quite costly CPU wise too. Really annoying. Francois -- 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

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-23 Thread Francois Masurel
Hi Don, I was just wondering : could these buggy DeadlineExceededExceptions cause a memory leak ? I've seen my instance take up to 134MB just running 2 simple datastore queries (DeadlineExceededException) every minute. Do you know when will the next SDK version be released ? BTW, it looks

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
If anyone interested at Google, I can reproduce this strange behavior quite easily. Francois -- 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

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois MASUREL
Hi Don, My appId is : vncts1 It's bugging at the moment. Thanx for your help. Francois On Fri, May 20, 2011 at 18:31, Don Schwarz schwa...@google.com wrote: This is very strange. What is your app id? On Fri, May 20, 2011 at 7:55 AM, Francois Masurel f.masu...@gmail.comwrote

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
The faulty instance was restarted so everything went back to normal. I just flushed my cache and reloaded about 20 pages to reproduce the bug. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
Happy to be able to help. In fact, I just put in place all this catches to avoid instance restart which causes lots of error 500 and get my site unreachable for a few seconds each time it happens. Do you mean that all these strange DeadlineExceededExceptions will disappear with next SDK

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-19 Thread Francois Masurel
I've been able to lower the impact of these datastore DeadlineExceededException by setting a global datastore deadline using : http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreServiceConfig.html I just catch the ApiProxy$ApiDeadlineExceededException

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-19 Thread Francois Masurel
I just found something rather strange : After setting a 10 seconds deadline on my datastore service and setting a page reload when deadline exceptions are thrown, I got caught in an infinite loop : pages were reloading for several minutes until a background task using a datastore service

[appengine-java] Java instances memory usage

2011-05-17 Thread Francois Masurel
Hi everybody, I would like to know how much memory space do your Java instances use. Mines use from 75 to 90 MB of memory on average basis. Future billing rules might make these numbers more important than they are today. Thanx for your help. Francois -- You received this message because

[appengine-java] DeadlineExceededException on Jetty session loading

2011-05-17 Thread Francois Masurel
Hey Googlers, Do you know why we get these DeadlineExceededException when Jetty's trying to load session data from the datastore ? It looks like a bug as there is only Google App Engine code being executed here (see stacktrace below). And (still haven't got an answer about that) why does it

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-17 Thread Francois Masurel
Hi Don, Thanx for your answer. Actually I'm testing an HR application and I get these errors quite often on load increase. Could you explain why datastore entity are unavailable periodically ? And why we have to wait 30s to know that these entities are unavailable ? What is really annoying

[appengine-java] DeadlineExceededException and instance restart

2011-05-13 Thread Francois Masurel
Why do DeadlineExceededException always cause an instance restart even if properly catched ? My instances are quite slow to start since 1.5.0 and I get a lot of errors 500 then. Thanx for your help. François -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Backup restore of my app - Is this really a joke or am I missing something?

2011-04-26 Thread Francois Masurel
You might be interested in this issue : http://code.google.com/p/googleappengine/issues/detail?id=776 Francois -- 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

Re: [appengine-java] Re: is it possible to use Java 7 on GAE ?

2011-03-29 Thread Francois Masurel
Ok, Ikai, thanx for your answer. -- 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 group, send email to

[appengine-java] Re: My site is very latency now, even if 3 always on instances are running.

2011-02-16 Thread Francois Masurel
Yep, same for me, and quite a few datastore timeouts. Annoying. Francois -- 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 group,

[appengine-java] Re: Datastore Backup and Restore (for Java)

2011-01-05 Thread Francois Masurel
Actually there is a problem is you store content keys as string in the datastore. They can't be imported back in another application because keys are application prefixed. I was hit by this problem and I'm still stuck to my old application that I can't rename. I think GAE really miss an easy

[appengine-java] Re: Files Limitation 3000

2010-12-16 Thread Francois Masurel
Hi Ravi, I'm putting all the generated GWT files in a zip file and I'm serving them with a specific servlet. It works fine and even allows me to do some GWT versioning : /gwt module = servlet/version/path to gwt file Remember that, if you change the default GWT module path (like adding a

[appengine-java] Re: How can i store an image to a blobstore without using a form?

2010-11-21 Thread Francois Masurel
It looks like it's on the roadmap now : Programatic Blob creation in Blobstore http://code.google.com/appengine/docs/roadmap.html Francois On Nov 21, 5:09 pm, Max 6738...@gmail.com wrote: I would like to do this also.  I am currently storing files as byte[] but I receive corrupted files

[appengine-java] Re: 500 Server Error (Dashboard)

2010-11-12 Thread Francois Masurel
And the latency is not so good today : http://code.google.com/status/appengine/detail/serving-java/2010/11/12#ae-trust-detail-helloworld-get-java-latency Some of my pages are suddenly loading very slowly without any reason (and no cold start going on). Quite annoying as I was doing a demo to an

[appengine-java] Cold starts taking longer since recent update ?

2010-11-12 Thread Francois Masurel
Hi everbody, Has anyone noticed that cold starts seems to last quite longer than usual recently ? Some of my cold starts that were about 3 to 4 seconds before are now up to 10 seconds. Sometimes I get them while navigating from one page to another. Quite annoying. I'm supposed to go in

[appengine-java] Re: Does AppEngine recycle threads (Is using ThreadLocal considered good practice on the GAE?)

2010-09-16 Thread Francois Masurel
Each app instance runs in its own JVM. So it should be safe to cache data in ThreadLocal. On 16 sep, 09:08, Maxim Veksler ma...@vekslers.org wrote: I would like to cache a not thread safe object, I'm hoping to improve performance by caching it instead of instantiating new instance per request.

[appengine-java] Re: time triggered tasks

2010-09-09 Thread Francois Masurel
It looks like you can delay tasks via API : TaskOptionscountdownMillis(long countdownMillis) Set the number of milliseconds delay before execution of the task. TaskOptionsetaMillis(long etaMillis) Sets the approximate absolute time to execute. I also found a link :

[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread Francois Masurel
I've successfully used some SOAP Services using the WSC library : http://code.google.com/p/sfdc-wsc/ Francois On 3 sep, 10:27, moissinac jcmoissi...@gmail.com wrote: No true/false response possible. 1) Response time: if a GAE application calls web services, each call must be ended in the

[appengine-java] Re: Datastore Backup in JAVA

2010-08-30 Thread Francois Masurel
There is, at the moment, not native Java tools for doing backup/ restore. You need to download the Python SDK. You coul also star the following issue : http://code.google.com/p/googleappengine/issues/detail?id=776 On Aug 30, 7:17 am, Star25 thiru.next...@gmail.com wrote: Can anyone tell me how