File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC connection problem on connecting to oracle on linux

 
Arun Boraiah
Ranch Hand
Posts: 233
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
dhiva muruganantham
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic