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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1476
    
  11

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: http://aspose.com/file-tools
 
subject: Oracle 10g Connection Settings Required
 
Similar Threads
Oracle Toplink Workbench - ORA-12505, TNS:listener error
Network Adapter Problem
how to know the url is whether correct or not
getconnection() --> SQLException
Accessing Database