From user-return-14753-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Fri Apr 30 13:53:47 2010 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 16532 invoked from network); 30 Apr 2010 13:53:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Apr 2010 13:53:47 -0000 Received: (qmail 2318 invoked by uid 500); 30 Apr 2010 13:53:47 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 2275 invoked by uid 500); 30 Apr 2010 13:53:47 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 2268 invoked by uid 99); 30 Apr 2010 13:53:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 13:53:47 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevan.miller@gmail.com designates 209.85.160.182 as permitted sender) Received: from [209.85.160.182] (HELO mail-gy0-f182.google.com) (209.85.160.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 13:53:39 +0000 Received: by gyh20 with SMTP id 20so116632gyh.13 for ; Fri, 30 Apr 2010 06:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=SCibi6Yh7C/IGvjnKwI0YRLHE1tavvJg5l1w24Gk8Sk=; b=d9sc2iv94FZGj2EuqUTwtcAewIHwNmjUjsVXZySQbWD9YzrORWM69AZ19EAmeD9K76 AM5lXk3wk0Phe7AvwnZkHxYlhOVUE+CUDiUidQjueGBDuqEDjBrH6U1kSmHKUaBpB/vd 7uqBiLAfqPYnUZQFclX43i0M2syUMWRD1alTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=l7aeYG22XhT10dA0Qj8Q/H2A31FXI24tvLCFRbHMrY3ET5YnBbTXKXtqHC8Fh/+PEE El+Ztt/kVBrprXELOWIEom8uI2FKIZnp9FLKGYSWKXFaQRC+5F2jj5NmeSk9oPNRXq7v rxJQjMPI92Y2CkLEsM2CW0LekMc909VN4W1zc= Received: by 10.150.254.9 with SMTP id b9mr2163304ybi.251.1272635597911; Fri, 30 Apr 2010 06:53:17 -0700 (PDT) Received: from [10.0.1.8] (cpe-075-189-199-238.nc.res.rr.com [75.189.199.238]) by mx.google.com with ESMTPS id r21sm19827638anp.7.2010.04.30.06.53.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Apr 2010 06:53:16 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: looking for some suggestion for setting AMQ across multiple JVMs From: Kevan Miller In-Reply-To: <1272618693407-767393.post@n3.nabble.com> Date: Fri, 30 Apr 2010 09:53:15 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <51CFB4F0-CB1A-4C8F-8EFD-F181E85BE6E6@gmail.com> References: <1272618693407-767393.post@n3.nabble.com> To: user@geronimo.apache.org X-Mailer: Apple Mail (2.1078) On Apr 30, 2010, at 5:11 AM, easyl wrote: >=20 > Hallo, >=20 > At the moment I run multiple applications (EAR with MDB) in a single > Geronimo. >=20 > I am trying to run applications on different Geronimo (i.e. on = different > JVM) within one physical machine. >=20 > server \--- Geronimo1 \--- appA > \ \--- appB > \ > \--- Geronimo2 --- appC >=20 > appA, appB and appC send/receive JMS to/from each other. >=20 >=20 > Can someone give me some suggestion?=20 >=20 > do I need one or more than one broker? should I set a broker for each > Geronimo? Multiple brokers aren't a requirement. Do appA/appB need to share = destinations with appC? If not, then multiple brokers using default = configuration (avoiding port conflicts of course) will work fine. If you = do need to share JMS destinations, you'd need either a single broker or = a broker network. For a single broker (e.g. running in Geronimo1), you'd need to configure = your JMS resources in Geronimo2 to use TCP (VM transport won't work. You = could use multicast or discovery protocol). Something like: arcgis-jms tcp://localhost:61616 DefaultWorkManager A broker network would require G 2.2 (it would be very = difficult/impossible to configure a broker network on G 2.1.x). In = var/activemq/conf/activemq.xml add: > what kind of transport should I use? is simple VM possible? In a broker network, VM transport is possible between client and broker. = VM transport would not work between brokers. > is there any example of setting up such AMQ? AMQ has examples. I don't think we have any examples set up in Geronimo. --kevan=