When SnmpAgent is loaded in JBoss it read 3 files (managers.xml, notifications.xml and mbeans.xml).

However, at that moment our application services haven't been
loaded by JBoss yet. As a result, I cannot specify these
services in mbeans.xml, because the services don't
exist yet.

How do I get around this chicken and egg problem? SnmpAgent
has to be first because it has to send a trap when our services
are started, but our services have to be there before SnmpAgent
because otherwise they aren't recognized by SnmpAgent when
mbeans.xml is parsed.

Or is there a way of registering a service with an already
running SnmpAgent when it is loaded?



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to