APAR status
Closed as program error.
Error description
Problems with sync when filetransfer program is not running
Recreate Steps:
1. Stopped filetransfer enterprise app
2. stopped the nodeagent for federated node.
3. modified the serverindex.xml file in the
DeploymentManager/config/
cells/dinoNetwork/nodes/dino1 directory. (changed a port
number for one of the endpoints for SSL.)
4. Ran syncNode.sh dino 8890 -user wpsbind -password wpsbind
Note: Sync fails with nullpointer exception, due to
filetransfer application being stopped.
5. Checked the size of the serverindex.xml file in the following
directory. AppServer/config/cells/dinoNetwork/nodes/dino1/
and saw that the serverindex.xml file was "0" bytes.
(Note: the serverindex.xml file that is in the
DeploymentManager/ config/cells/dinoNetwork/nodes/dino1/
directory is still ok, it doesn't get zeroed out.
Local fix
make sure filetransfer program is working
Problem summary
****************************************************************
* USERS AFFECTED: Websphere Applicaton server Version *
* 5.0.2 and 5.1 users who try to sync when *
* the FileTransfer Application is not running. *
****************************************************************
* PROBLEM DESCRIPTION: If the FileTransferService is not *
* running while a sync operation is *
* initiated on a node, the Sync fails *
* with a null pointer exception. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
To recreate:
1. Stop the filetransfer enterprise app.
2. Stop the nodeagent for a federated node.
3. Modified the serverindex.xml file in the
<DeploymentManager>/config/cells/dinoNetwork/nodes/<nodename>
directory manually.
4. Run syncNode
Note: SyncNode fails with Nullpointer exception, due to
filetransfer application being stopped.
5. Check the size of the serverindex.xml file in the
following directory.
(AppServer/config/cells/dinoNetwork/nodes/<nodename>)
The size will be of "0" bytes.
(Note: the serverindex.xml file that is in the
DeploymentManager/config/cells/dinoNetwork/nodes/dino1/
directory is still ok, it doesn't get zeroed out. )
What happens when the sync request is made is:
1) Nodeagent queries the dmgr for the modified files.
2) Nodeagent initiates an update operation to sync its local
repository with that of dmgr, upon receiving the response from
dmgr.
3) The update opertaion uses the FileTransfer service to
download the new version of the modified files.
The FileRepository.java and FileDocument.java are responsible
for merging the changes to the node repository.
The FileDocument.java, opens a new output stream to a given
doc URI to write the changes. It reads the file content from
dmgr, using FileTransferService. If the file transfer
application is not running, this step will fail with an
exception and nothing will be read out from the dmgr and nothing
will be written to the local file. The file is then closed and
this leaves the file at zero bytes.
Problem conclusion
Code has been corrected so that this problem does not occur.
The fix for this APAR is currently targeted for inclusion in
fixpack 5.0.2.15 and 5.1.1.8
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 |
PK08893 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
10W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-07-14 |
Closed date |
2005-09-12 |
Last modified date |
2006-01-30 |
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 |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|