// Bubbling them up the call hierarchy so that a retry can happen in openTransport,
// if dynamic service discovery is configured.
TCLIService.Iface client = new TCLIService.Client(new TBinaryProtocol(transport));
TOpenSessionResp openResp = client.OpenSession(new TOpenSessionReq());
if (openResp != null) {
client.CloseSession(new TCloseSessionReq(openResp.getSessionHandle()));
}
}
catch (TException e) {
String msg = "Could not create http connection to " +
jdbcUriString + ". " + e.getMessage();