]
RH Bugzilla Integration commented on WFLY-3557:
-----------------------------------------------
Martin Velas <mvelas(a)redhat.com> changed the Status of [bug
Sever level MBean hasn't been initialized yet when a web app
starts up, causing javax.management.InstanceNotFoundException
--------------------------------------------------------------------------------------------------------------------------
Key: WFLY-3557
URL:
https://issues.jboss.org/browse/WFLY-3557
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (JBoss Web)
Affects Versions: JBoss AS7 7.2.0.Final
Reporter: Osamu Nagano
Assignee: Remy Maucherat
Attachments: module.xml, TestWAR.war, test_valve.jar
With "-Dorg.apache.tomcat.util.ENABLE_MODELER=true", server level MBeans like a
global valve become available. Those should be visible from start phase of a web app,
though sometimes those are missing and javax.management.InstanceNotFoundException is
thrown. This sporadically happens due to the parallel nature of WildFly start up. It is
reproducible by using a debugger (Eclipse is better than JDB, because JDB stops all
threads).