This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Oracle 10g Connection Settings Required  RSS feed

 
Gaurav Dighe
Greenhorn
Posts: 21
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have installed Oracle 10g in my Laptop.
Global Database Name: orcl
System Identifier(SID): orcl
UsrName: scott
Password: tiger

I have installed Netbeans 6.9 . i have added odbc14 in libraries of Netbeans and in Drivers of Netbeans. I have also created Environment variable for the same. Whn i am trying to establish new database connection using this Oracle thin Driver, i am getting error: Unable to add conection. Connection refused.

Driver Name: Oracle Thin(with SID)
host: localhost
port: 1521
SID: orcl
User Name: scott
Password: tiger




Please help...
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you connect to the same DB account using SQL*Plus? It may be that the account has not been enabled after installation, or the TNS listener is not running.

Here's some stuff about Oracle 10g JDBC settings.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!