X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D4E6BDA747 for ; Thu, 22 Sep 2005 10:36:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68493-09 for ; Thu, 22 Sep 2005 13:35:58 +0000 (GMT) Received: from mail.ecircle.de (mail.ecircle.de [195.140.186.200]) by svr1.postgresql.org (Postfix) with ESMTP id 0F818DA73A for ; Thu, 22 Sep 2005 10:35:55 -0300 (ADT) Received: from [192.168.1.110] (unknown [192.168.1.110]) by mail.ecircle.de (READY) with ESMTP id D5C02955191; Thu, 22 Sep 2005 15:35:59 +0200 (CEST) Subject: Re: JDBC driver bug? From: Csaba Nagy To: "yoursoft@freemail.hu" Cc: Postgres JDBC In-Reply-To: <4332B0B8.40809@freemail.hu> References: <4332B0B8.40809@freemail.hu> Content-Type: text/plain Message-Id: <1127396157.3026.222.camel@coppola.muc.ecircle.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 22 Sep 2005 15:35:57 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.246 required=5 tests=[AWL=-0.224, TO_ADDRESS_EQ_REAL=0.47] X-Spam-Level: X-Archive-Number: 200509/93 X-Sequence-Number: 13878 This kind of problems usually are caused by your network/networking code and not postgres itself. I bet there's some DNS resolution overhead and the different java versions you're using have different DNS resolution/caching policies. I would take a look at DNS as a first suspect. HTH, Csaba. On Thu, 2005-09-22 at 15:25, yoursoft@freemail.hu wrote: > Dear Developers, > > First, sorry my bad English. > My platform: > - postgresql 8.0.3 and 8.0.0 with SuSE Linux. > - java 1.5 update 4 (problem with it), java 1.4.2 (working without problem) > - jdbc 3 driver 312 (latest stable) > > I found the following problem: > If I connect to the database from local host with java 1.5, or with java > 1.4.2 from other box everything is good (connection time <1 sec). > When I connect to the database on other box, there is slow connection > (5-6 sec). > > If you have any other question, please mail it. > > Regards, > Ferenc > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq