dev@glassfish.java.net

Re: long GMBal stacktrace during QL (3.2 workspace)

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Wed, 15 Jun 2011 09:22:32 -0400

Looks like it could be a bug. Can you file an issue?

On 6/14/2011 10:26 PM, Koper, Dies wrote:
> Since last month I've raised my suspicions here regarding some errors I
> saw in server.log during QL and they all turned out to be bugs so I will
> continue doing that.
>
> In the middle of EJB tests Hudson (and my local environment) shows a
> long GMBal stacktrace:
>
> http://hudson.glassfish.org/job/gf-trunk-build-continuous/lastSuccessful
> Build/artifact/bundles/server-gp.log
>
> [#|2011-06-14T15:58:39.826-0700|WARNING|glassfish3.2|org.glassfish.gmbal
> .impl|_ThreadID=24;_ThreadName=Thread-1;|"GMBAL603: Could not register
> root with ObjectName
> amx:pp=/mon/server-mon[server],type=jdbc-connection-pool-app-mon,name=re
> sources/DerbyPool/slsbnicmt"
> java.lang.IllegalArgumentException: WARNING: "GMBAL603: Could not
> register root with ObjectName
> amx:pp=/mon/server-mon[server],type=jdbc-connection-pool-app-mon,name=re
> sources/DerbyPool/slsbnicmt"
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [...]
> Caused by: java.lang.RuntimeException: Can't add NotificationListener
> [...]
> Caused by: java.security.AccessControlException: access denied
> (javax.management.MBeanPermission
> javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServer
> Delegate] addNotificationListener)
>
> Is this part of a test? A known issue?
>
> Thanks,
> Dies
>
>