File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes oracle DB  not connecting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle DB  not connecting" Watch "oracle DB  not connecting" New topic

oracle DB not connecting

TRP prasad

Joined: Sep 25, 2006
Posts: 2
i did so many JDBC eg on my machine till now with same JDBC driver class name and JDBC url now the problem it is not connecting to the db now.
upto driver registered is executing correctly .
while executing am getting :
Exception in thread "main" java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(
at oracle.jdbc.dbaccess.DBError.throwSqlException(
at oracle.jdbc.dbaccess.DBError.throwSqlException(
at oracle.jdbc.driver.OracleConnection.<init>(

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at App.main(
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

TRP prasad,
Welcome to JavaRanch!

We're pleased to have you here with us in the JDBC forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Staff
[ September 25, 2006: Message edited by: Scott Selikoff ]

[OCA 8 Book] [Blog]
TRP prasad

Joined: Sep 25, 2006
Posts: 2
now the problem is cleared
might be norton internet security is un installed,after un installing am getting
I agree. Here's the link:
subject: oracle DB not connecting
It's not a secret anymore!