wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes Io exception: Connection refused(DESCRIPTION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

Io exception: Connection refused(DESCRIPTION

shyam prasad prasad

Joined: Sep 18, 2008
Posts: 5
i have got one problem java.sql.SQLException. Io Exception connection refused could not establish the connection when iam connecting oracle9i to my jdbc program i ma trying last two days but it was not executed it says
please help me urgently

Connection con=DriverManager.getConnection("jdbcracle:thin:@localhost:1521racle9i","scott","tiger");

java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNU
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at J2.main(J2.java:14)

i have tried lot of ways but idid not get answer please help me urgently

Paul Clapham

Joined: Oct 14, 2005
Posts: 19740

Actually you did get an answer the last time you posted the identical question (here). It was a good one too but you just chose to ignore it. Please continue with your original thread.
I agree. Here's the link: http://aspose.com/file-tools
subject: Io exception: Connection refused(DESCRIPTION
It's not a secret anymore!