File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 2295

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
It's not a secret anymore!