ActiveMQ does not successfully bind ports.

Bug #1087451 reported by Zee Alexander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
activemq (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am testing ActiveMQ as part of my mcollective deployment. I have a stock Ubuntu 12.04 x64 install. I apt-get install ActiveMQ, and symlink the sample config into /etc/activemq/instances-enabled/main/activemq.xml.

I do service activemq start, and it does start.

`ps aux|grep java` reports:
activemq 2780 0.2 21.7 1360088 109268 ? Sl 19:49 0:13 /usr/bin/java -Xms512M -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote -Dactivemq.classpath=/var/lib/activemq/main/conf;/etc/activemq/instances-enabled/main; -Dactivemq.home=/usr/share/activemq -Dactivemq.base=/var/lib/activemq/main -jar /usr/share/activemq/bin/run.jar start xbean:activemq.xml

However, I cannot connect to activemq on port 61616, and netstat -a reports nothing about that port whatsoever.

Revision history for this message
Zee Alexander (pizzaops) wrote :

Additionally, starting with service activemq console main reports:
 * Starting with Console ActiveMQ instance main
INFO: Loading '/usr/share/activemq/activemq-options'
INFO: Using java '/usr/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
Java Runtime: Sun Microsystems Inc. 1.6.0_24 /usr/lib/jvm/java-6-openjdk-amd64/jre
  Heap sizes: current=506816k free=501224k max=506816k
    JVM args: -Xms512M -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote -Dactivemq.classpath=/var/lib/activemq/main/conf;/etc/activemq/instances-enabled/main; -Dactivemq.home=/usr/share/activemq -Dactivemq.base=/var/lib/activemq/main
ACTIVEMQ_HOME: /usr/share/activemq
ACTIVEMQ_BASE: /var/lib/activemq/main
Loading message broker from: xbean:activemq.xml
 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@651dba45: startup date [Thu Dec 06 21:39:39 UTC 2012]; root of context hierarchy
 INFO | PListStore:/var/lib/activemq/main/data/localhost/tmp_storage started
 INFO | JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/var/lib/activemq/main/data/kahadb]
 INFO | KahaDB is version 3
 INFO | Recovering from the journal ...
 INFO | Recovery replayed 1 operations from the journal in 0.032 seconds.
 INFO | ActiveMQ 5.5.0 JMS Message Broker (localhost) is starting
 INFO | For help or more information please see: http://activemq.apache.org/
 INFO | Listening for connections at: tcp://localhost:61616
 INFO | Connector openwire Started
 INFO | ActiveMQ JMS Message Broker (localhost, ID:test-mcollective-53419-1354829982857-0:1) started

And yet, despite mentioning it, it is not bound to 61616

description: updated
Revision history for this message
Zee Alexander (pizzaops) wrote :

As it turns out, I'm an idiot. Please delete.

Changed in activemq (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.