Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 41660634FF9 for ; Wed, 10 Mar 2010 21:56:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57129-01 for ; Thu, 11 Mar 2010 01:56:03 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id E3B0A634D43 for ; Wed, 10 Mar 2010 21:56:03 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.3/8.14.3) with ESMTP id o2B1tvGI075017 for ; Wed, 10 Mar 2010 21:55:57 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.3/8.14.3/Submit) id o2B1m7hd072166 for pgsql-jdbc@postgresql.org; Wed, 10 Mar 2010 21:48:07 -0400 (AST) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed Date: Wed, 10 Mar 2010 20:48:11 -0500 Organization: albasani.net Lines: 12 Message-ID: References: <375c2da1003090851h36daef83v2ced94b02051b08b@mail.gmail.com> <4B96CC72.2070306@catalyst.net.nz> <375c2da1003100631n22609890x36e522cf509eaaa6@mail.gmail.com> <4B9801A0.8080607@catalyst.net.nz> <4B9801E4.1080007@catalyst.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@albasani.net X-User-ID: M45NxnW2t8R8D+/qPHECqBwEmSNwq/jH7I7q2qPanrA= In-Reply-To: <4B9801E4.1080007@catalyst.net.nz> Cancel-Lock: sha1:NMWIMRTNuBt0jx6//LTPmwikzKY= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-NNTP-Posting-Host: qFSCSVUWp3kcYLXNxwBZDygP3WZUiuKCDxXLpGqczdM= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201003/48 X-Sequence-Number: 20388 Mark Kirkwood wrote: > Make that CLASSPATH sorry...! > > I wrote: >> >> $ export CLASSPAT=path-to-your-postgresql.jar:. Only don't use CLASSPATH, use the "-classpath" (a.k.a., "-cp") option to the "java" command. -- Lew