Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6164

FabricWebRegistrationHandler - Failed to register servlet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • jboss-fuse-6.1
    • Fabric8 v1
    • None
    • % %
      • Create fabric with 6.1 R4P3
      • repeteadly perform following steps until you get the exception:
        1. join container using fabric:join
        2. remove it from root by executing container-delete --force

      When container joins fabric (using fabric:join) it sometimes throw following exception.

      2016-10-07 08:12:37,791 | ERROR | onStateManager-0 | FabricWebRegistrationHandler     | web.FabricWebRegistrationHandler  182 | 258 - io.fabric8.fabric-web - 1.0.0.redhat-472 | Failed to register servlet /jolokia.
      io.fabric8.api.scr.InvalidComponentException: Reference not available
              at io.fabric8.api.scr.ValidatingReference.get(ValidatingReference.java:61)[61:io.fabric8.fabric-api:1.0.0.redhat-454]
              at io.fabric8.web.FabricWebRegistrationHandler.registerServlet(FabricWebRegistrationHandler.java:178)[258:io.fabric8.fabric-web:1.0.0.redhat-472]
              at io.fabric8.web.FabricWebRegistrationHandler.servletEvent(FabricWebRegistrationHandler.java:130)[258:io.fabric8.fabric-web:1.0.0.redhat-472]
              at io.fabric8.web.FabricWebRegistrationHandler.replay(FabricWebRegistrationHandler.java:150)[258:io.fabric8.fabric-web:1.0.0.redhat-472]
              at io.fabric8.web.FabricWebRegistrationHandler.stateChanged(FabricWebRegistrationHandler.java:87)[258:io.fabric8.fabric-web:1.0.0.redhat-472]
              at org.apache.curator.framework.state.ConnectionStateManager$2.apply(ConnectionStateManager.java:189)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at org.apache.curator.framework.state.ConnectionStateManager$2.apply(ConnectionStateManager.java:185)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[84:com.google.guava:15.0.0]
              at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at org.apache.curator.framework.state.ConnectionStateManager.processEvents(ConnectionStateManager.java:182)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at org.apache.curator.framework.state.ConnectionStateManager.access$000(ConnectionStateManager.java:42)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at org.apache.curator.framework.state.ConnectionStateManager$1.call(ConnectionStateManager.java:108)[54:io.fabric8.fabric-zookeeper:1.0.0.redhat-454]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_111]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_111]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_111]
              at java.lang.Thread.run(Thread.java:745)[:1.7.0_111]
      

              Unassigned Unassigned
              knetl.j@gmail.com Jakub Knetl (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: