[appengine-java] Re: Tasks will not run automatically

2010-03-20 Thread Torquester
I tried that, the property is not set. The call returns null. Seems to be an issue with appengine 1.2.6. I've now upgraded to 1.3.1 and it works there. Thanks a lot for your help! On Mar 19, 4:11 pm, m seleron wrote: > Hi, > Thank you for trying. > > Please confirm the following return values.

[appengine-java] Re: Does memcache get clean when new version deployed and made to be the default one?

2010-03-20 Thread ZeroCool
Well, if you don't have trillions of data in memcache, you can simply create a Servlet like this: public class Flush extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { MemcacheService memcache = MemcacheSer

Re: [appengine-java] Re: Tasks will not run automatically

2010-03-20 Thread m seleron
Thank you for trying various Cheers, 2010/3/20 Torquester : > I tried that, the property is not set. The call returns null. > > Seems to be an issue with appengine 1.2.6. I've now upgraded to 1.3.1 > and it works there. > > Thanks a lot for your help! > > On Mar 19, 4:11 pm, m seleron wrote: >> H

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Steve Pritchard
Thanks for the tip. I am in the same boat in that I do not use JDO etc. I also do not need GWT stuff. So I deleted: datanucleus-appengine-1.0.5.final.jar datanucleus-core-1.1.5.jar datanucleus-jpa-1.1.5.jar geronimo-jpa_3.0_spec-1.1.1.jar geronimo-jta_1.1_spec-1.1.1.jar gwt-servlet.jar jdo2-api-

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Steve Pritchard
Update to previous post. I am measuring elapsed time (what I really care about), not CPU secs. I could not figure out how a cold start was so fast (1200ms). Steve On Mar 20, 10:26 am, Steve Pritchard wrote: > Thanks for the tip.  I am in the same boat in that I do not use JDO > etc. I also do not

[appengine-java] Java Web Start with GAE for Java

2010-03-20 Thread vanosten
Hi I am trying to distribute a Java application using Java Web Start from GAE for Java. However I get 404 errors for both the .jnlp file and the .war file. In the appengine-web.xml I have specified:

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Spines
Hey Steve, Yea, the elapsed time is usually higher than CPU usage, but I think maybe because I was doing my testing late last night I lucked into really low elapsed time too. I checked my cold start time this morning, and elapsed time was 2867ms with 1010cpu_ms. Here are some lines from my logs:

[appengine-java] Re: Java Web Start with GAE for Java

2010-03-20 Thread vanosten
Sorry. I feel so stupid that the solution came into my mind AFTER submitting a question :-( There were two errors: * I am using a web-alias. Using the appspot.com url diretly solved the problem. * The extension must be .jar, not .war in static-files On 20 Mar., 16:27, vanosten wrote: > Hi > > I

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Spines
I definitely want async datastore operations. Looks like there is an issue in the issue tracker now - http://code.google.com/p/googleappengine/issues/detail?id=2817 On Feb 14, 8:02 pm, Ivan Pardo wrote: > async datastore operations would be incredibly useful > > On Jan 23, 1:09 am, John Patterso

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Tristan
i think there are already async datastore operations, although not yet documented. i'd love for you guys to check this out and tell me what you think John Patterson uses async datastore calls in his twig-persist, see here: http://code.google.com/p/twig-persist/wiki/Using#Parallel_Asynchronous_Comm

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Tristan
to add a comment.. perhaps John, you could elaborate on what makeAsyncCall means in your code? and how is what you're asking for different? On Mar 20, 12:09 pm, Tristan wrote: > i think there are already async datastore operations, although not yet > documented. i'd love for you guys to check thi

[appengine-java] Re: Async Datastore API

2010-03-20 Thread Tristan
i read http://groups.google.com/group/google-appengine-java/browse_thread/thread/aafbeb679a6e6790/a26aebbe4d4cd0b2#a26aebbe4d4cd0b2, now i get the difference. I'm still curious where does "method" name come from? On Mar 20, 12:10 pm, Tristan wrote: > to add a comment.. perhaps John, you could e

Re: [appengine-java] Re: Async Datastore API

2010-03-20 Thread John Patterson
On 21 Mar 2010, at 00:23, Tristan wrote: i read http://groups.google.com/group/google-appengine-java/browse_thread/thread/aafbeb679a6e6790/a26aebbe4d4cd0b2#a26aebbe4d4cd0b2 , now i get the difference. I'm still curious where does "method" name come from? That is just "Get" of "Put" or "RunQ

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Steve Pritchard
Hi, As I explained in http://groups.google.com/group/google-appengine-java/browse_thread/thread/e1a7cab9b74d087c# I have the notion of cold/warm/hot. It calculates and records the service time when the top left-most GEM is pressed.. Hovering over the gem after it returns will show the stats. A c

[appengine-java] Re: Error During Eclipse Install

2010-03-20 Thread Talmage
I have also tried downgrading to Eclipse 3.4 and I still get the same message. Finally, I tried installing the 32bit JDK and the 32bit Eclipse 3.4 and 3.5, same issue. On Mar 19, 2:23 pm, Talmage wrote: > I have been able to get the GWT plugin and GWT Web SDK installed ok > through Eclipse, but

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Spines
Hi Steve, I read your link. What I am referring to does include JVM startup. Those are the times I get right after a redeploy. Here are some more lines from my logs, included with my info logs that I omitted last time: 03-20 04:07PM 41.084 /donothing 200 891ms 796cpu_ms 0kb Mozilla/5.0, AC.Log in

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Steve Pritchard
Thanks Kyle, Your blog was very insightful. I am not sure why your JVM spins up so fast and mine takes upwards of 5000ms. I have several .jar files of my own and probably instantiate 3 or 4 dozen classes in order to serve my home page. My JSPs are all precompiled. There is only MemCache access

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Spines
The JVM Id is just a random number I assign to the JVM at startup time. I just call new Random().nextLong(). http://code.google.com/appengine/kb/java.html#How_To_Detect_Loading_Requests explains how to know when a JVM is starting up. On Mar 20, 6:22 pm, Steve Pritchard wrote: > Thanks Kyle, > >

[appengine-java] Re: Is it possible to not include some of the core GAE libraries when you publish to production?

2010-03-20 Thread Steve Pritchard
Thanks Kyle, But too bad, I thought you had figured out a way to know if there is a machine swap. As for knowing if I am being reloaded, I have a static class variable that if it loses its value I assume we are starting again. Is that logic sound? or do I need this SessionListener the reference

[appengine-java] Sockets and applets

2010-03-20 Thread t3jem
I have seen very vague information on the internet about whether or not GAE allows socket connections on the server and Japplets being embeddable in an application. I know there is no right out easy way to do it, but I am looking to write a game that would be best if I can use a graphical interfac

Re: [appengine-java] Sockets and applets

2010-03-20 Thread John Patterson
On 21 Mar 2010, at 11:29, t3jem wrote: I have seen very vague information on the internet about whether or not GAE allows socket connections on the server and Japplets being embeddable in an application. No sockets on GAE. There was a thread here a while ago about games on GAE and I believ

[appengine-java] Re: Security Exception using Guice Servlet

2010-03-20 Thread steveb
OK, so I'm still digging and don't have answer yet but I thought I'd give an update in case it sparks an idea and it'll be useful as a future reference. Firstly getting to the real error is a challenge because Guice on Appengine does a lot of recursion when creating dependency trees. In this case