Re: JDBC driver throwing error while connecting to the slave server for partitioned table

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: sameera vhora <vhorasameera309(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: JDBC driver throwing error while connecting to the slave server for partitioned table
Date: 2011-08-09 20:42:38
Message-ID: CAHyXU0xphiRKJ_Fuq3z++ZbN64tJEy_1Trd9Ye6jUAKsckH0uQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 8, 2011 at 8:14 AM, sameera vhora <vhorasameera309(at)gmail(dot)com> wrote:
>  We are facing below issue after creating slony replication of
> partitioning table in edb server 8.3.
>
>  This issue persist only on slave one not the primary one.
>
>  Below logs we found in tomcats.
>
>
>  Error in postgresql driver initialization:
>  com.edb.util.PSQLException: The connection attempt failed.
>  at com.edb.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:176)
>  at com.edb.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
>  at com.edb.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:153)
>  at com.edb.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
>  at com.edb.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
>  at com.edb.Driver.makeConnection(Driver.java:385)
>  at com.edb.Driver.connect(Driver.java:260)
>  at java.sql.DriverManager.getConnection(DriverManager.java:582)

try checking the database logs?

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-08-09 21:05:57 Re: Problem with planner
Previous Message Tom Lane 2011-08-09 20:08:39 Re: Problem with planner