Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 31668 invoked from network); 12 Dec 2006 19:44:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 19:44:11 -0000 Received: (qmail 62407 invoked by uid 500); 12 Dec 2006 19:44:18 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 62392 invoked by uid 500); 12 Dec 2006 19:44:18 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 62383 invoked by uid 99); 12 Dec 2006 19:44:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 11:44:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [199.105.164.5] (HELO smtpmail2.sensis.com) (199.105.164.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 11:44:08 -0800 Received: from dimstar2.ats.sensis.com ([172.21.1.6]) by smtpmail2.sensis.com with esmtp (Exim 4.50) id 1GuDXX-0004gW-Dh for activemq-users@geronimo.apache.org; Tue, 12 Dec 2006 14:43:47 -0500 Received: from corpatsmail1.ats.sensis.com ([172.21.1.88] helo=corpatsmail1.corp.sensis.com) by dimstar2.ats.sensis.com with esmtp (Exim 4.50) id 1GuDX9-0003vy-CQ for activemq-users@geronimo.apache.org; Tue, 12 Dec 2006 14:43:23 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: two basic questions Date: Tue, 12 Dec 2006 14:43:23 -0500 Message-ID: <5A211522579EBD4A83155ED7FA153063013B6358@corpatsmail1.corp.sensis.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: two basic questions Thread-Index: AcceIBXB1Q/Cvuo2SS6dLrHaA6gBpQABY6lw From: "Bish, Tim" To: X-Sensis-MailScanner-Information: Scanned at Sensis Corporation by MailScanner X-Sensis-MailScanner: Found to be clean X-Sensis-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Sensis-MailScanner-From: tim.bish@sensis.com X-Virus-Checked: Checked by ClamAV on apache.org >=20 > 1. where can I find the activemq log file? I found "activemq.log" under > var > directory. But it is always empty. AMQ using log4j, so you need to make changes in the log4j.properties in the conf folder to turn on logging. > 2. in the given activemq.xml example, there are two transportConnectors: >=20 > discoveryUri=3D"multicast://default"/> > >=20 > In the java producer example, I had to use: >=20 > java ProducerTool tcp://localhost:61616 <-working >=20 > java ProducerTool stomp://localhost:61613 <-NOT working >=20 > As I understand, ActiveMQ uses stomp over tcp to communicate between > client > and broker. Can anyone give more detail on this? As matter of fact, the > activemq-cpp example has to use "tcp://127.0.0.1:61613" to work. >=20 > Thanks in advance