java.sql.SQLException: Io exception: The Network Adapter could not establish the  
Author Message
mathebabu





PostPosted: 2007-4-24 2:11:00 Top

java-programmer, java.sql.SQLException: Io exception: The Network Adapter could not establish the Hi,
I am sridhar, i have Oracle 10g express on my machine , when i am
trying to connect to Database via java jdbcAPI using Thin Driver , i
am getting the following Exception:

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

How can i resolve this problem,can any one give me the appropriate
solution.


Thanks
Sridhar

 
kuassi.mensah@gmail.com





PostPosted: 2007-4-25 9:42:00 Top

java-programmer >> java.sql.SQLException: Io exception: The Network Adapter could not establish the On Apr 23, 11:10 am, mathebabu <email***@***.com> wrote:
> Hi,
> I am sridhar, i have Oracle 10g express on my machine , when i am
> trying to connect to Database via java jdbcAPI using Thin Driver , i
> am getting the following Exception:
>
> java.sql.SQLException: Io exception: The Network Adapter
> could not establish the connection.
>
> How can i resolve this problem,can any one give me the appropriate
> solution.
>
> Thanks
> Sridhar

Hi,

Make sure the listener is running and listening to the service (i.e.,e
XE).
It could also be that the JDBC URL is wrong or that the db is down.
Try sqlplus with the same host,port, SID or service.

Kuassi http://db360.blogspot.com