EHC ❯ Ehcache does not work on app-engine 1.6.1 in production
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
ehcache-core
-
-
qa
-
Reporter: dot
-
January 20, 2012
-
0
-
Watchers: 2
-
January 25, 2012
-
Description
The following servlet gives an error on appEngine, in production mode (works fine in development mode)
@SuppressWarnings(“serial”) public class TestServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
long l = net.sf.ehcache.util.Timestamper.next();
resp.setContentType("text/plain");
resp.getWriter().println("Hello, world " + l);
\} \}
The problem lies in VicariousThreadLocal using an AtomicReferenceFieldUpdater which is not really supported by GAE
Comments
Fiona OShea 2012-01-23
Tim Eck 2012-01-24
would also be interesting to know if a monkey should/could have caught this?
Gautam Jayaprakash 2012-01-24
There is this monkey job: http://jenkinsmaster.terracotta.lan:9000/job/googleappengine-ehcache-check/, not sure who maintains that test…
Fiona OShea 2012-01-24
Nobody really “owns” GAE afaik. But Dev will fix something if it needs to be attended to.
Fiona OShea 2012-01-25
HI Dotan My comment was intended for our Development team and QA Team. Although that was not clear.
EHC-617 was a problem not with Ehcache but with Google App Engine itself. We will prioritise and assign this issue within the next couple of days. Regards Fiona
Can you try to reproduce the issue?