PQ57759: EAR FILE OVERWRITTEN WHEN ACCESSING AN ISERIES ADMIN SERVER FROM DISTRIBUTED ADMIN GUI IN 4.0.2

APAR status
Closed as program error.

Error description
In the create() method of
com.ibm.ejs.sm.client.ui.earinstall.AppCreation
the deployment descriptors of the original ear are being
modified.  Our code should not be modifying the original ears
provided by the customers.

Instead, the code should do what the existing comment says to
do :
$WAS_HOME/installableApps,
// and save changed DD information to that file."

The ear should be copied to the installableApps directory and
that copy of the ear should be modified.

When being copied to the installedApps directory, the ear
should be renamed ifan ear already exists in that directory,
so as not to overwrite the original if it
is already sitting in the installableApps directory.
defect 117346
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Advanced        *
*                 Edition 4.02 users utilizing the admin       *
*                 console to access a server located on        *
*                 iSeries platform                             *
****************************************************************
* PROBLEM DESCRIPTION: Application install automatically       *
*                      writes over the original ear file       *
*                      during the install process.  In iSeries *
*                      the Samples are contained in a read     *
*                      only directory causing problems on      *
*                      this platform.                          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
In the create() method of
com.ibm.ejs.sm.client.ui.earinstall.AppCreation
the deployment descriptors of the original ear are being
modified.  The code should not be modifying the original ears
provided by the application.
Problem conclusion
Modified the admin console and admin server code such that
the following occurs:
The ear is copied to the installableApps directory and
that copy of the ear is modified.

When being copied to the installedApps directory, the ear
is renamed if an ear already exists in that directory,
so as not to overwrite the original if it
is already sitting in the installableApps directory.
Temporary fix Comments
APAR information
APAR number PQ57759
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-02-12
Closed date 2002-02-19
Last modified date 2002-03-08

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ADMINSVR          

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


Document Information


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