2 Replies Latest reply on Feb 27, 2013 6:29 AM by sekaijin

    activemq broker ans web console

    sekaijin

      Hi,

      I'm using SMX 4.1.1 and I can not see my queues in web console.

       

      if I execute the command activems:list

      I get

      karaf@hermes.1.0.4> activemq:list

      Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi

       

      BrokerName = default

      and if I install the web console

      I have the following list:

      karaf@hermes.1.0.4> features:install activemq-web-console

      karaf@hermes.1.0.4> activemq:list

      Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi

      BrokerName = web-console

       

      BrokerName = default

       

      why webconsole  she creates her own broker (BrokerName = web-console)?

      and why can not see my queues in the web console?

       

      I tried to add etc/system.properties as indicated on the website SMX

      webconsole.type=properties

      webconsole.jms.url=vm://default

      webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-hermes.1.0.4

      webconsole.jmx.user=admin

      webconsole.jmx.password=admin

       

       

      I also found a doc said to put these properties etc/org.apache.activemq.webconsole.cfg

       

      but neither one nor the other solves the problem.

       

      the url is correct because:

      karaf@hermes.1.0.4> activemq:list  --jmxurl service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-hermes.1.0.4 --jmxuser admin --jmxpassword admin

      BrokerName = web-console

       

      BrokerName = default

       

      how to view my queues in the activemq web console?

       

      A+JYT

        • 1. Re: activemq broker ans web console
          marc.lebeau

          In your system.properties, just try to replace

          webconsole.jms.url=vm://default

          with

          webconsole.jms.url=tcp://localhost:61616

           

          This should get rid of the 'web-console' jms server and the webconsole will display your local queues

          • 2. Re: activemq broker ans web console
            sekaijin

            Hello and thank you.

             

            if I do not put anything in system.properties, activemq-web-console starts correctly.

             

            if I put webconsole.jms.url=vm://default or webconsole.jms.url=tcp://localhost:61616

            it does not work I get:

            Can not resolve reference to bean 'brokerURL' while setting constructor argument;

             

            I'm running Karaf 2.2.2 ActiveMQ 5.5.1

             

            A+JYT