users@glassfish.java.net

WARNING Flashlight listener registration failed + log level

From: Martin Landl <martin.landl_at_runtastic.com>
Date: Mon, 08 Oct 2012 12:07:55 +0200

Hi!

I've noticed a ton of WARNING entries in out server.log:
[#|2012-09-28T13:22:55.482+0000|WARNING|oracle-glassfish3.1|javax.enterprise.system.tools.monitor.org.glassfish.admin.monitor|_ThreadID=1;_ThreadName=Thread-1;|MNTG0201:Flashlight
listener registration failed for listener class :
com.sun.ejb.monitoring.stats.StatelessSessionBeanStatsProvider , will
retry later |#

After a web search, mailing list search and some code tinkering I've not
found the solution for this yet.
We're using GlassFish Server 3.1 (build 43)

The warning message is triggered in StatsProviderManagerDelegateImpl.java:
logger.log(Level.WARNING, "ListenerRegistrationFailed", new Object[]
spInfo.getStatsProvider().getClass().getName()});
if (logger.isLoggable(Level.FINE)) logger.log(Level.FINE, "Listener
registration failed", rte);

using this logger:
private static final Logger logger =
LogDomains.getLogger(StatsProviderManagerDelegateImpl.class,
LogDomains.MONITORING_LOGGER);

I can't find the relevant module in my server's logging level configuration.

(1) How can I fine-tune my logging levels to show this Level.FINE log
for StatsProviderManagerDelegateImpl?
(2) Has anyone more information about what causes the above "...failed
for listener..." warning to occur?

regards,
Martin