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

From Peter Mount
Subject RE: [INTERFACES] JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) a s non-Administrator
Date
Msg-id 1B3D5E532D18D311861A00600865478C70BFBA@exchange1.nt.maidstone.gov.uk
Whole thread Raw
List 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@ims.net]
Sent: Thursday, December 16, 1999 7:35 PM
To: pgsql-interfaces@postgreSQL.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@ims.net
Senior Developer ................... tel 608.277.0444 fax 608.277.1046
Internet Marketing Services ....................... http://www.ims.net


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


pgsql-interfaces by date:

Previous
From: Sam Hokin
Date:
Subject: JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) as non-Administrator
Next
From: Andrew Bartlett
Date:
Subject: Memo feilds, MS Access, ODBC and PostgreSQL