comm    = new VishnuComm    (getMyParams(), getName(), getClusterName(), domUtil);
comm    = new VishnuComm    (getMyParams(), getName(), getClusterName(), domUtil, runInternal);
  public void localSetup() {         super.localSetup();    try {hostName = getMyParams().getStringParam("hostName");}        catch(Exception e) {hostName = "dante.bbn.com";}    try {testing = getMyParams().getBooleanParam("testing");}        catch(Exception e) {testing = false;}    try {showFormatXML = getMyParams().getBooleanParam("showFormatXML");}        catch(Exception e) {showFormatXML = false;}    try {showDataXML = getMyParams().getBooleanParam("showDataXML");}        catch(Exception e) {showDataXML = false;}    try {ignoreSpecsFile = getMyParams().getBooleanParam("ignoreSpecsFile");}      catch(Exception e) {ignoreSpecsFile = false;}    try {sendSpecsEveryTime = 		   getMyParams().getBooleanParam("sendSpecsEveryTime");}        catch(Exception e) {sendSpecsEveryTime = false;}    try {alwaysClearDatabase = 		   getMyParams().getBooleanParam("alwaysClearDatabase");}        catch(Exception e) {alwaysClearDatabase = true;}    try {showTiming = 		   getMyParams().getBooleanParam("showTiming");}        catch(Exception e) {showTiming = true;}    try {sendRoleScheduleUpdates = 		   getMyParams().getBooleanParam("sendRoleScheduleUpdates");}        catch(Exception e) {sendRoleScheduleUpdates = false;}    try {makeSetupAndWrapupTasks = 		   getMyParams().getBooleanParam("makeSetupAndWrapupTasks");}        catch(Exception e) {makeSetupAndWrapupTasks = true;}    try {runInternal = 		   getMyParams().getBooleanParam("runInternal");}        catch(Exception e) {runInternal = false;}	// writes the XML sent to Vishnu web server to a file (human readable)    try {writeXMLToFile = 		   getMyParams().getBooleanParam("writeXMLToFile");}        catch(Exception e) {writeXMLToFile = false;}    try {debugFormatXMLizer = 		   getMyParams().getBooleanParam("debugFormatXMLizer");}    catch(Exception e) {debugFormatXMLizer = false;}    try {debugDataXMLizer = 		   getMyParams().getBooleanParam("debugDataXMLizer");}        catch(Exception e) {debugDataXMLizer = false;}	// controls the time period that Vishnu uses - assumes world starts at this time	// has large effect on scaling of gantt chart displays    try {vishnuEpochStartTime = 		   getMyParams().getStringParam("vishnuEpochStartTime");}        catch(Exception e) {vishnuEpochStartTime = "2000-01-01 00:00:00";}	// controls the time period that Vishnu uses - assumes world ends at this time	// has large effect on scaling of gantt chart displays    try {vishnuEpochEndTime = 		   getMyParams().getStringParam("vishnuEpochEndTime");}        catch(Exception e) {vishnuEpochEndTime = "2002-01-01 00:00:00";}    // how many of the input tasks to use as templates when producing the 	// OBJECT FORMAT for tasks    try {firstTemplateTasks = getMyParams().getIntParam("firstTemplateTasks");}        catch(Exception e) {firstTemplateTasks = 2;}    try {sendDataChunkSize = getMyParams().getIntParam("sendDataChunkSize");}        catch(Exception e) {sendDataChunkSize = 100;}		domUtil = new VishnuDomUtil (getMyParams(), getName(), getCluster());	comm    = new VishnuComm    (getMyParams(), getName(), getClusterName(), domUtil);	// helpful for debugging connection configuration problems	if (runInternal)	  System.out.println (getName () + " - will run internal Vishnu Scheduler.");	else	  System.out.println (getName () + " - will try to connect to Vishnu Web Server : " + 						  hostName);  }