Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got an ubuntu-server for dev purposes running activemq. I installed them from the package repository and did minor configurations to the activemq. I want to use the admin console but in order to do so I need the webapps folder which seems to be missing from the package.

I searched around in the package and I didn't find any. I suppose that the webapps should be in the {activemq.home} folder which is defined from the package on /usr/share/activemq. Also I know that it requires jetty configuration as in xml. The jetty config can be found in the example docs: /usr/share/doc/activemq/examples/conf/jetty.xml.gz

My question is what should I put into the jetty.xml to make the admin console work? Should I copy the webapps folder from the tar.gz downloaded package from apache site to the home folder?

Posting my current activemq.xml if it's helpful:


    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

    <broker xmlns="" brokerName="localhost" dataDirectory="${activemq.base}/data" destroyApplicationContextOnStop="true">

                <policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
                    <vmCursor />
                <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">

            <queue physicalName="CMAgentStatus" />
            <queue physicalName="CMUpdateRequest" />
            <queue physicalName="CMSnapshotEvent" />

            <managementContext createConnector="true"/>

            <kahaDB directory="${activemq.base}/data/kahadb"/>

            <transportConnector name="openwire" uri="tcp://"/>


<!-- <import resource="jetty.xml"/> -->
share|improve this question
up vote 3 down vote accepted

I ended up downloading the activeMQ binaries from site and install them to /opt/activemq. Then created the init scripts for activemq and update-rc defaults.

share|improve this answer
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one. – Chris Wilson Nov 12 '12 at 8:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.