• 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.(Thread.java:437) at net.sf.ehcache.terracotta.TerracottaClient$RejoinWorker.(TerracottaClient.java:319) at net.sf.ehcache.terracotta.TerracottaClient$RejoinWorker.(TerracottaClient.java:317) at net.sf.ehcache.terracotta.TerracottaClient.(TerracottaClient.java:56) at net.sf.ehcache.CacheManager.init(CacheManager.java:330) at net.sf.ehcache.CacheManager.(CacheManager.java:291) at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$5.run(AbstractAutowireCapableBeanFactory.java:1467)

Comments

Hung Huynh 2011-10-25

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)