Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed

Поиск
Список
Период
Сортировка
От Guillaume Cottenceau
Тема Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Дата
Msg-id 87fx48rzul.fsf@meuh.mnc.lan
обсуждение исходный текст
Ответ на Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (Major Services <services.major@gmail.com>)
Ответы Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Список pgsql-jdbc
Major Services <services.major 'at' gmail.com> writes:

> Hi,
> Following is the error report:

lol!

(sorry, couldn't resist)

> org.apache.jasper.JasperException: Unable to compile class for JSP:
>
> An error occurred at line: 13 in the jsp file: /jsp/pgtest.jsp
> Properties cannot be resolved to a type
>
> 10: {
> 11: Class.forName("org.postgresql.Driver");
> 12:  String url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=major";
> 13:  Properties props = new Properties();
> 14:  props.setProperty("loglevel","2");
>
> 15:  Connection conn = DriverManager.getConnection(url, props);
> 16: }
>
--
Guillaume Cottenceau

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

Предыдущее
От: Major Services
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Следующее
От: dmp
Дата:
Сообщение: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed