Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 46295 invoked from network); 14 Jun 2006 15:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 15:24:32 -0000 Received: (qmail 17789 invoked by uid 500); 14 Jun 2006 15:24:30 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 17763 invoked by uid 500); 14 Jun 2006 15:24: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 17752 invoked by uid 99); 14 Jun 2006 15:24:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 08:24:29 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.236] (HELO smtp103.plus.mail.mud.yahoo.com) (68.142.206.236) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Jun 2006 08:24:28 -0700 Received: (qmail 42516 invoked from network); 14 Jun 2006 15:24:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:In-Reply-To:References:Mime-Version:X-Priority:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=huUV4kNTb2x/jkw1idVndZTc0JqWignzCTM5nz6Tjt6cysN0sdQlE9XwiZOAIUN+6iZcZNyitmW48alodIauLOu63KYu6WLNMl37umjJfDcXUiCvj3iYmEd8qU9K2U/nejc8kL2Vj59uktKqXY9UuJWEyesYI3C8pM0SvToV5V4= ; Received: from unknown (HELO ?192.168.1.5?) (david?jencks@66.93.38.137 with plain) by smtp103.plus.mail.mud.yahoo.com with SMTP; 14 Jun 2006 15:24:06 -0000 In-Reply-To: <004f01c68fc5$0a561220$24ef4109@raleigh.ibm.com> References: <004f01c68fc5$0a561220$24ef4109@raleigh.ibm.com> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <103F6E95-40C5-4D96-A491-3798EEF397D0@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: in-place deployment Date: Wed, 14 Jun 2006 08:24:26 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Jun 14, 2006, at 8:13 AM, Lin Sun wrote: > I could not get it work with .war file either. But I do see David > Jencks > gave the following as an example in his article (see link below): > > java -jar bin/deployer.jar deploy --inPlace appPerPort.ear > > Maybe David got it working at one point or it just work with ear file? IIRC that was the only example I tried. thanks david jencks > > Lin > > -----Original Message----- > From: Sachin Patel [mailto:sppatel@gmail.com] On Behalf Of Sachin > Patel > Sent: Wednesday, June 14, 2006 9:11 AM > To: user@geronimo.apache.org > Subject: Re: in-place deployment > > It should probably be release-noted that in-place deployment does not > work with stand-alone ejb jars. (At least the last time I tried it > failed). So it may very well be that it only works for stand- > alone .wars or ears containing only web modules. > > On Jun 14, 2006, at 8:46 AM, Gianny Damour wrote: > >> Hi Lin, >> >> I just checked and you can do: >> $ java -jar bin/deployer.jar help distribute >> >> Command-line deployer syntax: >> deployer [general options] command [command options] >> >> Help for command: distribute >> >> deployer distribute [--inPlace] [--targets target;target;...] >> [module] [plan] >> >> <...> >> >> If inPlace is provided, the module is not copied to the >> configuration store of the selected targets. The targets >> directly use the module. >> >> >> The help for the deploy command identifies the --inPlace flag but >> does not provide a description for it. >> >> Thanks, >> Gianny >> >> >> Lin Sun wrote: >> >>> Thanks. I executed deploy.bat but didn't see the -inPlace option >>> from the >>> help menu. Should we add this option to the output of executing >>> deploy.bat? >>> >>> Then I saw David Jenck's article >>> (http://opensource.atlassian.com/confluence/oss/display/GERONIMO/ >>> Exposing+We >>> b+Applications+on+distinct+ports), so I figured out I can just call >>> "deploy.bat deploy --inPlace" to use it. What I found out is if I >>> execute: >>> >>> deploy.bat deploy --inPlace path\hello.war >>> >>> I got the following error: >>> Error: Unable to distribute hello-1.1.war: In place deployment is >>> not allowed for packed module >>> >>> Then I tried: >>> deploy.bat deploy --inPlace path\hello >>> and it worked well. I did see David used an ear file as the last >>> parameter >>> in the example given in the article... >>> >>> Lin >>> >>> >>> >>> -----Original Message----- >>> From: ammulder@gmail.com [mailto:ammulder@gmail.com] On Behalf Of >>> Aaron >>> Mulder >>> Sent: Tuesday, June 13, 2006 2:42 PM >>> To: dev@geronimo.apache.org >>> Subject: Re: RELEASE-NOTES-1.1 >>> >>> On 6/13/06, Lin Sun wrote: >>> >>>> I am trying to learn what the in-place deployment mean and how to >>>> use it. >>>> My understanding was that users can update the hot deploy files >>>> (for >>>> example, update one jsp file) in the Geronimo_home\deploy >>>> directory and >>>> server will redeploy the change automatically. This was not >>>> working in >>>> 1.0, as users need to replace the entire directory in the >>>> Geronimo_home\deploy directory. >>>> >>> >>> That should be true in both 1.0 and 1.1 (if not, I guess it's a >>> bug). >>> >>> But in 1.1, there is a separate option, which is to not copy your >>> files to the hot deploy directory at all, but instead use the deploy >>> tool with a special option to enable an in-place deployment. This >>> means that instead of copying your files into the server >>> directory at >>> all, it will deploy and access them from wherever they currently >>> are. >>> >>> Thanks, >>> Aaron >>> >>> >>>> But after reading your note below, I think I am lost. Please >>>> advise. >>>> >>>> Lin >>>> >>>> -----Original Message----- >>>> From: ammulder@gmail.com [mailto:ammulder@gmail.com] On Behalf Of >>>> Aaron >>>> Mulder >>>> Sent: Thursday, June 08, 2006 7:23 PM >>>> To: dev@geronimo.apache.org >>>> Subject: Re: RELEASE-NOTES-1.1 >>>> >>>> - We should add a point about in-place deployment. "Geronimo >>>> supports in-place deployment, which means an archive or directory >>>> can >>>> be deployed without being copied into the Geronimo directory tree." >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >> >> > > > -sachin > >