Hi, 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 org.apache.activemq.embeddedBroker 2. map REST servlets, mainly the : org.apache.activemq.web.AjaxServlet and org.apache.activemq.web.MessageServlet 3. map url to the above servlets, by practise, you can use /amq and /message for further help, checkout the https://svn.apache.org/repos/asf/activemq/trunk/activemq-web-demo/ activemq-web-demo - 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: http://www.nabble.com/Trying-to-get-started%3A-how-do-I-configure-Tomcat-to-run-ActiveMQ--tf4050129s2354.html#a11504393 Sent from the ActiveMQ - User mailing list archive at Nabble.com.