quality@glassfish.java.net

Re: error deploying with SecurityManager enabled

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

I disabled the security to able to continue to code here... let me
know when it get back to work.

How to reproduce the problem:

1) install a fresh nightly build of GF.
2) enable security
3) deploy Hudson 1.329

access hudson..

I am on Linux Ubuntu 9.04, x86 machine.. java 1.6.0_16, browser firefox :)



2009/10/23 Felipe Gaścho <fgaucho_at_gmail.com>:
> 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)
> |#]
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl