GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes Oracle Toplink Workbench - ORA-12505, TNS:listener error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Oracle Toplink Workbench - ORA-12505, TNS:listener error" Watch "Oracle Toplink Workbench - ORA-12505, TNS:listener error" New topic
Author

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

nav katoch
Ranch Hand

Joined: May 02, 2008
Posts: 246

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

Joined: Apr 07, 2009
Posts: 489

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


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
nav katoch
Ranch Hand

Joined: May 02, 2008
Posts: 246

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

Joined: Oct 01, 2007
Posts: 553
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


TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
nav katoch
Ranch Hand

Joined: May 02, 2008
Posts: 246

Hi James,

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

Naveen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle Toplink Workbench - ORA-12505, TNS:listener error