org.xwiki.container.servlet.XWikiServletContextListener: java.lang.RuntimeException: Failed to find the Observation Manager component

XWiki.org JIRA | Vincent Massol | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    {noformat} 08:38:33,829 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xwiki]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class org.xwiki.container.servlet.XWikiServletContextListener: java.lang.RuntimeException: Failed to find the Observation Manager component at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:101) [xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33] Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.observation.internal.DefaultObservationManager] identifier by [role = [interface org.xwiki.observation.ObservationManager] hint = [default]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:316) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:143) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:99) [xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:] ... 8 more Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup Event Listeners at org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:139) [xwiki-commons-observation-local-4.2-20120625.154746-42.jar:] at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] ... 10 more Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.xwiki.observation.EventListener] hint = [LogbackEventGenerator]] at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:175) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:157) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceList(DelegateComponentManager.java:89) [xwiki-commons-component-api-4.2-20120625.154600-43.jar:] at org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:135) [xwiki-commons-observation-local-4.2-20120625.154746-42.jar:] ... 14 more Caused by: java.lang.ClassCastException: org.slf4j.impl.Slf4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext at org.xwiki.logging.logback.internal.LogbackUtils.getRootLogger(LogbackUtils.java:48) [xwiki-commons-logging-logback-4.2-20120626.083745-42.jar:] at org.xwiki.logging.logback.internal.LogbackEventGenerator.initialize(LogbackEventGenerator.java:97) [xwiki-commons-logging-logback-4.2-20120626.083745-42.jar:] at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:173) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:] ... 17 more {noformat}

    XWiki.org JIRA | 5 years ago | Vincent Massol
    org.xwiki.container.servlet.XWikiServletContextListener: java.lang.RuntimeException: Failed to find the Observation Manager component
  2. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  3. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    SWTBot/Troubleshooting - Eclipsepedia

    eclipse.org | 1 year ago
    java.lang.ClassCastException: org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:331) at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208) at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.slf4j.impl.Slf4jLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

      at org.xwiki.logging.logback.internal.LogbackUtils.getRootLogger()
    2. org.xwiki.logging
      LogbackEventGenerator.initialize
      1. org.xwiki.logging.logback.internal.LogbackUtils.getRootLogger(LogbackUtils.java:48)[xwiki-commons-logging-logback-4.2-20120626.083745-42.jar:]
      2. org.xwiki.logging.logback.internal.LogbackEventGenerator.initialize(LogbackEventGenerator.java:97)[xwiki-commons-logging-logback-4.2-20120626.083745-42.jar:]
      2 frames
    3. org.xwiki.component
      DelegateComponentManager.getInstanceList
      1. org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      2. org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      3. org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      4. org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:173)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      5. org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:157)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      6. org.xwiki.component.internal.multi.DelegateComponentManager.getInstanceList(DelegateComponentManager.java:89)[xwiki-commons-component-api-4.2-20120625.154600-43.jar:]
      6 frames
    4. org.xwiki.observation
      DefaultObservationManager.initialize
      1. org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:135)[xwiki-commons-observation-local-4.2-20120625.154746-42.jar:]
      1 frame
    5. org.xwiki.component
      EmbeddableComponentManager.getInstance
      1. org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      2. org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      3. org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      4. org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      5. org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:143)[xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      5 frames
    6. org.xwiki.container
      XWikiServletContextListener.contextInitialized
      1. org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:99)[xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:]
      1 frame
    7. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)[jbossweb-7.0.13.Final.jar:]
      2 frames
    8. JBoss Web
      WebDeploymentService.start
      1. org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
      1 frame
    9. JBoss Modular Service Container
      ServiceControllerImpl$StartTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      2 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[classes.jar:1.6.0_33]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[classes.jar:1.6.0_33]
      3. java.lang.Thread.run(Thread.java:680)[classes.jar:1.6.0_33]
      3 frames