Closed rju closed 1 week ago
author André van Hoorn -- Wed, 14 Sep 2011 17:20:35 +0200
Download Apache ActiveMQ: http://activemq.apache.org/activemq-550-release.html
Copy the following Jar files from the ActiveMQ distribution to the example's lib directory
kieker.monitoring.writer.jms.AsyncJMSWriter.ProviderUrl=tcp://127.0.0.1:61616/
kieker.monitoring.writer.jms.AsyncJMSWriter.ContextFactoryType=org.apache.activemq.jndi.ActiveMQInitialContextFactory
chmod +x bin/activemq
$ bin/activemq setup ~/.activemqrc INFO: Creating configuration file: /home/avanhoorn/.activemqrc INFO: It's recommend to limit access to '/home/avanhoorn/.activemqrc' to the priviledged user INFO: (recommended: chown avanhoorn:nogroup '/home/avanhoorn/.activemqrc'; chmod 600 '/home/avanhoorn/.activemqrc')
In case you get the following error
$ bin/activemq /bin/sh: Can't open
you need to convert the the windows line-breaks to Unix line-breaks, e.g. using your favorite editor or the dos2unix tool.
Adjust the file owner and permissions
$ chmod 600 '/home/avanhoorn/.activemqrc'
$ bin/activemq start INFO: Loading '/home/avanhoorn/.activemqrc' INFO: Using java '/usr/bin/java' INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details INFO: pidfile created : '/home/avanhoorn/svn_work/kieker/software/kieker/trunk/examples/userguide/appendix-JMS/apache-activemq-5.5.0/data/activemq.pid' (pid '4540')
bin/activemq stop
TODO
author André van Hoorn -- Thu, 15 Sep 2011 15:28:58 +0200
Download HornetQ: http://www.jboss.org/hornetq/downloads.html
(for a description of the required jars, see the HornetQ documentation)
Add the following queue to the config/stand-alone/non-clustered/hornetq-jms.xml configuration file:
<queue name="ExampleQueue"> <entry name="/queue/queue1"/> </queue>
Note, that the run.sh most be called from within the bin/ directory!
$ ./run.sh
author André van Hoorn -- Fri, 16 Sep 2011 12:06:19 +0200
Adjusted the JMS example to work with ActiveMQ and HornetQ in r1922/kieker.
The instructions to be found in [/ticket/122#comment:5] and [/ticket/122#comment:6] need to be put incorporated into the user guide chapter.
author André van Hoorn -- Fri, 16 Sep 2011 18:05:42 +0200
Changed the description in the user guide in r1923/kieker.
JIRA Issue: KIEKER-1429 JMS Example: Should use ActiveMQ instead of (inactive) OpenJMS Original Reporter: Andre van Hoorn