Node synchronization fails in cells containing both UNIX and Windows nodes
 Technote (troubleshooting)
 
Problem(Abstract)
In an IBM® WebSphere® Application Server cell containing both UNIX® and Windows® nodes, the synchronization can fail randomly. This is an example of the SystemOut.log (nodeagent) entry:

[9/4/04 2:46:13:172 PDT] 206ff60d FileRepositor A ADMR0010I: Document cells/ibmNetwork/nodes/ibm/serverindex.xml was modified.
[9/4/04 2:46:13:188 PDT] 206ff60d NodeSyncTask A ADMS0016I: Configuration synchronization failed.
 
Cause
If you trace the nodeagent during synchronization (com.ibm.*=all=enabled) you can find a DocumentAlreadyExistsException, because there are two documents in the same location with different cases.

On UNIX, these files are treated as unique files; however, because Windows is not case sensitive, the two files are not treated as unique file names. Synchronization detects that the config directory on Base and ND do not match because they are missing one of the two files. Therefore, synchronization fails.

Example of the error message:


[9/4/04 2:54:23:281 PDT] 1cb1b60a GenericSerial > replaceObject
cells/ibmNetwork/applications/ibmapp.ear/deployments/ibmapp/META-INF/manifest.mf
com.ibm.websphere.management.exception.DocumentAlreadyExistsException: cells/ibmNetwork/applications/ibmapp.ear/deployments/ibmapp/META-INF/manifest.mf
at com.ibm.ws.management.repository.FileRepository.preCreate(FileRepository.java:624)
at com.ibm.ws.management.repository.FileRepository.preUpdate(FileRepository.java:1363)
at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1324)
at com.ibm.ws.management.repository.FileRepository.create(FileRepository.java:589)
at com.ibm.ws.management.repository.FileRepository.create(FileRepository.java:577)
at com.ibm.ws.management.sync.NodeSyncTask.processFolderSyncUpdate (NodeSyncTask.java:396)
at com.ibm.ws.management.sync.NodeSyncTask.doSync(NodeSyncTask.java:255)
at com.ibm.ws.management.sync.NodeSyncTask.run(NodeSyncTask.java:139)
at java.lang.Thread.run(Thread.java:513)

Look at the directory referenced in the error message; there are entries similar to the following:

/usr/WebSphere/DeploymentManager/config/cells/ibmNetwork/applications/ibmapp.ear/deployments/ibmapp/META-INF/MANIFEST.MF
/usr/WebSphere/DeploymentManager/config/cells/ibmNetwork/applications/ibmapp.ear/deployments/ibmapp/META-INF/manifest.mf

 
Resolving the problem
Give the files different names, or remove one of the two copies.
In the preceding example, the manifest.mf is not valid and should be removed.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 5.1.1
Software edition:
Reference #: 1179265
IBM Group: Software Group
Modified date: Sep 13, 2004