aspose file tools
The moose likes JDBC and the fly likes JTDS jdbc  driver Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JTDS jdbc  driver" Watch "JTDS jdbc  driver" New topic
Author

JTDS jdbc driver

Venkatesh Kumar
Ranch Hand

Joined: Aug 08, 2003
Posts: 68
Hi All:

I am getting the following exception when I run a simple jdbc pgm which is appended below.the exception is

ava.sql.SQLException: Network error IOException: Connection refused: connectat et.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:307)at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)

has anyone faced such an issue ,any help is appreciated.

Thanks,



[edited to add code tags]
[ December 09, 2004: Message edited by: Jeanne Boyarsky ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Assuming you username and password are correct that looks OK. Check your connection parameters - make sure your servername is correct and your database name is correct too.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JTDS jdbc driver
 
Similar Threads
no active Connection...jdbc newbie
Hi...jdbc..no active Connections issue...
SQL Server 2000 JDBC Driver Error
GWT with database connection
SQL Server 2008r2 Connection Failed