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

JDBC driver on UNIX machine is not estabilishing the connection

0 views
Skip to first unread message

Senthil

unread,
Jun 24, 2004, 8:21:02 AM6/24/04
to
I am trying to install the JDBC driver for SQL server 2000 on MY HPUX machine. After installing I am trying to run the test program. I found the following error message. Did any one help me how to resolve this problem?

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.<init>(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.<init>(Test.java:18)
at Test.main(Test.java:55)


Regards
Senthil

0 new messages