Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


JDBC connection problem

koolguykoolguy Member Posts: 10
i'm currently trying to make an JDBC connection to Oracle DB present on an UNIX system.I have Oracle thin driver for that the driver is getting loaded but when i use the getConnection Statement I get an error as

java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))

please tell me what went wrong.please tell me the correct format of url string used in getConnection.
i'm giving as getConnection(url,"login","passwd");

in my case","login","passwd");
in the above statement is a unix server where oracle is loaded and database name being EXP.
is the above format correct.
i cant go ahead if i cant make an connection.

Sign In or Register to comment.