This method attempts a "local" rendezvous. We look for all the domains at the same level (i.e. same parent directory) as this node agent, and we register ourselves with the first domain without checking host and port. This code is meant to be called by the installer only and is potentially dangerous since it is common to create multiple domains with the same port, etc in testing scenerios. Furthermore, it is important that the DAS not be running when this is invoked. This writes domain.xml directly, and could result in issues if the DAS is running since the DAS config context will not be refreshed with the new domain.xml.
@throws Exception
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.