your server config looks ok, seems like the problem could be on your web
Do you have something like this configured in it
You can also take a look at webapps/demo/chat.html (and chat.js) for some
examples on how to do it.
If it doesn't work, send your page that doesn't work.
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Tue, Mar 2, 2010 at 5:06 AM, hmikhail wrote:
> Hello All,
> using ajax, I am having lots of problems.
> When I deploy Tomcat I see in the log "Connector vm://localhost Started ,
> I am guessing that the configuration is correct, but when I try to send
> forefox saying "amq is not defined".
> In CATALINA_HOME/CONF/context.xml I put
> type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS
> Connection Factory"
> brokerURL="vm://localhost" brokerName="LocalActiveMQBroker"/>
> I also added the following jar files to CATALINA_HOME/lib:
> In the web.xml file of my web-app I put:
> The URL of the Message Broker to connect
> Whether we should
> an embedded broker or not
> I really don't know how to make this work...would appreciate your help.
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.