PQ74417: FULL SYNCHRONIZE FAILS WHEN "ENABLE DISTRIBUTION" HAS BEEN UNCHECKED FOR AN APPLICATION.

 A fix is available

5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
When "Enable Distribution" is unchecked for an application
the full synchronization fails.
The full Synchronize command results in:
           messages that files were deleted
           followed by a Java stack
           another Full Synch and the files get created
Java Stack begins with:
E ADMA7005E: Unexpected exception loading resource
cells/w00mwas01Network/applications/gwa_DefaultApplication.ear/d
eployments/gwa_DefaultApplication/deployment.xml from the
repository.  This will cause further problems in using this
 resource for app sync logic.
W ADMA7002E: Unexpected exception java.lang.NullPointerException
 at com.ibm.ws.management.application.task.ConfigRepoHelper.
 getAppDeploymentForApp(ConfigRepoHelper.java(Compiled Code))
Local fix
A second full synchronize recreates the deleted files and
runs correctly.  If the "Enable Distribution" is checked
(default), the problem does not occur.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of        *
*                 Deployment Manager.                          *
****************************************************************
* PROBLEM DESCRIPTION: "Unexpected exception loading           *
*                      resource" is seen when "Enable          *
*                      Distribution" is disabled for an        *
*                      application.                            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When "Enable Distribution" is disabled for an application the
full synchronization fails.  The full Synchronize command
results in:

1) messages that files were deleted.

2) Java stack trace beginning with:

E ADMA7005E: Unexpected exception loading resource
cells/w00mwas01Network/applications/gwa_DefaultApplication.
ear/d eployments/gwa_DefaultApplication/deployment.xml from
the repository.  This will cause further problems in using
this resource for app sync logic.

W ADMA7002E: Unexpected exception java.lang.
NullPointerException at
com.ibm.ws.management.application.task.ConfigRepoHelper.
  getAppDeploymentForApp(ConfigRepoHelper.java(Compiled Code))

3) Another Full Synch and the files get created.
Problem conclusion
Changed in logic in:

  CellSync.java
  FolderSyncTask.java
  FolderCompareTask.java

to properly keep track of applications that are disabled for
distribution during the synchronization process.
Temporary fix Comments
APAR information
APAR number PQ74417
Reported component name WAS NETWRK DEPL
Reported component ID 5630A3601
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-05-21
Closed date 2003-05-22
Last modified date 2003-05-22

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
AdminJMX          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ74417
IBM Group: Software Group
Modified date: May 22, 2003