This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Error:

 
Maanik kandan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

is this correct URL for oracle database connection..it gives me an error:

jdbcracle:thin:@localhost:1521racle

SQL problems: Io exception: The Network Adapter could not establish the connection
jdbcracle:thin:@localhost:1521racle

please sort out my issue..
 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. For Oracle JDBC url:
http://www.herongyang.com/jdbc/Oracle-JDBC-Driver-Connection-URL.html

2. Make sure oracle database instance is running on port 1521 and that port is open.

3. Disable the similes.
 
Maanik kandan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried that type of URL too ..but its give me an same Error..please give me suggestion regarding my issue
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Oralce running locally? Are you using a SID and is it correctly configured?
 
Maanik kandan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah am doing...in my home PC..during my installation of oracle i gave my sid and global database as oracle..

is that right?
 
Asmita Khamkar
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am also getting Network adapter error could not establish connection, but I get this error when my internet connection is on, otherwise it connects to oracle properly and all my queries work properly when my Internet is off.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic