GeeCON Prague 2014*
The moose likes JDBC and the fly likes JDBC connection problem on connecting to oracle on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC connection problem on connecting to oracle on linux" Watch "JDBC connection problem on connecting to oracle on linux" New topic
Author

JDBC connection problem on connecting to oracle on linux

Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Hi,
I am trying to connect to oracle database using "oracle.jdbc.driver.OracleDriver" driver.
connection url i used "jdbc racle:thin:@IPOfOracleServer:1521:SID";
it is working fine on getting connected to oracle database installed in windows but
gives "Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))"
message on connecting to orcale 8.1.7 database installed on linux red hat 7.1.
Do i have to change the driver if so which one? or is it with some thing else to do with. Totally puzzled!!!
thanx
arun


[This message has been edited by arun boraiah (edited November 28, 2001).]
[This message has been edited by arun boraiah (edited November 28, 2001).]


Sharing is learning
dhiva muruganantham
Greenhorn

Joined: Nov 29, 2001
Posts: 2
Hi Arun,
By default the ports are NOT open with RedHat linux 7.1.
Using Firewall configuration tool open all the ports for communication atleast the port number "1521".
If you have KDE installed choose "System" -> "FireWall configuration" and then create a new rule to open a port for any protocol. This might work. I don't have enough information to answer in your mail to answer.
-Dhiva
 
GeeCON Prague 2014
 
subject: JDBC connection problem on connecting to oracle on linux