You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kellyng <ke...@gmail.com> on 2008/07/09 14:09:53 UTC

Look for help with the chat demo when running in Firefox

Hello,

I'm trying to use the chat demo in Firefox 3. When I click the "Join"
button, it makes a ajax call to server 

POST http://localhost:8161/demo/amq 16ms
destination	topic://CHAT.DEMO
message	chat
type	listen

In the response, I have the below error. 

Caused by:</h3><pre>java.lang.UnsupportedOperationException: A destination

 must be specified.

	at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:195)

	at
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:300)

	at org.apache.activemq.web.WebClient.send(WebClient.java:198)

	at
org.apache.activemq.web.MessageListenerServlet.doPost(MessageListenerServlet.java:214)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)

	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)

	at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:46)

	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)

	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

	at org.mortbay.jetty.Server.handle(Server.java:324)

	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)

	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

	at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Note that I don't have this error if I use the IE.
Is there any way to avoid this problem?
Any help would be greatly appreciated!!!

Thanks in advance, 
Kelly.
-- 
View this message in context: http://www.nabble.com/Look-for-help-with-the-chat-demo-when-running-in-Firefox-tp18359445p18359445.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.