Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle Toplink Workbench - ORA-12505, TNS:listener error

 
nav katoch
Ranch Hand
Posts: 246
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am getting the following error in the oracle toplink workbench while logging in to the database:-



Please guide me to fix this error.

Thank you so much for your inputs,

Naveen Katoch
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

What application server do you use?..
could you login to your database with username & password which described in Connection Configuration?..
the log message told that
Use name or password could be invalid.
...

perhaps its only the wrong of username & password..

Please correct me if i'm wrong..

Thanks..
 
nav katoch
Ranch Hand
Posts: 246
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leonardo,

Thanks for your reply. I appreciate it. I am using Oracle 10g database and it's working fine with sql plus having user name as scott and password as tiger. I have the following files:-

1.


2.


I tried changing host from localhost to naveen.gateway.2wire.net but I am getting the same error.

Thanks again,

Naveen
 
James Sutherland
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You seem to be using the Oracle JDBC thin driver. This driver connects directly to your database, it does not use OCI. There is an OCI JDBC driver as well, if you wish to use it.

Your Oracle thin JDBC driver url seems that it should be,

jdbcracle:thin:@naveen.gateway.2wire.net:1521rcl
 
nav katoch
Ranch Hand
Posts: 246
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

Thank you so much for your fruitful input. It's working fine now.

Naveen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic