activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Chayapathi <>
Subject Re: Trying to get started: how do I configure Tomcat to run ActiveMQ?
Date Mon, 09 Jul 2007 15:51:04 GMT

 Im not sure if activemq can be started via tomcat, however I know you can
publish/subscribe to activemq topics/queue over web interface. You need to
copy/link few of the jar files in activemq/lib and activemq/lib/optional to
tomcat's lib folder.

 Then in tomcat's conf/web.xml:

1. add context params params for: org.apache.activemq.brokerURL and turn on 

2. map REST servlets, mainly the : org.apache.activemq.web.AjaxServlet and 

3. map url to the above servlets, by practise, you can use /amq and /message

for further help, checkout the

- Sandeep

Henk van Voorthuijsen wrote:
> After downloading ActiveMQ 4.1.1, I managed to sucessfully run it as
> stand-alone.
> As a following step, I tried to get Tomcat to start the same process - and
> that's where I get lost!
> I have tried adding a ConnectionFactory and Queue to the
> <GlobalNamingResources> element, and they do show up on the resource page
> of the Tomcat manager, but so far I can see no processes being started.
> A step-by-step description of how to do this would be much appreciated.
> Henk van Voorthuijsen
> PS. My configuration:
> Windows XP
> Tomcat 5.5.17
> ActiveMQ 4.1.1

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message