quality@glassfish.java.net

Re: error deploying with SecurityManager enabled

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Fri, 23 Oct 2009 20:21:16 +0200

well, here it is broken :)

with security enabled I was able to access the Administration
Console.. but I was not able to deploy and run Hudson..

On Fri, Oct 23, 2009 at 8:15 PM, Sudipa Bhattacharya
<Sudipa.Bhattacharya_at_sun.com> wrote:
> Hi Felipe,
>
> This issue is fixed in b69.
> My jsp tests were also earlier failing due to issue  10172.[https://glassfish.dev.java.net/issues/show_bug.cgi?id=10172].
>
> I just verified with b69. It is fixed now.
>
> Thanks,
> Sudipa
>
> ----- Original Message -----
> From: Felipe Ga�cho <fgaucho_at_gmail.com>
> Date: Friday, October 23, 2009 11:09 am
> Subject: Re: error deploying with SecurityManager enabled
> To: quality_at_glassfish.dev.java.net
>
>
>> 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
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>  For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>



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