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!

Prelogin error

derokDec 13 2010 — edited Dec 13 2010
hello, im having this weird error after executing this code:
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String url = "jdbc:sqlserver://localhost:1884;databaseName=Factura";
Connection conn = DriverManager.getConnection(url,"sa","1");
error:
Dec 13, 2010 1:06:51 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:1 Prelogin error: host localhost port 1884 Unexpected end of prelogin response after 0 bytes read
Dec 13, 2010 1:06:51 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:1 Prelogin error: host localhost port 1884 Unexpected end of prelogin response after 0 bytes read
what this means and how do i solve it?

thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2011
Added on Dec 13 2010
3 comments
5,609 views