Yes - I'd recommend you take a look at the activemq-web-console which auto-starts the broker along with a web application using Spring. http://incubator.apache.org/activemq/web-console.html On 6/2/06, Ramesh Bobba wrote: > > Hi, > > > > I am new to ActiveMQ so please bear with me. I am trying to deploy > activemq under tomcat and want to know if there is a way to autostart the > broker. Here is my default context.xml: > > > > > > > > > > WEB-INF/web.xml > > > > > > > > > auth="Container" > > type="org.apache.activemq.ActiveMQConnectionFactory" > > description="JMS Connection Factory" > > factory="org.apache.activemq.jndi.JNDIReferenceFactory" > > brokerURL="tcp://localhost:9988" > > brokerName="ActiveMQBroker" > > useEmbeddedBroker="true"/> > > > > > auth="Container" > > type="org.activemq.command.ActiveMQTopic" > > description="my Topic" > > factory="org.apache.activemq.jndi.JNDIReferenceFactory" > > physicalName="FOO.BAR"/> > > > > > auth="Container" > > type="org.apache.activemq.command.ActiveMQQueue" > > description="my Queue" > > factory="org.apache.activemq.jndi.JNDIReferenceFactory" > > physicalName="TEST.FOO"/> > > > > > > Regards, > > > > Ramesh K Bobba > > Sr. Software Engineer > > * * > > 10101 N. DeAnza Blvd., Suite 100 > > Cupertino, CA 95014 > > (w)408.873.1984x108 > > (f)408.873.7412 > > (c)510.579.0001 > > > -- James ------- http://radio.weblogs.com/0112098/