Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3F363633D09; Fri, 26 Jun 2009 02:07:22 -0300 (ADT) 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 93579-08; Fri, 26 Jun 2009 02:07:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f187.google.com (mail-yx0-f187.google.com [209.85.210.187]) by mail.postgresql.org (Postfix) with ESMTP id BAA2E633AF4; Fri, 26 Jun 2009 02:07:20 -0300 (ADT) Received: by yxe17 with SMTP id 17so70204yxe.15 for ; Thu, 25 Jun 2009 22:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0qWJBJHagLn5aVciygYkomOpmc+tiyCaDFDEmg4TdtI=; b=xE/0QsnTmwXnhEDqbaiSZzFxnSbbSh/4jWLreyGx/wlMmvZAzXh4HK5Bc53JeXfIVw MNXDpZ1CoyixRpF9wKCoie3Wyw7yNKc5JxR0+XlM+12guTg89wyjavDjE8h9OiD2ONoG TRW6qa/K/PqdzXn/JgYnYsScovhtG1AnOZL4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CVusrSCabqOxM5kZrHbaSx2GOPIiMj3Sap08xJEmBMdtzsUMiN25CE233JjHmtKGXV Ro03ZnpHjGE3M6Nb8nQ2w4wiYUwQSBPvtHfNR/pai3IFQx6vkecUb138Yxy68iiaAHRI BuqZ12ue+aDDKXM7DhNyt3WGC9fWFfa5g5lXs= MIME-Version: 1.0 Received: by 10.90.118.8 with SMTP id q8mr2758642agc.95.1245992839718; Thu, 25 Jun 2009 22:07:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jun 2009 10:37:19 +0530 Message-ID: Subject: Re: [JDBC] Postgres 8.3.7 -- EOF on client connection From: CM J To: Saurabh Dave Cc: pgsql-general@postgresql.org, pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=0016362835a89aa867046d3950f4 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200906/1224 X-Sequence-Number: 149568 --0016362835a89aa867046d3950f4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, The problem turned out to be not with postgres but my JDBC connection code. Thanks ! On Thu, Jun 25, 2009 at 5:25 PM, Saurabh Dave wrote: > Hi CMJ, > > If you are using WebNMS framework with hibernate, can you check if you have > done this: > > * ConfigReader configReader = ConfigReader.getInstance(); > configReader.modifyHbmToDdl(true); > * > > Thanks, > Saurabh > > > On Wed, Jun 24, 2009 at 6:06 PM, CM J wrote: > >> Hi , >> >> I installed postgres 8.3.7-1 in my windows machine. The server >> starts all right.However when i attempt a JDBC connection(Driver used: >> postgresql-8.3-604.jdbc4.jar), the following error is thrown: >> >> 2009-06-24 17:55:03.564 ISTERROR: relation "befailover" does not exist >> 2009-06-24 17:55:03.564 ISTSTATEMENT: SELECT HOSTADDRESS,RMIREGISTRYPORT >> FROM BEFAILOVER WHERE SERVERROLE='PRIMARY' >> 2009-06-24 17:55:03.580 ISTERROR: relation "befailover" does not exist >> 2009-06-24 17:55:03.580 ISTSTATEMENT: DELETE FROM BEFAILOVER WHERE >> SERVERROLE='STANDBY' >> *2009-06-24 17:55:12.639 ISTLOG: could not receive data from client: No >> connection could be made because the target machine >> actively refused it. >> 2009-06-24 17:55:12.639 ISTLOG: unexpected EOF on client connection* >> >> I attempt the JDBC connection from the machine as the postgres >> server. There are no anti-virus server software or firewall involved. Can >> someone tell me what could be wrong with my setup. >> >> Thanks. >> > > --0016362835a89aa867046d3950f4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

=A0=A0=A0=A0=A0=A0 The problem turned out to be not with postgre= s but my JDBC connection code.

Thanks !

On Thu, Jun 25, 2009 at 5:25 PM, Saurabh Dave <= saurabhdave@gmail.com> wrote:
Hi CMJ,

If= you are using WebNMS framework with hibernate, can you check if you have d= one this:

=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 ConfigReader configReader =3D ConfigRe= ader.getInstance();
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 configReader.modifyHbm= ToDdl(true);


Thanks,
Saurabh


On Wed, Jun 24, 2009= at 6:06 PM, CM J <postgres.newbie@gmail.com> wrote:=
Hi ,

=A0=A0=A0=A0=A0 I installed postgres 8.3.7-1 in my windows mach= ine. The server starts all right.However when i attempt a JDBC connection(D= river used: postgresql-8.3-604.jdbc4.jar), the following error is thrown:
2009-06-24 17:55:03.564 ISTERROR:=A0 relation "befailover" does n= ot exist
2009-06-24 17:55:03.564 ISTSTATEMENT:=A0 SELECT HOSTADDRESS,RMIREGISTRYPORT= FROM BEFAILOVER WHERE SERVERROLE=3D'PRIMARY'
2009-06-24 17:55:0= 3.580 ISTERROR:=A0 relation "befailover" does not exist
2009-0= 6-24 17:55:03.580 ISTSTATEMENT:=A0 DELETE=A0 FROM BEFAILOVER WHERE SERVERRO= LE=3D'STANDBY'
2009-06-24 17:55:12.639 ISTLOG:=A0 could not receive data from client: N= o connection could be made because the target machine
actively refused i= t.
2009-06-24 17:55:12.639 ISTLOG:=A0 unexpected EOF on client connectio= n


=A0=A0=A0=A0=A0=A0=A0 I attempt the JDBC connection from the machine as= the postgres server. There are no anti-virus server software or firewall i= nvolved. Can someone tell me what could be wrong with my setup.

Than= ks.


--0016362835a89aa867046d3950f4--