Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed - Mailing list pgsql-jdbc

From Guillaume Cottenceau
Subject Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Date
Msg-id 87fx48rzul.fsf@meuh.mnc.lan
Whole thread Raw
In response to Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (Major Services <services.major@gmail.com>)
Responses Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
List 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 by date:

Previous
From: Major Services
Date:
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Next
From: dmp
Date:
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed