Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Дата
Msg-id f4b74374-28d8-eeae-fb0a-4c4c1d3b7b55@gmail.com
обсуждение исходный текст
Ответ на RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)  ("McDermott, Becky" <bmcderm@sandia.gov>)
Ответы RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Список pgsql-jdbc


 

public static void main(String[] args)  {

PostgreSQLJDBC app = new PostgreSQLJDBC();

int idx = 1;

 

System.out.println("About to try connecting to postreSQL database ...");

 

Connection db_con = app.connect();

 

if (db_con == null) {

System.out.println("Unable to connect to the database ... check the logs for the exception message");

}

else {

System.out.println("Successfully connected to the database!!  Try running a query");

}

 

System.out.println("Inside main - about to enter a long loop");

 

while (true) {

System.out.printf("Looping a set number of times ... Loop Iteration:  %d%n", idx);

 

idx++;

 

try {

TimeUnit.SECONDS.sleep(5);

}

catch (Exception e) {

System.out.println(e.getMessage());

}

}

}

}

I think this while loop is not going to exit.
Maybe while (idx < 1000)

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "McDermott, Becky"
Дата:
Сообщение: RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)