Skip site navigation (1) Skip section navigation (2)

Re: [JDBC] Postgres 8.3.7 -- EOF on client connection

From: Saurabh Dave <saurabhdave(at)gmail(dot)com>
To: CM J <postgres(dot)newbie(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Postgres 8.3.7 -- EOF on client connection
Date: 2009-06-25 11:55:07
Message-ID: fdd0c0f90906250455i2674c736v57db528aff870e90@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-jdbc
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 <postgres(dot)newbie(at)gmail(dot)com> 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.
>

In response to

Responses

pgsql-jdbc by date

Next:From: CM JDate: 2009-06-26 05:07:19
Subject: Re: [JDBC] Postgres 8.3.7 -- EOF on client connection
Previous:From: CM JDate: 2009-06-24 12:36:39
Subject: Postgres 8.3.7 -- EOF on client connection

pgsql-general by date

Next:From: Pedro Doria MeunierDate: 2009-06-25 12:04:03
Subject: Upgrade
Previous:From: Dave CramerDate: 2009-06-25 09:49:55
Subject: Re: JDBC prepared statements & server-side prepared statements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group