Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 87005 invoked from network); 19 Mar 2007 18:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2007 18:20:21 -0000 Received: (qmail 44052 invoked by uid 500); 19 Mar 2007 18:20:27 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 44033 invoked by uid 500); 19 Mar 2007 18:20:26 -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 44016 invoked by uid 99); 19 Mar 2007 18:20:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 11:20:26 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.1.185] (HELO exprod6og52.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Mar 2007 11:20:15 -0700 Received: from source ([66.46.195.131]) by exprod6ob52.postini.com ([64.18.5.12]) with SMTP; Mon, 19 Mar 2007 11:19:53 PDT In-Reply-To: Subject: RE: redeploy To: user@geronimo.apache.org X-Mailer: Lotus Notes Release 7.0 August 18, 2005 Message-ID: From: Aman Nanner/MxI Technologies Date: Mon, 19 Mar 2007 14:19:50 -0400 X-MIMETrack: Serialize by Router on Oceanus/MxI Technologies(Release 7.0|August 18, 2005) at 03/19/2007 02:19:45 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Your existing directory structure should remain intact, as that is where Geronimo will be loading all your classes from. During redeployment, the deployer tool will delete the serialized config directory in the repository for your application, and then re-create it using the information form your in-place directory. The deployer does create all those "ser" and "info" files from your deployment descriptors during the deployment process. Therefore, if you change one of your deployment descriptors, you need to redeploy your app. However, if you just swap in new code into your in-place directory, Geronimo will pick it up without having to redeploy. Thanks, Aman "Spotts, Joel \(ISS Atlanta\)" wrote on 03-19-2007 02:03:26 PM: > My understanding is that even if I have an application deployed > in-place, if I redeploy it, the deployer will delete the current > directory structure, so I would need to copy the current directory > structure in any event. > > What does the deployer do? Does it simply create the config.ser, > config.info, etc files? > > Thanks, > > Yoel Spotts > > -----Original Message----- > From: Aman Nanner/MxI Technologies [mailto:aman.nanner@mxi.com] > Sent: Friday, March 16, 2007 4:41 PM > To: user@geronimo.apache.org > Subject: Re: redeploy > > If you are deploying in-place, there is no need to copy the EAR. You > should be able to just modify the application.xml, add the new web app > to > the EAR structure, and run the deployer tool to redeploy the EAR file. > > If you are not deploying in-place, then I'm not sure you can avoid > copying > out the EAR. Someone else might have more knowledge in this area. > > "Spotts, Joel \(ISS Atlanta\)" wrote on 03-16-2007 > 04:26:37 PM: > > > I am looking for the easiest way to redeploy an EAR after adding a > > web application. The EAR has other webapps which added or modified > > some files, so I need the current EAR directory structure to remain > > as is. The only way I can see now is as follows: > > A) copy the entire ear directory to a temp staging area. > > B) modify application.xml > > C) add the new webapp > > D) run the deployer tool to redeploy the ear > > I would like to find a solution which does not require copying the > > current ear structure to another location, That seems wasteful. Is > > there an easier way? > > Thanks, > > Yoel Spotts > > ________________________________________________________________________ > __________ > * This message is intended only for the use of the individual or entity > to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable > law. Unless you are the addressee (or authorized to receive for the > addressee), you may not use, copy or disclose the message or any > information contained in the message. If you have received this message > in error, please advise the sender by reply e-mail , and delete the > message, or call (collect) 001 613 747 4698. * > > > __________________________________________________________________________________ * This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *