Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception at Connect to Sybase / TCP_NODELAY

2 views
Skip to first unread message

Karlheinz Meyer

unread,
Jul 5, 2001, 5:05:21 PM7/5/01
to
Hello,

I am new to JDBC and I have a problem connecting to Sysbase ASA 6.0 by
Jconnect 4.2 on WinNT 4 SP6.
A Stack Trace is below ( + IP Config). If the Client (Jdk 1.1.2, Jdk 1.2.2)
is on WinNT 4 SP6, I get the Exception.
If I compile and run the Client on Linux (Jdk 1.1.8), the connection works.
Does anybody know the problem? Docs of Sybase just talk of bad
TCP-Configuration, but not more.

C:\WINNT\Profiles\Kalle\Desktop\Aktenkoffer_FS\Fernstudium\Uebungen\Jav10\Co
nnec
tExample>java ConnectExample 127.0.0.1
Zielrechner: 127.0.0.1
jdbc:sybase:Tds:127.0.0.1:2638
Fehler beim Erzeugen der DB-Verbindung: JZ006: IOException:
java.net.SocketExcep
tion: setsockopt() TCP_NODELAY (code=10055) wurde abgefangen
java.sql.SQLException: JZ006: IOException: java.net.SocketException:
setsockopt(
) TCP_NODELAY (code=10055) wurde abgefangen
at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java:376)
at com.sybase.tds.Tds.handleIOE(Tds.java:2659)
at com.sybase.tds.Tds.login(Tds.java:312)
at com.sybase.jdbc.SybConnection.tryLogin(SybConnection.java,
Compiled C
ode)
at
com.sybase.jdbc.SybConnection.regularConnect(SybConnection.java:175)
at com.sybase.jdbc.SybConnection.<init>(SybConnection.java:154)
at com.sybase.jdbc.SybDriver.connect(SybDriver.java:200)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at ConnectExample.ASAConnect(ConnectExample.java:46)
at ConnectExample.main(ConnectExample.java:21)


Netzwerk-Konfiguration:

Windows NT IP-Konfiguration
Host-Name . . . . . . . . . : mobile
DNS-Server. . . . . . . . . : 192.168.0.1
Knotentyp . . . . . . . . . : Hybrid
NetBIOS-Bereichs-ID . . . . :
IP-Routing aktiviert. . . . : Ja
WINS-Proxy aktiviert. . . . : Nein
NetBIOS-Auswertung mit DNS : Ja

Ethernet-Adapter El3c5721:

Beschreibung. . . . . . . . : SH572B-3Com OC 10/100 LAN
Physikalische Adresse . . . : (deleted)
DHCP aktiviert. . . . . . . : Nein
IP-Adresse. . . . . . . . . : 192.168.0.10
Subnet Mask . . . . . . . . : 255.255.255.0
Standard-Gateway. . . . . . : 192.168.0.1
Prim"rer WINS-Server. . . . : 192.168.0.1

0 new messages