This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Oracle 10g Connection Settings Required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle 10g Connection Settings Required" Watch "Oracle 10g Connection Settings Required" New topic

Oracle 10g Connection Settings Required

Gaurav Dighe

Joined: Jun 25, 2009
Posts: 21

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...

Thanks & Regards,
Gaurav Dighe
chris webster

Joined: Mar 01, 2009
Posts: 1621

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.

No more Blub for me, thank you, Vicar.
I agree. Here's the link:
subject: Oracle 10g Connection Settings Required
Similar Threads
Accessing Database
how to know the url is whether correct or not
Network Adapter Problem
Oracle Toplink Workbench - ORA-12505, TNS:listener error
getconnection() --> SQLException