Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 26158 invoked from network); 12 Oct 2010 09:01:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 09:01:08 -0000 Received: (qmail 35828 invoked by uid 500); 12 Oct 2010 09:01:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 35719 invoked by uid 500); 12 Oct 2010 09:01:06 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 35711 invoked by uid 99); 12 Oct 2010 09:01:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 09:01:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 09:01:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9C90fBb018838 for ; Tue, 12 Oct 2010 09:00:41 GMT Message-ID: <6819064.54251286874041375.JavaMail.jira@thor> Date: Tue, 12 Oct 2010 05:00:41 -0400 (EDT) From: "Arjan van den Berg (JIRA)" To: dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (AMQ-2972) STOMP over Websockets do not work in Chrome In-Reply-To: <22486062.54181286869961466.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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 edited comment on AMQ-2972 at 10/12/10 4:58 AM: ------------------------------------------------------------------- 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. Probably the websocket specification has changed between jetty releases. 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". was (Author: bergamot): 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 SelectChannelConnector@0.0.0.0: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.