Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.sql.DriverManager.getConnection threw an exception

843859Apr 8 2007 — edited Apr 10 2007
Problem: i have MSSQL 2000 on machine and JBDC work on another machine, i use the SQL to authenticate users form DB, but the connection between the JBDC and SQL always didn't go up.

the configuration on the program that using JDBC like that:

Driver=com/microsoft/jdbc/sqlserver/SQLServerDriver

Connect=DSN=jdbc:microsoft:sqlserver://x.x.x.x:1433;UID=sa;PWD=test

but after restart the program, show this error:

java.sql.DriverManager.getConnection threw an exception.

but by using the ethereal program, i note that, the program send msql sync packet, but the MSSQL machine reply with RESET packet.

PLs can any one advice me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2007
Added on Apr 8 2007
4 comments
503 views