Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3711E634250; Thu, 25 Jun 2009 08:55:10 -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 44145-04; Thu, 25 Jun 2009 08:55:08 -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-gx0-f210.google.com (mail-gx0-f210.google.com [209.85.217.210]) by mail.postgresql.org (Postfix) with ESMTP id B192A632F2C; Thu, 25 Jun 2009 08:55:08 -0300 (ADT) Received: by gxk6 with SMTP id 6so1329413gxk.19 for ; Thu, 25 Jun 2009 04:55:07 -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=1wnqF63rsDw19tox1BIfbiQ8dLecd6BHYRxMJfsR1Jg=; b=bWSuLIVpRKonv9W4TwAH+Og3hsGP/0Q60IVjNpLdQwEaN3H1fpnUOFLfL+ZHwLyh0E 6adRoIf3HYYhMdAYAB4vKwzT7PpNpEkbiBVwJKQ4+jZB09LqIpKiH+QZ1NJNg091b2kB tw1LlymKIvtWqTcIM0sNF7UZuJgEoRL3BQf6w= 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=E5l67xAe6zi1EaaTWKDkisJ9BDAWCQP2IxSH8kaKfXS0jP/9n6v6DjawfRLAPInmMs INGrWScsOJgaAEWUJRhQMY5aLqFokjRbpOoFHStEZjU2musjeu4y49Wr9tndlkfLiRL5 BHvYgntOCUkSXCdT6QfZgjy9awHvzAn3p6AL0= MIME-Version: 1.0 Received: by 10.151.131.11 with SMTP id i11mr4488987ybn.136.1245930907278; Thu, 25 Jun 2009 04:55:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jun 2009 17:25:07 +0530 Message-ID: Subject: Re: [JDBC] Postgres 8.3.7 -- EOF on client connection From: Saurabh Dave To: CM J Cc: pgsql-general@postgresql.org, pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=001e680f121024a03f046d2ae546 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/1163 X-Sequence-Number: 149507 --001e680f121024a03f046d2ae546 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. > --001e680f121024a03f046d2ae546 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi CMJ,

If you are using WebNMS framework with hibernate, can you ch= eck if you have done this:

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


Thanks,
Saurabh

On Wed, Ju= n 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.

--001e680f121024a03f046d2ae546--