Thanks for the info.
I have a Oracle 10g Database to which I was trying to connect using JDBC code...
String driver = "oracle.jdbc.driver.OracleDriver";
String url = "jdbc
Connection con = DriverManager.getConnection(url);
Encountered the same error:
Caught SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=168821248)(ERR=1 2505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
I just had to download the new 10g drivers (classes12.jar) from otnotn