aspose file tools
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle DB  not connecting" Watch "oracle DB  not connecting" New topic
Author

oracle DB not connecting

TRP prasad
Greenhorn

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(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at App.main(App.java:11)
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3739
    
  10

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.

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

[OCA 8 Book] [Blog]
TRP prasad
Greenhorn

Joined: Sep 25, 2006
Posts: 2
now the problem is cleared
might be norton internet security is un installed,after un installing am getting
 
Consider Paul's rocket mass heater.
 
subject: oracle DB not connecting