Re: Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1) - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1)
Date
Msg-id 21FC41E6-E345-47B4-B01C-E76E348C8224@fastcrypt.com
Whole thread Raw
In response to Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1)  (Deval kulshrestha <deval.kulshrestha@progression.com>)
Responses Re: Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1)
List pgsql-jdbc
Hi,

Please create a small test case that fails.  Write the least amount of code that you can write that should connect to the database, and send it to us.

Note this should be about 5 lines of code.


Dave

On 11-Jan-07, at 6:56 AM, Deval kulshrestha wrote:

I am a new user for postgresql, I have a working postgresql

Its working properly when using psql, database , user , password is ok ,

But whenever testing this db connection

Its generating following error

Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1)

 

I have already updated pg_hba.conf file and also modified postgresql.conf file enabled the tcpip and other common settings

 

Urgent help would be highly appreciable

 
 

With Regard

Deval Kulshrestha

HPC-Solution Integration Group

Progression Infonet Pvt. Ltd.
55, IEM, Electronic City, Sector - 18
Gurgaon - 122015
Tel          : - 0124 - 2455070, Ext. 215, Fax: 91-124-2398647
Mobile   : - 98186 -82509 URL  : -
www.progression.com

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 2:52 PM

===========================================================
Privileged or confidential information may be contained
in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the 
message to such person), please delete this message and
kindly notify the sender by an emailed reply. Opinions,
conclusions and other information in this message that
do not relate to the official business of Progression
and its associate entities shall be understood as neither
given nor endorsed by them. 

-------------------------------------------------------------
Progression Infonet Private Limited, Gurgaon (Haryana), India


pgsql-jdbc by date:

Previous
From: Deval kulshrestha
Date:
Subject: Test db connection to 'jdbc:postgresql://grid-master:5432/arco' ... Failed (1)
Next
From: James Neff
Date:
Subject: exclusive locking on SELECT ?