You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "Spotts, Joel (ISS Atlanta)" <js...@us.ibm.com> on 2007/03/16 21:26:37 UTC

redeploy

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

Re: redeploy

Posted by Aman Nanner/MxI Technologies <am...@mxi.com>.
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\)" <js...@us.ibm.com> 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. *