Solved

Connecting Oracle 10g from eclipse 3.3.1.

Posted on 2009-05-19
5
1,347 Views
Last Modified: 2013-12-15
I have Oracle 10g (version 10.2) installed. I am also running eclipse version 3.3.1 on jre 1.6.
In the database development perspective in eclipse, I wanted to create a connection profile with a thin client of 10g in eclipse. But while doing so, when i try to test the connection, i get the following error. Can anyone help me find what's wrong?

java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

Is that anything to do with the higher version of eclipse?

0
Comment
Question by:Debasis126
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:TheVeee
ID: 24421484
You will be running the Oracle as a remote from Eclipse.  Is the Oracle database on your box or another server?  

My environment is exactly like what your trying to set up so its possible.  

1.  If Oracle database on another server, go to your dos prompt and ping box to make sure you access
2.  Check your host file on your Windows box to see if oracle database is defined.
0
 
LVL 5

Expert Comment

by:TheVeee
ID: 24421497
Also find a free software package like Toad and see if you can connect to your oracle instance via it.   Im assuming your TSN file is already on your box.
0
 

Author Comment

by:Debasis126
ID: 24421798
The oracle database is on my box. I cannot download and use toad as part of corporate network restrictions. Please suggest further steps to debug the problem.
0
 
LVL 5

Accepted Solution

by:
TheVeee earned 250 total points
ID: 24421951
Need some more information....

1.  Is this a web project?
2.  Did you check your tns file to make sure your instance is defined?
3.  Have you ANY tool to connect to the database like SQL Developer supplied by Oracle?
4.  Have you connected to database via the tool?
5.  Please supply your connection string your trying via your code


0
 

Author Closing Comment

by:Debasis126
ID: 31582948
Thanks, u provided me the idea. I am able to successfully connect now.
cheers.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question