APAR status
Closed as program error.
Error description
EARexpander returns error code 0 (which means success) even
though the command actually failed because of a corrupt ear
file.
We know the ear is corrupt, however, EARexpander should return
a different return code than "0" since "0" is used for
success. When the command fails, a different return code should
be returned, such as "-1".
An example of the failure looks like:
ADMA4006I: Expanding
/usr/WebSphere/DeploymentManager/installableApps/MyEar.ear
into /web/server_root/eja/MyEar/MyEar.ear
com.ibm.etools.archive.exception.OpenFailureException:
IWAE0037E Could not open
/usr/WebSphere/DeploymentManager/installableApps/MyEar.ear
Stack trace of nested exception:
java.util.zip.ZipException: Error opening zip file
/usr/WebSphere/DeploymentManager/installableApps/MyEar.ear
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:140)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of *
* version 5.0.2, 5.1.1 and 6.0.2. *
****************************************************************
* PROBLEM DESCRIPTION: EARExpander.sh returns 0 (which *
* indicates a successful operation on *
* Unix) even if the operation done is *
* unsuccessful. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
EARExpander.sh returns 0 for echo $? in Unix Operating system(s)
for an unsuccessful operation (for example, expansion of a
corrupted ear file). An unsuccessful operation should be
indicated by a return code other than 0.
Problem conclusion
Return code from EARExpander.main() method is now done using
System.exit(-1) value.
The fix for this APAR is currently targeted for inclusion
in cumulative fixes 5.02.15, 5.1.1.9 and fixpack 6.0.2.7.
Please refer to the recommended updates page for delivery
information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK15338 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
10A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-11-17 |
Closed date |
2005-12-12 |
Last modified date |
2005-12-12 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS NETWRK DEPL |
Fixed component ID |
5630A3601 |
Applicable component levels |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|