this.switchedIIOPPorts(serverName,
null, domainDoc.getDocumentElement());
}
// Passing baseElement as null. "IIOP_LISTENER_PORT" should definitely exist. Ssome times the create-instance does not add it.
// This base element is only a structural reference to invoke appendChild method.
BaseElement baseElement = null;
try{
baseElement =
com.sun.enterprise.tools.upgrade.transform.ElementToObjectMapper.getMapper().getElementObject(domainDoc.getDocumentElement().getTagName());
}catch(Exception ef){
}