[google-appengine] Re: Memcache broken with Always On?

2010-12-16 Thread Tom Phillips
Certainly Ikai, Firstly, some of my logs (url and classes slightly modified to hide some app details) that show how only the same instance picks up the entry. I'm determining and logging the instance using a UUID that I assign to a static class variable. The key for the cache lookup is passed in a

[google-appengine] Re: Memcache broken with Always On?

2010-12-17 Thread Erik
Not sure if it is related, but I was getting some interesting memcache errors that I had to work around: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.WikiHop

[google-appengine] Re: Memcache broken with Always On?

2010-12-17 Thread Erik
Missed some more errors: Caused by: java.io.InvalidClassException: com.WikiHop.jdo.Pi; local class incompatible: stream classdesc serialVersionUID = -6007756724690804603, local class serialVersionUID = -1398789866 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:579)

[google-appengine] Re: Memcache broken with Always On?

2010-12-17 Thread Tom Phillips
Hit Erik, >From your stack trace, I think you are seeing something else. Have you got an explicit serialVersionUID set in the com.WikiHop.jdo.Pi class (your key is OK I think) that you are putting into Memcache? And if so has it changed at some point? It looks like you may be either trying to read

[google-appengine] Re: Memcache broken with Always On?

2010-12-17 Thread Tom Phillips
Sorry, don't "Hit" Erik. Say "Hi" to him ;) On Dec 17, 10:46 am, Tom Phillips wrote: > Hit Erik, > > From your stack trace, I think you are seeing something else. Have you > got an explicit serialVersionUID set in the com.WikiHop.jdo.Pi class > (your key is OK I think) that you are putting into M

[google-appengine] Re: Memcache broken with Always On?

2010-12-19 Thread Tom Phillips
Through trial and error, I figured out that I was using it wrong. With the JCache API, you have to make sure that you "create" and register the cache once on each GAE instance (JVM) before you can just do a getCache(String cachename) on it within that JVM. So even in code that only reads from the