Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 13570 invoked from network); 16 Jul 2009 08:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 08:55:53 -0000 Received: (qmail 81156 invoked by uid 500); 16 Jul 2009 08:56:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 81111 invoked by uid 500); 16 Jul 2009 08:56:58 -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 81103 invoked by uid 99); 16 Jul 2009 08:56:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 08:56:58 +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 (nike.apache.org: domain of chirunhua@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 08:56:47 +0000 Received: by an-out-0708.google.com with SMTP id d40so1987867and.40 for ; Thu, 16 Jul 2009 01:56:26 -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=VELgt1NjEncLOmwWa7Y/YDHK7/pW2LgBPPQsKyd+seA=; b=QK7sqU4MMoZTBVOjCtKrZGX2JBlloeA7OLOpm3eKV4b0JhbwQ8OnXmfCrAbin01pMr E+3XD3wrXPJ/ojTwfYF9+fpS7/M3/bkCj9PyYAtz701BXuiE4x1u3ch7cjWZvHODluwm 26QEC8PUFyM6D8tFsrKQdxCrygubBGtaHBZt0= 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=YvvF9LZhncvo+DcF3Q3VSrn5Ohnls2nJlsAA1wpFu4ET5NTrAOJ8ZTu83VnvvWsFcp z4/4oUlUUm2ScNr6wKZWrAHlKCGlatBRZ/3ttlhPWdHrugpQOK+HZ+xfaB6vI1r04Go7 L9AVnBaFn5eMuzoSQupenapnIJKbIefNqvCvw= MIME-Version: 1.0 Received: by 10.100.249.5 with SMTP id w5mr11613840anh.28.1247734586168; Thu, 16 Jul 2009 01:56:26 -0700 (PDT) In-Reply-To: <431BE819-E084-4685-9271-9C788B5661CE@yahoo.com> References: <24512130.post@talk.nabble.com> <431BE819-E084-4685-9271-9C788B5661CE@yahoo.com> Date: Thu, 16 Jul 2009 16:56:26 +0800 Message-ID: <98a659de0907160156k5be0d916y6e2600df4f15abe5@mail.gmail.com> Subject: Re: clone / update server From: chi runhua To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016368e1c2bc854c4046eced8da X-Virus-Checked: Checked by ClamAV on apache.org --0016368e1c2bc854c4046eced8da Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Besides using Maven to build plugins, you can use admin console to export your applications, dbpools to local disk, then create a custom plugin repository. The only requirement is that all your applications, dbpools should be specifieded as .car be deployed in 2.2-snapshot. Here is the doc(1) for your reference. It demonstrates how to export plugins, how to create a custom repository and how to install them. The page is kind of out-of-date and we'll update the page soon. But I guess the spirits are the same. (1) http://cwiki.apache.org/confluence/display/GMOxDOC22/Converting+applications+into+plugins+using+the+Administration+Console If you are talking about lots of applications, using car-maven-plugin to build would be the No.1 choice. Jeff C On Thu, Jul 16, 2009 at 4:31 PM, David Jencks wrote: > > On Jul 16, 2009, at 1:05 AM, Juergen Weber wrote: > > >> Hi, >> >> got a new 2.2 snapshot. How would I best get my current installation into >> the new snapshot? >> >> deploy/new-instance only creates a new server into the current >> installation, >> does it? >> >> http://cwiki.apache.org/GMOxDOC22/geronimo-gshell-commands.html#GeronimoGShellCommands-Creatinganewinstance >> >> What I'd need is to export all installed applications + plans (database >> pools) into a zip and import the zip into the new server installation. >> This >> would also be useful for backing up or moving a server to another machine. >> > > that won't really work. > > There have been a lot of gbean structure changes recently and definitely > since 2.1.x so you will almost certainly need to redeploy your apps. > > I strongly recommend that you use maven to build your applications (and db > pools etc) into plugins and then assemble a custom server including them > (again using maven) This gives you a reproducible process in version > control that generates the server you want with the apps you need in it. > > One possible problem is that until very recently if you used the console to > deploy something such as a db pool geronimo didn't save the plan for you. > However, you'd still have to come up with the plan somehow since you > probably need to redeploy. > > Hope this helps > david jencks > > > >> Thanks, >> Juergen >> >> -- >> View this message in context: >> http://www.nabble.com/clone---update-server-tp24512130s134p24512130.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> --0016368e1c2bc854c4046eced8da Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Besides using Maven to build plugins, you can use admin console to export y= our applications, dbpools to local disk, then create a custom plugin reposi= tory.

The only requirement is that all your applications, dbpools sh= ould be specifieded as .car be deployed in 2.2-snapshot.

Here is the doc(1) for your reference. It demonstrates how to export pl= ugins, how to create a custom repository and how to install them. The page = is kind of out-of-date and we'll update the page soon. But I guess the = spirits are the same.

(1) http://= cwiki.apache.org/confluence/display/GMOxDOC22/Converting+applications+into+= plugins+using+the+Administration+Console

If you are talking about lots of applications,=A0 using car-maven-plugi= n to build would be the No.1 choice.

Jeff C

On Thu, Jul 16, 2009 at 4:31 PM, David Jencks &= lt;david_jencks@yahoo.com>= wrote:

On Jul 16, 2009, at 1:05 AM, Juergen Weber wrote:


Hi,

got a new 2.2 snapshot. How would I best get my current installation into the new snapshot?

deploy/new-instance only creates a new server into the current installation= ,
does it?
http://cwiki= .apache.org/GMOxDOC22/geronimo-gshell-commands.html#GeronimoGShellCommands-= Creatinganewinstance

What I'd need is to export all installed applications + plans (database=
pools) into a zip and import the zip into the new server installation. This=
would also be useful for backing up or moving a server to another machine.<= br>

that won't really work.

There have been a lot of gbean structure changes recently and definitely si= nce 2.1.x so you will almost certainly need to redeploy your apps.

I strongly recommend that you use maven to build your applications (and db = pools etc) into plugins and then assemble a custom server including them (a= gain using maven) =A0This gives you a reproducible process in version contr= ol that generates the server you want with the apps you need in it.

One possible problem is that until very recently if you used the console to= deploy something such as a db pool geronimo didn't save the plan for y= ou. =A0However, you'd still have to come up with the plan somehow since= you probably need to redeploy.

Hope this helps
david jencks



Thanks,
Juergen

--
View this message in context: http://www.nabble= .com/clone---update-server-tp24512130s134p24512130.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

--0016368e1c2bc854c4046eced8da--