Hi Jason If you have any news please tell us. As you said, I cross-posted this question in Ehcache forum too:
http://forums.terracotta.org/forums/posts/list/0/3600.page Sérgio http://www.caelum.com.br On Tue, May 4, 2010 at 13:08, Jason (Google) <apija...@google.com> wrote: > Hi Sergio. I'll try to test this out soon. If you haven't already, you may > want to post this in the Ehcache forums also since they can probably help > you debug the issue faster: > > - Jason > > On Mon, May 3, 2010 at 1:54 AM, Sergio Lopes <slo...@gmail.com> wrote: > >> Hi everybody >> >> Ehcach announced recently their AppEngine support. I'm using version >> 2.0.1 (latest stable release) with Ehcache Web Module. I'm using >> SimpleCachingHeadersPageCachingFilter to cache page results. >> >> When I run my application, I'm getting an AccessControlException >> because Ehcache Web is trying to do something nasty to the current >> Thread (of course, gae does not allow): >> >> java.security.AccessControlException: access denied >> (java.lang.RuntimePermission modifyThread) >> at >> >> java.security.AccessControlContext.checkPermission(AccessControlContext.java: >> 323) >> at >> java.security.AccessController.checkPermission(AccessController.java: >> 546) >> at >> java.lang.SecurityManager.checkPermission(SecurityManager.java:532) >> at com.google.appengine.tools.development.DevAppServerFactory >> $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) >> at com.google.appengine.tools.development.DevAppServerFactory >> $CustomSecurityManager.checkAccess(DevAppServerFactory.java:203) >> at java.lang.Thread.checkAccess(Thread.java:1287) >> at java.lang.Thread.setName(Thread.java:1068) >> at >> >> net.sf.ehcache.constructs.web.filter.CachingFilter.buildPageInfo(CachingFilter.java: >> 240) >> at >> >> net.sf.ehcache.constructs.web.filter.CachingFilter.doFilter(CachingFilter.java: >> 185) >> at >> net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) >> .... >> >> Is there anyone here using Ehcache on GAE? And specifically, Ehcache >> Web Module? >> I read that ehcache filter implementation and it really seems to call >> things restricted by gae >> >> I followed the instructions found on Ehcache website: >> http://ehcache.org/documentation/googleappengine.html >> http://ehcache.org/documentation/web_caching.html >> >> Is Ehcache really GAE compatible? >> >> Tks >> Sérgio Lopes >> >> -- >> 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-j...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> >> > -- > 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-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.