dev@glassfish.java.net

long GMBal stacktrace during QL (3.2 workspace)

From: Koper, Dies <diesk_at_fast.au.fujitsu.com>
Date: Wed, 15 Jun 2011 12:26:06 +1000

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