public static void getConnection() {
		try {
			logger.info("Connecting with Server ...");
			wait = prop.getInt("ThreadSleep_period");
			int portNumber = prop.getInt("port_number");
			String hostAddress = prop.getString("host_address");
			requestSocket = new Socket(hostAddress, portNumber);
			logger.info("Server is Connected with in the Host: '" + hostAddress + "' and PortNumber: '" + portNumber + "'. ");
			processCommand = new ProcessCommandImpl(requestSocket, prop);		
		} catch (UnknownHostException e) {
			logger.error("UnknownHostException:" + e.getMessage() + ". The host_address or port_number is invalid . Verify the Details... ");
			return;
		} catch (IOException e) {
			logger.error(" Connection to the CAS server is Not Established .... , " + e.getMessage());
			try {
				Thread.sleep(wait);
				ComvenientConsumer.getConnection();
			} catch (InterruptedException e1) {
				logger.error("thread is Interrupted for the : " + e.getCause().getLocalizedMessage());
			}
		}catch (NullPointerException e) {
			logger.error("NullPointerException:" + e.getMessage() + " ");
			return;
		}

	}