I'm using the latest cvs snapshot and I have added two custom mbeans to the end of
jboss.jcml
file. The mbeans in the file before mine are not being initialized completely before my
preRegister method is called. What is the correct way to register my mbeans such that
the jboss mbeans are fully initialized before my mbeans are loaded?
bash-2.04$ run.bat
Using configuration "default"
[Info] Java version: 1.3.0_01,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Client VM 1.3.0_01,Sun Microsystems Inc.
[Info] System: Windows 2000 5.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
[Default] LogSetup, created DSLog instance
[Default] LogSetup MBean created log: .\dscape.log
[Default] ProjectDirContext MBean created, projectsRootPath=/temp/project_repository
[Default] LogSetup MBean created log: D:\tmp\logs\dscape.log
[Default] LogSetup MBean setLogDirectory: D:\tmp\logs
[Default] LogSetup MBean created log: \tmp\logs\dscape.log
[Default] LogSetup MBean setLogDirectory: \tmp\logs
... // The jboss mbeans/services are now initialized
[Service Control] Initializing 19 MBeans
[Webserver] Initializing
[Webserver] Initialized
[Naming] Initializing
[Naming] Initialized
[Transaction manager] Initializing
[Transaction manager] Initialized
[JAAS Security Manager] Initializing
[JAAS Security Manager] Initialized
[Simple Realm Mapping] Initializing
[Simple Realm Mapping] Initialized
...