I'm running JBOSS 3.2.7 and I've added the LoggingMonitor jar.
I'm currently getting this error message during bootup:


2006-04-13 20:27:28,275 WARN  
[org.jboss.services.loggingmonitor.LoggingMonitor] Unable to log attributes for 
mbean: jboss.web:type=ThreadPool,name=jk-8009
javax.management.InstanceNotFoundException: 
jboss.web:type=ThreadPool,name=jk-8009 is not registered.
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:454)
        at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:433)
        at 
org.jboss.services.loggingmonitor.MonitoredMBean.logAttributes(MonitoredMBean.java:101)
        at 
org.jboss.services.loggingmonitor.LoggingMonitorTimerTask.run(LoggingMonitorTimerTask.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)


I realize this is because the LoggingMonitor mbean starts before the mbean that 
I'm trying to monitor.  I think need to setup a dependency in the 
LoggingMonitor mbean but this doesn't work for 
"jboss.web:type=ThreadPool,name=jk-8009" because it is not a service mbean.
So...
Is there a way I can set the LoggingMonitor to load last?
Is there something that loads at the end of the boot process that I can make it 
depend on?

Any help would be appreciated.
thanks,
      Tim


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937275#3937275

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937275


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to