[
https://issues.apache.org/activemq/browse/AMQ-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62517#action_62517
]
Arjan van den Berg commented on AMQ-2972:
-----------------------------------------
I've managed to solve the issue by upgrading the jetty components to version
7.1.6
So, in lib/web, I updated jetty-all-server-7.0.1.v20091125.jar to
jetty-all-server-7.1.6.v20100715.jar
and jetty-websocket-7.0.1.v20091125.jar to jetty-websocket-7.1.6.v20100715.jar.
Also, some extra documentation on how to use the client libraries specifically
for ActiveMQ would be handy.
It took some time for me to find out that the destination should be in the form
"/topic/test.topic" or "/queue/test.queue".
> STOMP over Websockets do not work in Chrome
> -------------------------------------------
>
> Key: AMQ-2972
> URL: https://issues.apache.org/activemq/browse/AMQ-2972
> Project: ActiveMQ
> Issue Type: Bug
> Components: Transport
> Affects Versions: 5.4.1
> Environment: Windows XP, Chrome 6.0.472.63
> Reporter: Arjan van den Berg
>
> The STOMP over Websocket support does not work with both client libraries
> referenced from the ActiveMQ Websockets page
> ( http://activemq.apache.org/websockets.html ).
> On the ActiveMQ side, the following error appears:
> INFO | Started [email protected]:8161
> ERROR | handle failed?
> java.lang.IllegalArgumentException: !utf8
> at
> org.eclipse.jetty.util.Utf8StringBuilder.append(Utf8StringBuilder.java:112)
> at
> org.eclipse.jetty.websocket.WebSocketParser.parseNext(WebSocketParser.java:147)
> at
> org.eclipse.jetty.websocket.WebSocketConnection.handle(WebSocketConnection.java:75)
> at
> org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:252)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.