Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BED15979E for ; Sat, 28 Apr 2012 00:41:35 +0000 (UTC) Received: (qmail 40069 invoked by uid 500); 28 Apr 2012 00:41:35 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 40041 invoked by uid 500); 28 Apr 2012 00:41:35 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 40031 invoked by uid 99); 28 Apr 2012 00:41:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 00:41:35 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of RichPatten@shaw.ca does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 00:41:30 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SNvim-0003ou-NL for users@activemq.apache.org; Fri, 27 Apr 2012 17:41:08 -0700 Date: Fri, 27 Apr 2012 17:41:08 -0700 (PDT) From: woodstockrich To: users@activemq.apache.org Message-ID: <1335573668710-4594021.post@n4.nabble.com> In-Reply-To: <1335547504084-4593271.post@n4.nabble.com> References: <1335285458965-4584105.post@n4.nabble.com> <1335301530572-4584817.post@n4.nabble.com> <1335324403120-4585499.post@n4.nabble.com> <1335386613906-4588007.post@n4.nabble.com> <1335394970946-4588358.post@n4.nabble.com> <1335459778858-4590385.post@n4.nabble.com> <1335481892245-4591312.post@n4.nabble.com> <1335490273414-4591499.post@n4.nabble.com> <1335547504084-4593271.post@n4.nabble.com> Subject: Re: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I finally have success, but it feels rough still. It seems that when I first start up IE and go to my URL, it does not receive the messages. If I do a refresh, then it starts receiving messages. This is true with Firefox as well. So I'm not quite sure why I have to invoke the refresh. Also, I have two handlers to accept different messages. Sometimes, particularly IE, it only receives one of the two messages. A minor observation related to Firefox. Just something to be aware of when switching between browsers. In Javascript, on message receipt the code is: alert("Machine:"+ message.getAttribute('stock') + " " + message.getAttribute('status')+ " text:" + message.text ); The text message being sent by my server process is: Message extra text In IE, the alert displays as: Machine:AB1 OK text:Message extra text In Firefox, the alert displays as: Machine:AB1 OK text:undefined At least a nice way to end Friday, when I figured I'd have to abandon ActiveMQ and all my work leading up to this if I didn't get it communicating. -- View this message in context: http://activemq.2283324.n4.nabble.com/HTML-JS-works-in-Demo-but-not-under-JBOSS-7-1-Eclipse-tp4584105p4594021.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.