Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Help plzzz

14 Sep 2010   #1

windows 7 home premium 64bit
 
 
Help plzzz

Hi...I am using windows 7 home premium 64-bit....installed oracle10g express edition in it. Whenever i am trying to run a java program with the driver sun.jdbc.odbc.JdbcOdbcDriver... the error which is being displayed is.....java.sql.SQLException: connection not open....

Can anyone help me out with this......Its a bit ugent..need to complete my project....

My System SpecsSystem Spec
.

14 Sep 2010   #2

 
 

Hi chinnu, welcome to the forums

I found this on another site

Quote:
Why do I get java.sql.SQLException: "Network error IOException: Connection refused: connect" when trying to get a connection?

The "Connection refused" exception is thrown by jTDS when it is unable to connect to the server. There may be a number of reasons why this could happen:

The server name is misspelled or the port number is incorrect.
SQL Server is not configured to use TCP/IP. Either enable TCP/IP from SQL Server's Network Utility app or have jTDS connect via named pipes (see the URL format for information on how to do this).
There is a firewall blocking port 1433 on the server.
To check whether TCP/IP is enabled and the port is not blocked you can use "telnet <server_host> 1433". Until telnet doesn't connect, jTDS won't either. If you can't figure out why, ask your network administrator for help.
Source = jTDS JDBC Driver

I'll be honest i'm no Java expert but something here may help you.


OS
My System SpecsSystem Spec
Reply

 Help plzzz





Thread Tools



Similar help and support threads for2: Help plzzz
Thread Forum
Want Help plzzz web cam error Hardware & Devices
find me a wireless card for my pc plzzz Hardware & Devices
Error 711..Plzzz help Network & Sharing
Help me plzzz... BSOD Windows 7 x64 BSOD Help and Support
My hard drive partition wont show!! plzzz help!! Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:49 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33