• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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

 
Ranch Hand
Posts: 246
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

jdbc:oracle:thin:@naveen.gateway.2wire.net:1521:orcl
 
nav katoch
Ranch Hand
Posts: 246
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James,

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

Naveen
reply
    Bookmark Topic Watch Topic
  • New Topic