Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9E26C2E002E for ; Sat, 16 Feb 2008 15:45:18 -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 99020-04 for ; Sat, 16 Feb 2008 15:45:10 -0400 (AST) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by postgresql.org (Postfix) with ESMTP id 3949E2E002F for ; Sat, 16 Feb 2008 15:45:13 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c36so262981ana.33 for ; Sat, 16 Feb 2008 11:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yHRXv/HNzeO2yKj2qdMYQhc6RD/T2PipFzyGA5zC0FM=; b=RZc6ZumWg8suaV0b+FqCfQTt9XYpQfbLqCXmEChVqja7tgyMG5eV2pQfAQ9e18Q4dPv41jMGFjXlB2WJ4kSsOTaNhRmRX5qBb7jVeBX03+Ru2uXwhPuVuVxiHE1xSEkchLX+hKfWPwWKEpVSdgHsbjrrsOSzRAy/M7uvpE2nApM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QRaQZI9MiA5u15PrGgJnqK+ypsh6nNLhduaUqKXa67FMK/W4I1b5+mPGIZY5znH6D7G7jzan9gnjnDImOlgYqfyUSyJYxj+xkydQZFeIgDai+Xkc+KkKtPIoaXbIi0dOyiscwgACdVCLEuXwIjld1vihn1iIXRi/r32RQ1XK7aw= Received: by 10.100.14.17 with SMTP id 17mr7046972ann.26.1203191112223; Sat, 16 Feb 2008 11:45:12 -0800 (PST) Received: by 10.100.197.19 with HTTP; Sat, 16 Feb 2008 11:45:12 -0800 (PST) Message-ID: Date: Sat, 16 Feb 2008 14:45:12 -0500 From: "Christian Bourque" To: "Tom Lane" Subject: Re: jdbc and nfs Cc: pgsql-jdbc@postgresql.org In-Reply-To: <21927.1203185964@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21927.1203185964@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/110 X-Sequence-Number: 18317 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! 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 >