[jboss-dev-forums] [Design of POJO Server] - JMX notifications - serverimpl

adrian@jboss.org do-not-reply at jboss.com
Sat Sep 16 09:38:15 EDT 2006


The new serverimpl doesn't do the notifications that Tomcat expects:


  | 2006-09-16 15:23:04,931 DEBUG [org.jboss.web.tomcat.tc6.Tomcat6] Starting failed jboss.web:service=WebServer
  | javax.management.RuntimeOperationsException
  |         at org.jboss.mx.server.MBeanServerImpl.addNotificationListener(MBeanServerImpl.java:748)
  |         at org.jboss.web.tomcat.tc6.Tomcat6.startService(Tomcat6.java:491)
  | <snipped/>
  | Caused by: java.lang.IllegalArgumentException: The MBean named exists but does not implement the NotificationBroadcaster interface.
  |         ... 48 more
  | 

I think(?) it is causing this problem at undeploy?


  | 2006-09-16 15:23:15,398 WARN  [org.jboss.management.j2ee.LocalJBossServerDomain] Destroying failed jboss.management.local:j2eeType=J2EEDomain,name=Manager
  | javax.management.RuntimeMBeanException
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:165)
  | <snipped>
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  |         at $Proxy20.getServiceName(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.listDeployers(MainDeployer.java:451)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  |         ... 42 more
  | Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
  |         at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
  |         at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:140)
  |         ... 49 more
  | 

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

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



More information about the jboss-dev-forums mailing list