aspose file tools*
The moose likes JDBC and the fly likes DriverManager.getConnection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DriverManager.getConnection" Watch "DriverManager.getConnection" New topic
Author

DriverManager.getConnection

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Hi all,
I am facing a strange problem with drivermanager.getconnection.
I am trying to connect to the Oracle in my machine and it is not happening.
Previously, say in the last week I was getting the connection and I was working also.
But today no connection is coimg.
Moreover
the error is Network Adapter couldn't establish the connection.
Any idea...
Thanks,
Maya
Michael Fitzmaurice
Ranch Hand

Joined: Aug 22, 2001
Posts: 168
Are u able to connect to the db in question normally (i.e. without going via Java/JDBC)? Can u see the target machine from your machine?
I don't think the problem is with the code using DriverManager.getConnection, I think it is some kind of local network error.


------------------
"One good thing about music - when it hits, you feel no pain"
Bob Marley


"One good thing about music - when it hits, you feel no pain" <P>Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DriverManager.getConnection