pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Major Services <services.major@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Date: Wed, 10 Mar 2010 15:54:58 +0100
Message-ID: <87fx48rzul.fsf@meuh.mnc.lan> (raw)
In-Reply-To: <375c2da1003100631n22609890x36e522cf509eaaa6@mail.gmail.com>
References: <375c2da1003090851h36daef83v2ced94b02051b08b@mail.gmail.com>
	<4B96CC72.2070306@catalyst.net.nz>
	<375c2da1003100631n22609890x36e522cf509eaaa6@mail.gmail.com>

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



view thread (15+ messages)  latest in thread

Message-ID: <87fx48rzul.fsf@meuh.mnc.lan>
Permalink:  ../87fx48rzul.fsf@meuh.mnc.lan/
Also on:    postgresql.org/message-id/87fx48rzul.fsf@meuh.mnc.lan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gc@mnc.ch, services.major@gmail.com
  Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
  In-Reply-To: <87fx48rzul.fsf@meuh.mnc.lan>
  References: <375c2da1003090851h36daef83v2ced94b02051b08b@mail.gmail.com> <4B96CC72.2070306@catalyst.net.nz> <375c2da1003100631n22609890x36e522cf509eaaa6@mail.gmail.com> <87fx48rzul.fsf@meuh.mnc.lan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox