0 Replies Latest reply on Jun 7, 2013 5:45 AM by snake86

    generic problem on active-mq

    snake86

      Also i've same problem, my configuration is two fabric server. Master have one container that manage activemq broker (broker1) and slave fabric (join fabric master ) have another container (broker2). Both container have same profile (mq-profile) that inherits from mq-base.

       

       

      FuseESB:admin@root> fabric:cluster-list

      [cluster]                      [masters]                      [slaves]                       [services]

      fusemq/default

         mq-profile                  broker1                        broker2                        tcp://esb.xxxxxxx.com:34844

       

       

      FuseESB:admin@root> fabric:container-list

      [id]                           [version] [alive] [profiles]                     [provision status]

      broker2                        1.0       true    mq-profile                     success

      root*                          1.0       true    fabric, fabric-ensemble-0000-1, fmc

        broker1                      1.0       true    mq-profile                     success

       

       

       

      From root container i've follow configuration:

       

      FuseESB:admin@root> web:list

         ID   State         Web-State       Level  Web-ContextPath           Name

      [ 279] [Active     ] [Deployed   ]  [   60] [/rest                   ] Fuse Fabric :: REST API (7.1.0.fuse-047)

      [ 280] [Active     ] [Deployed   ]  [   60] [/                       ] FMC :: Console Frontend (7.1.0.fuse-047)

       

      on broker1 on master fabric the follow configuration:

       

      admin@broker1> web:list

         ID   State         Web-State       Level  Web-ContextPath           Name

      [ 127] [Active     ] [Failed     ]  [   60] [/activemqweb            ] mq-web-console (5.7.0.fuse-71-047)

       

      instead on broker2 on slave fabric i've follow configuration:

       

      FuseESB:admin@broker2> web:list

         ID   State         Web-State       Level  Web-ContextPath           Name

      [ 313] [Active     ] [Deployed   ]  [   60] [/activemqweb            ] mq-web-console (5.7.0.fuse-71-047)

       

      So activemqweb is correctly deployed on broker2 and failed on broker1.

       

      I've properly configured webconsole.jms.user/password & webconsole.jmx.user/password on both broker.

       

      in addition when i check the log on broker1 i've the follow error :

       

      2013-06-04 19:15:46,890 | ERROR | Executor: 1      | WebXmlObserver                   | nder.war.internal.WebXmlObserver  171 | 125 - org.ops4j.pax.web.pax-web-extender-war - 1.1.9 | Could not parse web.xml

      java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@3354ee3 in org.eclipse.jetty.security.ConstraintSecurityHandler@6e0ea410

              at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:45)[103:org.eclipse.jetty.security:7.6.7.v20120910]

              at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:376)[103:org.eclipse.jetty.security:7.6.7.v20120910]

              at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:233)[103:org.eclipse.jetty.security:7.6.7.v20120910]

              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[90:org.eclipse.jetty.util:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:120)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[90:org.eclipse.jetty.util:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:729)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)[92:org.eclipse.jetty.servlet:7.6.7.v20120910]

              at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)[95:org.eclipse.jetty.server:7.6.7.v20120910]

              at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:93)[93:org.ops4j.pax.web.pax-web-jetty:1.1.9]

              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[90:org.eclipse.jetty.util:7.6.7.v20120910]

              at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:162)[93:org.ops4j.pax.web.pax-web-jetty:1.1.9]

              at org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:728)[74:org.ops4j.pax.web.pax-web-runtime:1.1.9]

              at org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:281)[74:org.ops4j.pax.web.pax-web-runtime:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end(RegisterWebAppVisitorWC.java:348)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:629)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0.fuse-71-047]

              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)[karaf.jar:2.3.0.fuse-71-047]

              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0.fuse-71-047]

              at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0.fuse-71-047]

              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0.fuse-71-047]

              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0.fuse-71-047]

              at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.deploy(WebXmlObserver.java:204)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:162)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:224)[125:org.ops4j.pax.web.pax-web-extender-war:1.1.9]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_32]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_32]

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_32]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_32]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_32]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_32]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_32]

              at java.lang.Thread.run(Thread.java:662)[:1.6.0_32]

       

       

      while on broker2 i've follow error :

       

      2013-06-04 15:04:30,118 | WARN  | qtp138459732-411 | ApplicationContextFilter         | ?                                   ? | 313 - org.fusesource.mq.mq-web-console - 5.7.0.fuse-71-047 | /activemqweb/index.jsp, failed to access BrokerFacade: reason: No broker is found at any of the 1 configured urls

       

      can somebody help me?

       

      Regard