Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 82580 invoked from network); 4 Sep 2009 06:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 06:09:30 -0000 Received: (qmail 5295 invoked by uid 500); 4 Sep 2009 06:09:29 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 5212 invoked by uid 500); 4 Sep 2009 06:09:29 -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 5204 invoked by uid 99); 4 Sep 2009 06:09:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 06:09:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.57] (HELO smtp102.prem.mail.sp1.yahoo.com) (98.136.44.57) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Sep 2009 06:09:19 +0000 Received: (qmail 17096 invoked from network); 4 Sep 2009 06:08:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Mime-Version:Subject:Date:References:X-Mailer; b=TcaFETnPpVohjCSEEG/IBnq6Ul9ZB42EOttz40oCP6AxrzEiLKXYjxZ0JfuGK0o7Vjtqm6ch88q55yW+JohgHn/TC21PLp9BC5NgZQ7c0grNWQMdfPDCDsMgiNgiUJXcU0czKxD/4BBv1BezQIeDVVT1fKdXtCk0DWPOIJByFas= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp102.prem.mail.sp1.yahoo.com with SMTP; 03 Sep 2009 23:08:56 -0700 PDT X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: gZU4dWgVM1m3joudW9j7ddm.qK1Zgccgsb_Iyy_LrPPbhW2L55YCuYGg7NGIn3VSdpc0OTXWw_Xp6hQmDHVlzOFH6EnTM33K1MZ6SHoZWEpk4jvnr00_n4aLOZc9uvdf1nHlSQbMex3WcYaNGeZyX_69ZdO78FKS16n_VkBDeAMRx0KNiHZGPig54KBMR7I_Gwi_vbrB6HHNXdulNZhLVrCwQ8XqjyNTvXj_96yJW_xB X-Yahoo-Newman-Property: ymail-3 Message-Id: <0DF65469-813E-48B2-927E-7DD22281E89E@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-25-1006911696 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Some features of WADI cluster in G22 Date: Thu, 3 Sep 2009 23:08:54 -0700 References: X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-25-1006911696 Content-Type: text/plain; charset=GB2312; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable On Sep 3, 2009, at 7:28 PM, =C1=BA=C0=A5 wrote: > Hi all, > Recently,I have some questions about WADI cluster,pls help =20 > me,thanks a lot. > I have two nodes A is the master node and B is another one.I deploy =20= > cviewer.war in the node A and node B has the same cviewer.war. > 1.If I shutdown A node first and then shutdown B node, I find that =20 > the cviewer.war load is set false in the config.xml of node B.So =20 > when I start A and B the cviewer.war in the node B can not work.Is =20 > it correct? > > > 2.If I shutdown B node first and then undeploy cviewer_G_MASTER in =20 > node A,then I startup node B, the cviewer.war's state is running and =20= > it works well.However,I want to use the command deploy.bat undeploy =20= > in the node B to undeploy cviewer.war there will be an error: > 2009-09-04 10:20:17,978 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: =20 > com.ibm.wasce.samples/cviewer_G_MASTER/2.1.1.2/car does not appear =20 > to be a the name of a module available on the selected server. =20 > Perhaps it h as already been stopped or undeployed? If you're =20 > trying to specify a TargetModuleID, use the syntax TargetName|=20 > ModuleName instead. If you're not sure what's running, try the list-=20= > modules command. > at =20 > org=20 > .apache=20 > .geronimo=20 > .deployment=20 > .plugin=20 > .ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:205) > at =20 > org=20 > .apache=20 > .geronimo.deployment.cli.CommandStart.execute(CommandStart.java:57) > at =20 > org=20 > .apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:=20 > 168) > at =20 > org=20 > .apache=20 > .geronimo=20 > .kernel=20 > .util=20 > .MainConfigurationBootstrapper=20 > .main(MainConfigurationBootstrapper.java:45) > at =20 > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at =20 > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > Is it correct?In the node B can I use some command to undeploy the =20 > module which is deployed through WADI cluster. > > Please help me ,thanks a lot. Hi, I think you are using deployment based "farm" clustering to deploy to =20= both A and B at once? This is independent of whether you are using =20 WADI to replicate session state between your cluster members. I am not very familiar with the deployment based clustering, and I =20 prefer to use plugin based clustering, which however is only available =20= in 2.2 (soon to be released). (1) seems like a bug to me. I guess you can restart your app in B on =20= the command line or in the admin console, but I think the app should =20= remain started on B. (2) deployment based clustering works by deploying a synthetic =20 "master" application on the controller server that manages the actual =20= app running on each cluster member. I think that the master app name =20= is derived from the actual app name by appending "_G_MASTER". So, I =20 think you are trying to undeploy the master app from node B, whereas =20 it is running on node A. What happens if you try to undeploy =20 com.ibm.wasce.samples/cviewer/2.1.1.2/car from node B? thanks david jencks > > > > =D3=EB=C8=CE=BA=CE=C4=FA=CF=A3=CD=FB=B5=C4=C8=CB=B7=D6=CF=ED=C4=FA=B5=C4= =BB=D8=D2=E4=A1=A3 =C8=CE=BA=CE=C4=FA=CF=A3=CD=FB=B5=C4=C8=CB=A1=A3 --Apple-Mail-25-1006911696 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
On Sep 3, 2009, = at 7:28 PM, =C1=BA=C0=A5 wrote:

Hi = all,
      Recently,I have some questions = about WADI cluster,pls help me,thanks a lot.
I have two nodes A is = the master node and B is another one.I deploy cviewer.war in the node A = and node B has the same cviewer.war.
1.If I shutdown A node first and = then shutdown B node, I find that the cviewer.war load is set false in = the config.xml of node B.So when I start A and B the cviewer.war in the = node B can not work.Is it correct?


2.If I shutdown B node = first and then undeploy cviewer_G_MASTER in node A,then I startup node = B, the cviewer.war's state is running and it works well.However,I want = to use the command deploy.bat undeploy in the node B to undeploy = cviewer.war there will be an error:
2009-09-04 10:20:17,978 ERROR = [DeployTool] Error: 
org.apache.geronimo.commo= n.DeploymentException: = com.ibm.wasce.samples/cviewer_G_MASTER/2.1.1.2/car does not appear to be = a the name of a module available on the selected server. Perhaps it h as = already been stopped or undeployed?  If you're trying to specify a = TargetModuleID, use the syntax TargetName|ModuleName instead. If you're = not sure what's running, try the list-modules = command.
    at = org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModu= leIDs(ConfigIDExtractor.java:205)
    at = org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:= 57)
    at = org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)=
    at = org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainCon= figurationBootstrapper.java:45)
    at = org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
&n= bsp;   at = org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
= Is it correct?In the node B can I use some command to undeploy the = module which is deployed through WADI cluster.

Please help me = ,thanks a = lot.

Hi,

<= div>I think you are using deployment based "farm" clustering to deploy = to both A and B at once?  This is independent of whether you are = using WADI to replicate session state between your cluster = members.
I am not very familiar with the deployment based = clustering, and I prefer to use plugin based clustering, which however = is only available in 2.2 (soon to be = released).

(1) seems like a bug to me.  I = guess you can restart your app in B on the command line or in the admin = console, but I think  the app should remain started on = B.

(2) deployment based clustering works by = deploying a synthetic "master" application on the controller server that = manages the actual app running on each cluster member.  I think = that the master app name is derived from the actual app name by = appending "_G_MASTER".  So, I think you are trying to undeploy the = master app from node B, whereas it is running on node A.  What = happens if you try to undeploy 
thanks
david = jencks


= --Apple-Mail-25-1006911696--