-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final
-
None
-
None
SourceForge Submitter: wonnekeysers .
I configured the jboss:service=Mail in deploy/mail-
service.xml and
jboss.alerts:service=ConsoleAlertListener,
jboss.alerts:service=EmailAlertListener in deploy/monitor-
service.xml
Then I create a monitor for the FreeMemory attribute of
the jboss.system:type=ServerInfo service in the web-
console. The following exception occurs, but has no
meaning since the monitor is running correctly.
(org.jboss.monitor.alerts.EmailAlertListener.handleNotifica
tion should verify the notification type??)
C1/server/reg_prd/deploy/management/monitors/Free_me
mory-service.xml
2004-02-13 10:54:12,076 WARN
[org.jboss.system.ServiceController] Problem starting
service jboss.monitor:service=Free_memory
java.lang.reflect.UndeclaredThrowableException
at $Proxy41.handleNotification(Unknown Source)
at
javax.management.NotificationBroadcasterSupport.handle
Notification(NotificationBroadcasterSupport.java:98)
at
javax.management.NotificationBroadcasterSupport.sendN
otification(NotificationBroadcasterSupport.java:81)
at org.jboss.system.ServiceMBeanSupport.start
(ServiceMBeanSupport.java:219)
at sun.reflect.GeneratedMethodAccessor7.invoke
(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at
org.jboss.mx.server.ReflectedDispatcher.dispatch
(ReflectedDispatcher.java:72)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:70)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:187)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:480)
at
org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceController.java:825)
at $Proxy17.start(Unknown Source)
at org.jboss.system.ServiceController.start
(ServiceController.java:360)
at sun.reflect.GeneratedMethodAccessor8.invoke
(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at
org.jboss.mx.server.ReflectedDispatcher.dispatch
(ReflectedDispatcher.java:72)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:70)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:187)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:480)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:174)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start
(SARDeployer.java:250)
at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:833)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:643)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:606)
at sun.reflect.GeneratedMethodAccessor46.invoke
(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at
org.jboss.mx.server.ReflectedDispatcher.dispatch
(ReflectedDispatcher.java:72)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:70)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:187)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:480)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.de
ploy(URLDeploymentScanner.java:302)
at
org.jboss.deployment.scanner.URLDeploymentScanner.sc
an(URLDeploymentScanner.java:476)
at
org.jboss.deployment.scanner.AbstractDeploymentScann
er$ScannerThread.doScan
(AbstractDeploymentScanner.java:201)
at
org.jboss.deployment.scanner.AbstractDeploymentScann
er$ScannerThread.loop
(AbstractDeploymentScanner.java:212)
at
org.jboss.deployment.scanner.AbstractDeploymentScann
er$ScannerThread.run
(AbstractDeploymentScanner.java:191)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor4.invoke
(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at
org.jboss.mx.notification.NotificationListenerProxy.invoke
(NotificationListenerProxy.java:138)
... 44 more
Caused by: java.lang.ClassCastException
at
org.jboss.monitor.alerts.EmailAlertListener.handleNotificat
ion(EmailAlertListener.java:52)
... 48 more
2004-02-13 10:54:12,094 INFO
[org.jboss.deployment.MainDeployer] Deployed package:
file:/usr/local/jboss/jboss-
3.2.4RC1/server/reg_prd/deploy/management/monitors/Fr
ee_memory-service.xml
2004-02-13 10:54:12,097 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner]
MBeanException: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.monitor:service=Free_memory
state: FAILED
I Depend On: jboss.alerts:service=ConsoleAlertListener
jboss.alerts:service=EmailAlertListener
Depends On Me:
java.lang.reflect.UndeclaredThrowableException]
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.monitor:service=Free_memory
state: FAILED
I Depend On: jboss.alerts:service=ConsoleAlertListener
jboss.alerts:service=EmailAlertListener