Sun GlassFish Enterprise Server v2.1.1 Troubleshooting Guide

Node Agent Does not Sync Corrupt/Deleted domain.xml

Node agents started with the command asadmin start-node-agent --syncinstances=true does not sync a corrupted domain.xml file in the instance's config directory. The start-node-agent command fails because it cannot it cannot sync the domain.xml file in the DAS with the one in the instance's config directory. Manually edited domain.xml file are not synchronized because manual edits do not change the timestamp of the file.


Perform a dummy operation in the domain.xml file that has been manually edited, so that when you run the start-node-agent or start-instance command, the sync operation of domain.xml succeeds.