RE: [INTERFACES] JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) a s non-Administrator

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Sam Hokin'" <sam(at)ims(dot)net>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) a s non-Administrator
Date: 1999-12-17 08:35:51
Message-ID: 1B3D5E532D18D311861A00600865478C70BFBA@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Ah, this is NT4 SP6. Upgrade to SP6a to fix it.

Under SP6, Winsock2 is broken, so any user not in the local
Administrators group can't connect to any sockets. Mainly Lotus Notes
was affected, but it looks like we are also.

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Sam Hokin [mailto:sam(at)ims(dot)net]
Sent: Thursday, December 16, 1999 7:35 PM
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) as
non-Administrator

I've encountered a subtle problem making a JDBC connection under NT 4.0
SP
6 running JRE 1.2.2. If I'm logged on as Administrator, the code works
fine. Under Linux, it works fine, same JDBC (6.5.3) classes. If I'm
logged into NT as a user, I can't connect to the Postgres server, and I
get
this error on the client end:

The connection attempt failed because java.net.SocketException:
setsockopt<> TCP_NODELAY (code=10055)

On the Postgres end I just get:

pq_recvbuf: unexpected EOF on client connection

This is frustrating the heck out of me! What's REALLY annoying is that
it's not consistent - I CAN connect using another box (at home) under NT

4.0 SP 6 JRE 1.2.2!! Any guesses as to what's going on?

Sam Hokin ......................................... mailto:sam(at)ims(dot)net
Senior Developer ................... tel 608.277.0444 fax 608.277.1046
Internet Marketing Services ....................... http://www.ims.net

************

Browse pgsql-interfaces by date

  From Date Subject
Next Message Andrew Bartlett 1999-12-18 12:04:25 Memo feilds, MS Access, ODBC and PostgreSQL
Previous Message Gerhard Hintermayer 1999-12-17 01:25:41 Re: [INTERFACES] Database replication under Postgres