Ok, I went and installed the activemq package for ubuntu. It might not
be the latest, but does run. However, I can't seem to get into the console:
thufir@doge:~$
thufir@doge:~$
thufir@doge:~$ java -jar NetBeansProjects/ActiveMQ/dist/ActiveMQ.jar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for
further details.
Sent message: 1338125837 : Thread-8
Sent message: 437836513 : Thread-10
Sent message: 1838681949 : Thread-0
Sent message: 1432191075 : Thread-1
Received: Hello world! From: Thread-10 : 196806031
Received: Hello world! From: Thread-1 : 594146637
Received: Hello world! From: Thread-8 : 630302845
Sent message: 1225717157 : Thread-16
Sent message: 1869142879 : Thread-13
Sent message: 79727066 : Thread-17
Received: Hello world! From: Thread-16 : 207576555
Received: Hello world! From: Thread-17 : 677202538
Received: Hello world! From: Thread-13 : 267284908
Sent message: 625569664 : Thread-32
Sent message: 763681944 : Thread-29
Sent message: 1216409727 : Thread-22
Sent message: 2073207955 : Thread-27
Sent message: 816519533 : Thread-25
Received: Hello world! From: Thread-29 : 1788358708
Received: Hello world! From: Thread-22 : 779872024
Received: Hello world! From: Thread-32 : 1698653726
Received: Hello world! From: Thread-25 : 1236509536
Received: Hello world! From: Thread-27 : 153962249
Received: null
thufir@doge:~$
thufir@doge:~$ activemq status
INFO: Loading '/usr/share/activemq/activemq-options'
INFO: Using java '/usr/bin/java'
ActiveMQ not running
thufir@doge:~$
thufir@doge:~$
thufir@doge:~$ activemq console
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)
mkdir: missing operand
Try 'mkdir --help' for more information.
/usr/bin/activemq: 399: /usr/bin/activemq: /usr/bin/java -Xms512M
-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Dcom.sun.management.jmxremote -Djava.io.tmpdir="/var/lib/activemq/tmp"
-Dactivemq.classpath="/var/lib/activemq/conf;"
-Dactivemq.home="/usr/share/activemq"
-Dactivemq.base="/var/lib/activemq/"
-Dactivemq.conf="/var/lib/activemq/conf"
-Dactivemq.data="/var/lib/activemq/data" -jar
"/usr/share/activemq/bin/run.jar" start : not found
thufir@doge:~$
Nor am I sure what version I'm running. How can it be that messages are
sent/received if it's not installed to the OS? I didn't manually start it.
thanks,
Thufir