Bugs item #896393, was opened at 2004-02-13 11:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=896393&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Wonne Keysers (wonnekeysers)
Assigned to: Nobody/Anonymous (nobody)
Summary: Exception logged when creating alert monitor
Initial Comment:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=896393&group_id=22866
-------------------------------------------------------
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