You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by A G <sk...@outlook.com> on 2015/09/27 04:13:04 UTC

java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")‏

We tried Tapestry 5.4 beta 35 on GAE and set:
configuration.add(SymbolConstants.RESTRICTIVE_ENVIRONMENT, true);configuration.add("tapestry.thread-pool-enabled", false);
But we still have thread group error:
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)at java.security.AccessController.checkPermission(AccessController.java:559)at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)  
at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:429)...
Any idea what is the right way to make it work on GAEJ?
Thanks!Actions  A G   10:07 PM  To: users-subscribe@tapestry.apache.org Bcc: jem.mel.tan@gmail.com
We tried Tapestry 5.4 beta 35 on GAE and set:
configuration.add(SymbolConstants.RESTRICTIVE_ENVIRONMENT, true);
configuration.add("tapestry.thread-pool-enabled", false);


But we still have thread group error:


Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)


at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:429)
...


Any idea what is the right way to make it work on GAEJ?


Thanks!