PQ61441: EAR EXPANDER ON WAS 402 MAKES EAR FILE UNDEPLOYABLE IN WAS 401.

APAR status
Closed as documentation error.

Error description
EAR Expander is working as designed but should include some
examples of how to work with EAR files from different versions:
1) An example of earexpander options when trying to copy EAR
   directories from one system to another
2) How the EAR is expanded in the installedApps directory.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Users of        *
*                 EARExpander.                                 *
****************************************************************
* PROBLEM DESCRIPTION: EARExpander no longer collapses         *
*                      utility jar/zip files starting at 4.02  *
*                      and above                               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
EARExpander no longer collapses utility jar/zip files
starting at 4.0.2 and above.
This is a limitation and will be addressed in a future release.

To workaround this problem you could do one of the following:

1) While expanding  the ear file, select "-expansionFlags war"
option only, so that the zip/jar files do not get expanded and
will remain intact when you run the collapse.
EARExpander.(bat|sh) -ear <$PATH>\test.ear -expandDir <$PATH>\
ear\test.ear  -operation expand -expansionFlags war

To collapse the ear file run the following:
EARExpander.(bat|sh) -ear <$PATH>\test.ear -expandDir <$PATH>\
ear\test.ear  -operation collapse

2) If a zip/jar file needs to be changed,  expand the ear file
with "-expansionFlags all", after making  the required changes
to the files in the zip/jar archives, make sure you manually
collapse the zip/jar files , and then run the following:

EARExpander.(bat|sh) -ear <$PATH>\test.ear -expandDir <$PATH>\
ear\test.ear  -operation collapse
Problem conclusion
Closing as a documentation change.
Temporary fix Comments
APAR information
APAR number PQ61441
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED DOC
PE NoPE
HIPER NoHIPER
Submitted date 2002-05-22
Closed date 2002-08-06
Last modified date 2002-08-21

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information

Applicable component levels


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ61441
IBM Group: Software Group
Modified date: Aug 21, 2002