2 Replies Latest reply on Nov 2, 2012 3:37 AM by Dhivya Swaminathan

    Can FuseMq and Fuse ESB Activemq run in same JVM?

    Dhivya Swaminathan Newbie

      Can FuseMQ enterprise karaf and Fuse ESB karaf(having activemq as a osgi feature)run in a same JVM?

       

      I have changed the Fuse MQ enterprise port to run in 8383 as Fuse ESB karaf's activemq can take the default port 8181 i. e. http://localhost:8181/activemqweb/index.jsp

       

      org.ops4j.pax.web

      -


       

      javax.servlet.context.tempdir = D:
      FuseMQEnterprise-7.0.0
      data/pax-web-jsp

      org.osgi.service.http.port = 8383

      org.ops4j.pax.web.config.file = D:
      FuseMQEnterprise-7.0.0/etc/jetty.xml

      org.apache.karaf.features.configKey = org.ops4j.pax.web

       

      to make both the activemq bundles running.But I find the instance running in both 8181 and 8383.

       

      If both the consoles can run in same JVM,will duplication of queues occur?

        • 1. Re: Can FuseMq and Fuse ESB Activemq run in same JVM?
          Claus Ibsen Master

          I assume you mean same box, and not same JVM. Yes they can run on the same box. For that you would need to ensure they use different ports.

          • 2. Re: Can FuseMq and Fuse ESB Activemq run in same JVM?
            Dhivya Swaminathan Newbie

            HI,

             

            I have installed Fuse ESB Activemq and Fuse MQ with different ports running on 8181 and 8383 respectively.And the system.properties files are correspondingly

             

            Fuse ESB Activemq

            -


            1. Activemq configuration

            activemq.port = 61616

            activemq.host = localhost

            activemq.url = tcp://${activemq.host}:${activemq.port}

             

            1. Activemq JMX configuration

            activemq.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-${karaf.name}

            activemq.jmx.user=smx

            activemq.jmx.password=smx

             

            1. Activemq Webconsole configuration

            webconsole.type=properties

            webconsole.jms.url=${activemq.url}

            webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-${karaf.name}

            webconsole.jmx.user=smx

            webconsole.jmx.password=smx

            webconsole.jms.user=activemq

            webconsole.jms.password=activemq

             

            FuseMQ

            -


            1. Activemq configuration

            activemq.port = 62626

            activemq.host = localhost

            activemq.url = tcp://${activemq.host}:${activemq.port}

             

            1. Activemq JMX configuration

            activemq.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1999/karaf-${karaf.name}

            activemq.jmx.user=karaf

            activemq.jmx.password=karaf

             

            1. Activemq Webconsole configuration

            webconsole.type=properties

            webconsole.jms.url=${activemq.url}

            webconsole.jmx.url=${activemq.jmx.url}

            webconsole.jmx.user=karaf

            webconsole.jmx.password=karaf

            webconsole.jms.user=fusemq

            webconsole.jms.password=fusemq

             

            I am able to create queues using the console and send/receive msgs thru FUSE MQ console,but with Fuse ESB activemq,i am getting JMS exception.attached screenshot for reference.Pls clarify