Connecting Oracle 10g from eclipse 3.3.1.

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?

Debasis126Asked:
Who is Participating?
 
TheVeeeConnect With a Mentor Commented:
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
 
TheVeeeCommented:
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
 
TheVeeeCommented:
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
 
Debasis126Author Commented:
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
 
Debasis126Author Commented:
Thanks, u provided me the idea. I am able to successfully connect now.
cheers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.