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 6D0D756439 for ; Wed, 9 Mar 2005 22:48:29 +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 77102-01 for ; Wed, 9 Mar 2005 22:48:21 +0000 (GMT) Received: from mail.liquidcore.com (mail.liquidcore.net [68.17.96.60]) by svr1.postgresql.org (Postfix) with ESMTP id 5F92A56392 for ; Wed, 9 Mar 2005 22:48:21 +0000 (GMT) Received: (from root@localhost) by mail.liquidcore.com (8.13.1/8.12.10) id j29MmTDV030289; Wed, 9 Mar 2005 16:48:29 -0600 Received: from ppasala3 (ppasala.nqadmin.com [192.168.0.7]) by mail.liquidcore.com (8.13.1/8.12.10) with SMTP id j29MmRWn030242; Wed, 9 Mar 2005 16:48:29 -0600 From: "Prasanth" To: "Oliver Jowett" Cc: "Rover, Mischa de" , Subject: Re: Crystal Reports: Connection rejected: FATAL: no PostgreSQL Date: Wed, 9 Mar 2005 16:49:33 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <422F764E.1010108@opencloud.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-scanner: scanned for malicious content X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/99 X-Sequence-Number: 12491 >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.. I do specify the username & password. CR is able to connect to the database at design time. I use JDBC connection even for designing the report. I works great at design time. It is during runtime that the report is not able to connect. It could well be CR bug, I even emailed their tech support but no response. >Can you try the protocolVersion=2 approach and see if that works? Same error message. P.S: I am using postgresql-8.0-310kh.jdbc3.jar driver -Prasanth. -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Oliver Jowett Sent: Wednesday, March 09, 2005 4:19 PM To: Prasanth Cc: Rover, Mischa de; pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Crystal Reports: Connection rejected: FATAL: no PostgreSQL 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 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings