WebSphere Application Server - WAS 5.1 deploying an updated WAR to published EAR?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > February 2004 > WAS 5.1 deploying an updated WAR to published EAR?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author WAS 5.1 deploying an updated WAR to published EAR?
Rob Mitchell

2004-02-24, 7:33 am

Hi,

I have WAS 5.1 running on Windows 2000.

It has my one EAR containing multiple WAR files (say A.war, B.war, C.war).
The WAR Classloader Policy is set to Application since B and C use some of A
(legacy code that hasn't been refactored yet). So, I need to deploy updated
B and C WAR files using the WAS 5.1 admin web app.

But, as soon as I deploy B first, all the other WARs are removed from the
EAR file. This is bad!

How do I updated an existing WAR with a new WAR that's already in an EAR in
WAS 5.1?

_______________________________________
Rob Mitchell
Base Class Technologies, Inc.
Java, WebSphere, Domino, Oracle, Web development
Rob.Mitchell@comcast.net





Ken Hygh

2004-02-24, 8:34 am

Rob Mitchell wrote:
> Hi,
>
> I have WAS 5.1 running on Windows 2000.
>
> It has my one EAR containing multiple WAR files (say A.war, B.war, C.war).
> The WAR Classloader Policy is set to Application since B and C use some of A
> (legacy code that hasn't been refactored yet). So, I need to deploy updated
> B and C WAR files using the WAS 5.1 admin web app.
>
> But, as soon as I deploy B first, all the other WARs are removed from the
> EAR file. This is bad!
>
> How do I updated an existing WAR with a new WAR that's already in an EAR in
> WAS 5.1?
>
> _______________________________________
> Rob Mitchell
> Base Class Technologies, Inc.
> Java, WebSphere, Domino, Oracle, Web development
> Rob.Mitchell@comcast.net
>
>
>
>
>


How are you 'deploying'?
Ken

Rob Mitchell

2004-02-24, 12:33 pm

I deploy from the J2EE perspective of WSAD 5.1.1 running on my local machine
(Windows XP). At first, I deployed just the EAR containing 3 WARs.
Subsequently, I've deployed just the changed WARs, file copied to remote WAS
5.1, and used the WAS Admin web app to "update" the Enterprise Application
(e.g. the EAR).

I have a feeling (but don't know how) that I should be deploying from my
local WSAD environment right to the remote WAS 5.1 node, right?

Thanks!

_______________________________________
Rob Mitchell
Base Class Technologies, Inc.
Java, WebSphere, Domino, Oracle, Web development
Rob.Mitchell@comcast.net



"Ken Hygh" <kenhygh@nc.rr.com> wrote in message
news:c1ghgf$4bfq$2@news.boulder.ibm.com...
> Rob Mitchell wrote:
C.war).[color=blue]
of A[color=blue]
updated[color=blue]
the[color=blue]
in[color=blue]
>
> How are you 'deploying'?
> Ken
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com