pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres 8.3.7 -- EOF on client connection
3+ messages / 2 participants
[nested] [flat]

* Postgres 8.3.7 -- EOF on client connection
@ 2009-06-24 12:36  CM J <postgres.newbie@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: CM J @ 2009-06-24 12:36 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; pgsql-jdbc

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.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [JDBC] Postgres 8.3.7 -- EOF on client connection
@ 2009-06-25 11:55  Saurabh Dave <saurabhdave@gmail.com>
  parent: CM J <postgres.newbie@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Saurabh Dave @ 2009-06-25 11:55 UTC (permalink / raw)
  To: CM J <postgres.newbie@gmail.com>; +Cc: pgsql-general@postgresql.org; pgsql-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.newbie@gmail.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.
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [JDBC] Postgres 8.3.7 -- EOF on client connection
@ 2009-06-26 05:07  CM J <postgres.newbie@gmail.com>
  parent: Saurabh Dave <saurabhdave@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: CM J @ 2009-06-26 05:07 UTC (permalink / raw)
  To: Saurabh Dave <saurabhdave@gmail.com>; +Cc: pgsql-general@postgresql.org; pgsql-jdbc

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 <saurabhdave@gmail.com> 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 <postgres.newbie@gmail.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.
>>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2009-06-26 05:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-24 12:36 Postgres 8.3.7 -- EOF on client connection CM J <postgres.newbie@gmail.com>
2009-06-25 11:55 ` Saurabh Dave <saurabhdave@gmail.com>
2009-06-26 05:07   ` CM J <postgres.newbie@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox