AMBARI-5956. DB connection check error if jdk_name does not exist.(vbrodetskyi)