docs: protected boolean invokeGeneratePluginCfgMBean(ParseLoginAddress loginAddress, String clusterName, String targetPath, String option) 
  	{
  		boolean success = false;
  		try {
  			success = connection.generatePluginConfig(loginAddress, clusterName, targetPath ,option);
  			
  			if (success)
  				success = copyFileToTargetPath(loginAddress,clusterName,targetPath);
  
  			if(success){
  				
  				if(option.equalsIgnoreCase("server")){
  					commandConsole.printlnInfoMessage(getMessage("generateWebServerPluginTask.complete.server"));
  				}
  				else
  					commandConsole.printlnInfoMessage(getMessage("generateWebServerPluginTask.complete.collective"));
  			}
  
  			else
  				if(option.equalsIgnoreCase("server")){
  					commandConsole.printlnInfoMessage(getMessage("generateWebServerPluginTask.fail.server"));
  				}
  				else
  					commandConsole.printlnInfoMessage(getMessage("generateWebServerPluginTask.fail.collective"));
  
  
  		} catch (RuntimeMBeanException e) {
  			commandConsole.printlnErrorMessage(getMessage("common.connectionError", e.getMessage()));		
  
  		} catch (UnknownHostException e) {
  			// java.net.UnknownHostException: bad host
  			commandConsole.printlnErrorMessage(getMessage("common.hostError", loginAddress.getHost()));
  
  		} catch (ConnectException e) {
  			// java.net.ConnectException: bad port
  			commandConsole.printlnErrorMessage(getMessage("common.portError", loginAddress.getPort()));		
  
  		} catch (IOException e) {
  			// java.io.IOException: bad creds or some other IO error
  			commandConsole.printlnErrorMessage(getMessage("common.connectionError", e.getMessage()));
  
  		} catch (Exception e) {
  			String msg = e.getMessage();
  			if (msg != null) {
  				//int idx = e.getMessage().indexOf(MBEAN_NOT_PRESENT_MSG_ID);
  				//if (idx > -1) {
  				commandConsole.printlnInfoMessage(getMessage("generateWebServerPluginTask.notEnabled"));
  				//}
  			}
  			commandConsole.printlnErrorMessage(getMessage("common.connectionError", e.getMessage()));		
  		} finally {
  			try {
  				connection.closeConnector();
  			} catch (IOException e) {
  				// java.io.IOException: some other IO error
  				commandConsole.printlnErrorMessage(getMessage("common.connectionError", e.getMessage()));
  
  			}
  		}
  		return success;
  	}