EHC ❯ ehcache-core-2.4.6 failed to run in GAE
-
Bug
-
Status: Closed
-
0 Showstopper
-
Resolution: Fixed
-
ehcache-core
-
-
hhuynh
-
Reporter: hhuynh
-
October 17, 2011
-
0
-
Watchers: 1
-
July 27, 2012
-
October 25, 2011
Description
Thread is spawn prematurely even when rejoin isn’t enabled.
http://forums.terracotta.org/forums/posts/list/6076.page#31127
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:355)
at java.security.AccessController.checkPermission(AccessController.java:567)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45)
at com.google.apphosting.runtime.security.CustomSecurityManager.checkAccess(CustomSecurityManager.java:112)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)
at java.lang.Thread.init(Thread.java:353)
at java.lang.Thread.
More instances of thread violation
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:355) at java.security.AccessController.checkPermission(AccessController.java:567) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45) at com.google.apphosting.runtime.security.CustomSecurityManager.checkAccess(CustomSecurityManager.java:112) at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315) at java.lang.ThreadGroup.checkParentAccess(ThreadGroup.java:135) at java.lang.ThreadGroup.(ThreadGroup.java:117)
at java.lang.ThreadGroup.(ThreadGroup.java:96)
at net.sf.ehcache.terracotta.TerracottaClient$1.(TerracottaClient.java:64)
at net.sf.ehcache.terracotta.TerracottaClient.(TerracottaClient.java:63)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:383)
at net.sf.ehcache.CacheManager.init(CacheManager.java:352)