From user-return-13761-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Wed Aug 19 13:36:07 2009 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 60076 invoked from network); 19 Aug 2009 13:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 13:36:07 -0000 Received: (qmail 5173 invoked by uid 500); 19 Aug 2009 13:36:25 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 5153 invoked by uid 500); 19 Aug 2009 13:36:25 -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 5145 invoked by uid 99); 19 Aug 2009 13:36:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 13:36:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirunhua@gmail.com designates 209.85.221.200 as permitted sender) Received: from [209.85.221.200] (HELO mail-qy0-f200.google.com) (209.85.221.200) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 13:36:16 +0000 Received: by qyk38 with SMTP id 38so3589763qyk.25 for ; Wed, 19 Aug 2009 06:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=zKC5oBmg3JangyYUb2iugDTVubpdLCglWp0UIHwJREs=; b=A3vVOrBN7QzNlgO9EWSqA3+XQvy3fVfgq0AlxXZz90Pryiy0nSKOeGsUlLYHr+9uv4 r8n8wtN8YN3y9s+bYuJxjoRWxCWPZTAlTAdSa1fA3vVprkRKJtM0NjD0gs2rLGspsAaP nel25IUhoAm8/eplVKaHKEqdBi01ZiSu3DvNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sM5slatxA+AWp5yfLYzOnIl0fqNJjlyI3AQ+1F07mw/HriL+xjTzBoVyT36JEfgkqf GE8zmGqd42XyN1BLyetMbmERBeX3yRQUIw4Zj5dv0gO/0ibmrpfPvpzmu5VW2y9+LmEh i/pEGVptw5kiqnF93PrUt4QcbYLIf94EPfaTg= MIME-Version: 1.0 Received: by 10.224.92.131 with SMTP id r3mr6391114qam.37.1250688954568; Wed, 19 Aug 2009 06:35:54 -0700 (PDT) In-Reply-To: <293feb560908190629i74c65d97jc94fa13c4f06369c@mail.gmail.com> References: <25041402.post@talk.nabble.com> <98a659de0908190608h7ec06416u3e17d91b1b76611@mail.gmail.com> <293feb560908190629i74c65d97jc94fa13c4f06369c@mail.gmail.com> Date: Wed, 19 Aug 2009 21:35:52 +0800 Message-ID: <98a659de0908190635x54503aa4sea5a87c65546b0cd@mail.gmail.com> Subject: Re: Different server instances on Geronimo 2.2 From: chi runhua To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=000feae85bc7dd926d04717eb694 X-Virus-Checked: Checked by ClamAV on apache.org --000feae85bc7dd926d04717eb694 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit yes, you can set up multiple repositories specified to different instances. I am sure there are some infos in G2.2 doc. You may take a look at G22 doc, I can't access G Doc website right now otherwise I would provide the linkage for your reference. Jeff C On Wed, Aug 19, 2009 at 9:29 PM, rpalm01@gmail.com wrote: > Is it possible to create two different directories for the Geronimo > deployments instead of using the same ones for each instance? It seems like > that would resolve your issues, even though it creates a slightly more > complex environment. > > Robert P > > > On Wed, Aug 19, 2009 at 9:08 AM, chi runhua wrote: > >> Because both instances share the same repository, I guess it's as >> designed. The only difference would be as followed: >> >> 1. on the instance you deployed the application, such as 8080 port by >> default, config.xml was updated with its moduleId as > name="com/yourcompany/foo/1.0/car"> >> >> 2. while on another instance, the module info was written into config.xml >> as well, but with the following info > name="com/yourcompany/foo/1.0/car" load="false"> >> >> Anything incorrect with my understanding, please chime in. >> >> Jeff C >> >> On Wed, Aug 19, 2009 at 6:13 PM, Lu Jiang wrote: >> >>> >>> Environment: >>> Windows+JDK6+Geronimo2.2 >>> >>> I setted up another server instance besides the default one. The defaut >>> one >>> is on 8080,and the other on 8090.They both work well and share the same >>> repository. >>> >>> If I deploy an application on one server instance,for example, the 8080 >>> one,then it'll be simultaneously deployed on the 8090 server >>> instance.This >>> action changes the config.xml of both the default one and the new server >>> instance. After that ,I tried to deploy the same application to the 8090 >>> instance. It failed and warned that the application already exists. >>> >>> I wonder ,in the case of multiple server instances,if an application is >>> deployed on one server instance,should the other server instances share >>> the >>> application? >>> -- >>> View this message in context: >>> http://www.nabble.com/Different-server-instances-on-Geronimo-2.2-tp25041402s134p25041402.html >>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >>> >>> >> > --000feae85bc7dd926d04717eb694 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable yes, you can set up multiple repositories specified to different instances.= I am sure there are some infos in G2.2 doc.=A0

You may take a look= at G22 doc, I can't access G Doc website right now otherwise I would p= rovide the linkage for your reference.

Jeff C

On Wed, Aug 19, 2009 at 9:29 P= M, rpalm01@gmail.com <rpalm01@gmail.com> wrote:
Is it possible to= create two different directories for the Geronimo deployments instead of u= sing the same ones for each instance?=A0 It seems like that would resolve y= our issues, even though it creates a slightly more complex environment.

Robert P


On Wed, Aug 19, 2009 at 9:08 AM, chi runhua <chirunhua@gmail.com> wrote:
Because both instances share the same repository, I guess it's as desig= ned.=A0 The only difference would be as followed:

1.=A0 on the insta= nce you deployed the application, such as 8080 port by default, config.xml = was updated with its moduleId as <module name=3D"com/yourcompany/fo= o/1.0/car">

2. while on another instance, the module info was written into config.x= ml as well, but with the following info <module name=3D"com/yourcom= pany/foo/1.0/car" load=3D"false">

Anything incorre= ct with my understanding, please chime in.

Jeff C

On Wed, Aug 19, 2009 at 6:13 P= M, Lu Jiang <jadeup@hotmail.com> wrote:

Environment:
Windows+JDK6+Geronimo2.2

I setted up another server instance besides the default one. The defaut one=
is on 8080,and the other on 8090.They both work well and share the same
repository.

If I deploy an application on one server instance,for example, the 8080
one,then it'll be simultaneously deployed on the 8090 server instance.T= his
action changes the config.xml of both the default one and the new server instance. After that ,I tried to deploy the same application to the 8090 instance. It failed and warned that the application already exists.

I wonder ,in the case of multiple server instances,if an application is
deployed on one server instance,should =A0the other server instances share = the
application?
--
View this message in context: http://www.nabble.com/Different-server-instances-on-Geronimo-2.2-tp2504= 1402s134p25041402.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



--000feae85bc7dd926d04717eb694--