X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9EE889FA293 for ; Thu, 18 May 2006 08:03:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 10971-07 for ; Thu, 18 May 2006 08:02:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 87D6A9FA4EA for ; Thu, 18 May 2006 08:02:59 -0300 (ADT) Received: (qmail 5793 invoked from network); 18 May 2006 11:02:57 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 18 May 2006 11:02:57 -0000 In-Reply-To: <446B3DB1.40109@freemail.hu> References: <446B3DB1.40109@freemail.hu> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4C64C4F5-DFC9-46EC-BFC0-035204E67F10@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: connection time out Date: Thu, 18 May 2006 07:02:55 -0400 To: Bakos Sandor X-Mailer: Apple Mail (2.750) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/79 X-Sequence-Number: 15207 Hi, Check your pg_hba.conf file. Java typically will connect from the main ethernet address where as psql connects from localhost. Dave On 17-May-06, at 11:13 AM, Bakos Sandor wrote: > Hi All! > > I have a linux clinet which connect to the remote posgtresql on a > linux too with a java GUI application. > This application read an write the database when a blockout occurs. > In this situation the java application > leave many connection in the postgresql (about 30). When the client > is restarting and try to connect to the database I get an > exception: > > Caused by: java.net.ConnectException: Connection timed out > > but the max connection in the server is 200. From the console I can > create many connection to the server (psql) just the java can't. > > Someone have an idea ? > > (postgresql 8, java 1.5) > > Thx. > Saca > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >