Operating System - HP-UX
1821081 Members
2772 Online
109631 Solutions
New Discussion

Microsoft SQLServer 2000 Driver for JDBC Error establishing socket

 

Microsoft SQLServer 2000 Driver for JDBC Error establishing socket

I am trying to install the Microsoft JDBS driver on HPUX machine. After installing the JDBC driver, when I am running the test program, I got the following error message. Could any one help me to resolve this issue?

java -classpath ".:./lib/mssqlserver.jar:./lib/msbase.jar:./lib/msutil.jar" Test

Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at Test.(Test.java:18)
at Test.main(Test.java:55)


Appreciate your reesponse !

Senthil