Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 950512E002F for ; Sat, 16 Feb 2008 17:09:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 36474-01 for ; Sat, 16 Feb 2008 17:09:02 -0400 (AST) Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 673A72E002C for ; Sat, 16 Feb 2008 17:09:06 -0400 (AST) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 3FF75158015E; Sat, 16 Feb 2008 16:12:01 -0500 (EST) Cc: "Tom Lane" , pgsql-jdbc@postgresql.org Message-Id: From: Dave Cramer To: Christian Bourque In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: jdbc and nfs Date: Sat, 16 Feb 2008 16:09:05 -0500 References: <21927.1203185964@sss.pgh.pa.us> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/111 X-Sequence-Number: 18318 On 16-Feb-08, at 2:45 PM, Christian Bourque wrote: > Hi Tom, > > I think you were right, there is something in the home directory that > is conflicting! > > I don't understand why jdbc would use something in the user's home > directory though... > > Anyway the workaround I found was to not map the share directly under > the user's home account and now it works! > My guess is your classpath ? Dave > Thanks for your help! > > Christian > > On Feb 16, 2008 1:19 PM, Tom Lane wrote: >> "Christian Bourque" writes: >>> The pg server is running on server B (openSUSE) and I'm connecting >>> to >>> it from server C (Solaris 10) using a user account with an nfs >>> mounted >>> directory from server A (openSUSE). >> >>> If I unmount the nfs share it works! But with the share it doesn't, >>> the connection seems to reach the server but it gets stuck there, no >>> error and it doesn't timeout either... >> >> It's way too hard to believe that NFS per se is interfering. >> >> What I could believe is that there is some configuration-type file in >> your home directory that is causing a problem, and after the unmount >> it's not visible so no problem. There are obvious possibilities for >> this such as ~/.psqlrc if you're using psql/libpq, but I dunno enough >> about the JDBC environment to guess whether it has equivalents. >> >> If all else fails, you could try strace'ing the application (or >> whatever >> Solaris' equivalent to strace is) in both cases and comparing >> results. >> That would at least make it clearer where it's hanging up ... >> >> regards, tom lane >> > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings