activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weatherby,Gerard" <>
Subject Second instance uses wrong pid
Date Thu, 13 Aug 2015 13:52:53 GMT
ActiveMQ 5.11.1

We have multiple instances running on the same server. This were created using the activemq
script "create" command and then changing the openwire port in activemq.xml and the web port
in jetty.xml. All transports other than openwire are commented out.
The instances are in sibling directories:
Et. al.

The correct pids are in the corresponding data/ files.

When I execute "qbio query" it finds and queries the activemq instance of a different server.
From the log message, it seems to have something to do with jmxServiceUrl, but I don't understand
what that's about. Here's the top lines of output, ending with the wrong pid:

INFO: Loading '/usr/local/apache-activemq-5.11.1/bin/env'
INFO: Using java '/usr/lib/jvm/jdk1.8.0_45/jre/bin/java'
Java Runtime: Oracle Corporation 1.8.0_45 /usr/lib/jvm/jdk1.8.0_45/jre
  Heap sizes: current=1005056k  free=989327k  max=1005056k
    JVM args: -Xms1G -Xmx1G
-Dactivemq.classpath=/usr/local/apache-activemq-5.11.1/qbio/conf: -Dactivemq.home=/usr/local/apache-activemq-5.11.1
-Dactivemq.base=/usr/local/apache-activemq-5.11.1/qbio -Dactivemq.conf=/usr/local/apache-activemq-5.11.1/qbio/conf
Extensions classpath:
ACTIVEMQ_HOME: /usr/local/apache-activemq-5.11.1
ACTIVEMQ_BASE: /usr/local/apache-activemq-5.11.1/qbio
ACTIVEMQ_CONF: /usr/local/apache-activemq-5.11.1/qbio/conf
ACTIVEMQ_DATA: /usr/local/apache-activemq-5.11.1/qbio/data
useJmxServiceUrl Found JMS Url: service:jmx:rmi://
Connecting to pid: 27587

Tech data:
Linux 2.6.32-220.2.1.el6.x86_64 #1 SMP Fri Dec 23 02:21:33 CST 2011 x86_64
x86_64 x86_64 GNU/Linux
CentOS release 6.2 (Final)

JRE 1.8.0_45

Not using an application server.


Gerard Weatherby  |  Application Architect
Center for Cell Analysis & Modeling  |  UConn Health
263 Farmington Avenue, Farmington, CT 06030-6406
Office: 860.679.2065

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message