aspose file tools*
The moose likes JDBC 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

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 ]

My Blog: Down Home Country Coding with Scott Selikoff
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: oracle DB not connecting
 
Similar Threads
JDBC- ORACLE
Oracle JDBC unable to get connection
How to verify JDBC version using oracle thin driver
JDBC- ORACLE
Want to read values from tnsnames.ora file with JDBC thin driver (Oracle Datasource is solution)