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

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: [INTERFACES] JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) a s non-Administrator
Дата
Msg-id 1B3D5E532D18D311861A00600865478C70BFBA@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Sam Hokin
Дата:
Сообщение: JDBC: can't connect in NT 4.0 SP 6 (JRE 1.2.2) as non-Administrator
Следующее
От: Andrew Bartlett
Дата:
Сообщение: Memo feilds, MS Access, ODBC and PostgreSQL