X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E822D54D6F for ; Wed, 9 Mar 2005 22:19:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69212-02 for ; Wed, 9 Mar 2005 22:19:01 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 0880952D42 for ; Wed, 9 Mar 2005 22:18:59 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1D99W5-0002yw-00; Thu, 10 Mar 2005 11:18:57 +1300 Message-ID: <422F764E.1010108@opencloud.com> Date: Thu, 10 Mar 2005 11:18:54 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Prasanth Cc: "Rover, Mischa de" , pgsql-jdbc@postgresql.org Subject: Re: Crystal Reports: Connection rejected: FATAL: no PostgreSQL References: In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/98 X-Sequence-Number: 12490 Prasanth wrote: >>- pass it to DriverManager.getConnection(url, user, password) >>- pass a "user" property when calling DriverManager.getConnection(url, >>properties) > > > These two options can't be used as its done by Crystal Reports at runtime. Right, but I'd assume that CR has some way to configure the user/password it uses if it's using the first form, at least.. >>- pass it in the URL: jdbc:postgresql://host:port/database?user=username > > > I tried this but getting the same error message Logon Failed. > (I am not able to include the message in my server log as it seems to have > broken. > No messages since yesterday. Not sure why my logging has stopped) Strange.. Can you try the protocolVersion=2 approach and see if that works? -O