1 Reply Latest reply on Jul 15, 2004 10:00 AM by Adrian Brock

    16:59:32,547 ERROR [WebLifecycleListener] Could not register

    ittay Newbie

      (jboss 3.2.5)

      i have a servlet listener, inside my ear

      in contextInitialized, i do the following code:

      MBeanServer server =
      (MBeanServer) MBeanServerFactory.createMBeanServer();
      try {
      server.addNotificationListener(new ObjectName("jboss.web", "service", "WebServer"), instance, null, null);
      } catch (Exception e) {
      log.error("Could not register webserver notificaiton", e);
      }


      and i get an exception, in the jmx console, i see the mbean as started.

      thanx,
      ittay