Oracle Type4 driver (ojdbc14.jar) connection proble
Hi,
I'm trying to connect to my oracle 8i installed in my local machine through type4 driver.
I've downloaded ojdbc14.jar and included its path to classpath
The following lines are included in my code
Class.forName("oracle.jdbc.OracleDriver");
cn = DriverManager.getConnection("jdbc:oracle:thin:scott/tiger@localhost:1521:dbmsCo nnect ")
I've created the DSN as follows (in Windows XP)
Control Panel - Administrative Tools - Data Sources - Add - Took Oracle ODBC Driver - entered DSN name as dbmsConnect -added user id as scott
When I ran the code, Igot following exception
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(ERR=12505)
(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
Could anyone help me please

