quality@glassfish.java.net

Re: error deploying with SecurityManager enabled

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Fri, 23 Oct 2009 19:53:59 +0200

the log:

[#|2009-10-23T19:50:58.932+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=39;_ThreadName=Thread-1;|JACC
Policy Provider: Failed Permission Check, context(hudson/hudson)-
permission((org.osgi.framework.AdminPermission (id=207)
resolve,resource))|#]

[#|2009-10-23T19:50:59.008+0200|INFO|glassfish|javax.enterprise.system.core.security|_ThreadID=39;_ThreadName=Thread-1;|JACC
Policy Provider: Failed Permission Check, context(hudson/hudson)-
permission((java.lang.RuntimePermission createClassLoader))|#]

[#|2009-10-23T19:50:59.009+0200|SEVERE|glassfish|hudson.security.HudsonFilter|_ThreadID=39;_ThreadName=Thread-1;|Failed
to initialize Hudson
java.lang.ExceptionInInitializerError
        at hudson.security.HudsonFilter.init(HudsonFilter.java:103)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
        at hudson.model.Hudson.<clinit>(Hudson.java:3336)
        ... 30 more
|#]

[#|2009-10-23T19:50:59.043+0200|WARNING|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=39;_ThreadName=Thread-1;|StandardWrapperValve[Stapler]:
PWC1406: Servlet.service() for servlet Stapler threw exception
java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson
        at hudson.security.csrf.CrumbFilter.getCrumbIssuer(CrumbFilter.java:36)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
|#]