This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes URGENT cannot connect to mssql DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "URGENT cannot connect to mssql DB" Watch "URGENT cannot connect to mssql DB" New topic

URGENT cannot connect to mssql DB

mou haj
Ranch Hand

Joined: Sep 12, 2001
Posts: 81
My code goes some what like this
try {

Properties props = new Properties();
props.put("user", "ofs_log");
props.put("password", "ofs_log");
props.put("db", "faxsvr");
props.put("server", "");
props.put("port", "1433");
Driver myDriver = (Driver)

Connection conn = myDriver.connect("jdbc:weblogic:mssqlserver4", props);
but im getting I/O exception
java.sql.SQLException: I/O exception while talking to the server,
eption: TdsInputStream.readFully - len 149 Unable to connect, please check your
server's version and availability.
at weblogic.jdbcbase.mssqlserver4.TdsStatement.microsoftLogin(TdsStateme
at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftCo
but my mssql server is up and running and im connecting to it by isqlw
Don't get me started about those stupid light bulbs.
subject: URGENT cannot connect to mssql DB
Similar Threads
Urgent!! ParameterMetaData problem
Connection pooling with weblogic6.1
Help with JDBC-ODBC with WL6.0
Problems connecting weblogic 10.3 to mssql2005