[appengine-java] Re: Trying to use Ehcache 2.0.1 with web module

2010-05-04 Thread freak3y3
Hi Sérgio ,

fyi: these existing issues may be releated to your issue:

http://forums.terracotta.org/forums/posts/list/15/2718.page
https://jira.terracotta.org/jira/browse/EHC-617

regards,
Evan

On May 4, 12:39 pm, Sérgio Lopes slo...@gmail.com wrote:
 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érgiohttp://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.jav­a:
  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(CachingFil­ter.java:
  240)
         at

  net.sf.ehcache.constructs.web.filter.CachingFilter.doFilter(CachingFilter.j­ava:
  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.comgoogle-appengine-java%2b­unsubscr...@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.comgoogle-appengine-java%2b­unsubscr...@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 
 athttp://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted 
 text -

 - Show quoted text -

-- 
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.



[appengine-java] Re: 500 internal server error

2010-02-16 Thread freak3y3
You can try logging into App Engine Admin Panel (http://
appengine.google.com), select Logs and you can filter the Logs by
Error,Info,Debug,etc, and you might see the stacktrace where it
breaks in your code.

On Feb 14, 5:22 am, karthikeyan s.p spkarthikeya...@gmail.com
wrote:
 Hi,

  I have created a web application that can be accessed with this
 link,http://publicationnumbersearch.appspot.com/
 It gives 500 internal server error and I am not able to find why and
 what causes the problem. How can I find the problem and what would
 have been wrong here. Thanks.

 Karthi.

-- 
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.