aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle 10g Connection Settings Required" Watch "Oracle 10g Connection Settings Required" New topic
Author

Oracle 10g Connection Settings Required

Gaurav Dighe
Greenhorn

Joined: Jun 25, 2009
Posts: 21

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

Thanks & Regards,
Gaurav Dighe
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1851
    
  16

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.
 
 
subject: Oracle 10g Connection Settings Required