• 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:

getting Listener refused the connection with the following error: ORA-12514

 
Greenhorn
Posts: 11
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just installed the oracle 11 g -win x 64 bit software in win 7 home premium operating system.
1)with the following details
global database name: "orcl"
admin password: "Oracle11g"
oracle system identifier(SID): "orcl"
user: "system"
after installation complete then it displayed
The db control URL is : "https://localhost:1158/em".

2)This is my tnsnames.ora..


3)and i checked this..

when i use this..

But i get this exception at runtime! can anyone help me out please!




 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, Omkar!

The URL you've provided (https://localhost:1158/em) is the address of the Enterprise Manager (hence the "em" in that URL) -- it is an application that you can use to manage your database. It has nothing to do with the JDBC connect string, neither the port, nor the "em" should appear there.

Various possible formats of Oracle JDBC connect string are described here.

I believe that the correct connect string in your case (based on the TNSNAMES) would be jdbc:oracle:thin:@//localhost:1521/orcl, but I may be wrong.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic