File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Error:Network Adapter could not establish the connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Error:Network Adapter could not establish the connection" Watch "Error:Network Adapter could not establish the connection" New topic
Author

Error:Network Adapter could not establish the connection

vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Hi,
I installed Oracle SQL Developer ,i am trying to create a new connection but i am getting this error message "The Network Adapter could not establish the connection".
The hostname is :localhost
port:1521
SID:xe

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30370
    
150

Is Oracle running? (check Windows services or "ps" on UNIX.) Is the database in your tns file? Does it work at the command line?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Oracle is running ,i checked it in the task manager .I dont know what a tns file is .This is my first time installing or running oracle ,i just have a basic idea of some of the oracle commands.The oracle sql developer tool is opening when i run through command prompt .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error:Network Adapter could not establish the connection