aspose file tools*
The moose likes JDBC and the fly likes SQLException : The Network Adapter could not establish connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLException : The Network Adapter could not establish connection" Watch "SQLException : The Network Adapter could not establish connection" New topic
Author

SQLException : The Network Adapter could not establish connection

Tapan Prajapati
Greenhorn

Joined: Mar 05, 2010
Posts: 27
hii,

I am using Windows Vista 32bit o/s , installed Software Oracle 11.2.0.1
i am able to execute oracle Type 1 driver by using odbc connection

Now i want to connect my Java Application with My Oracle Database Software by Type 4 mechanism
i successfully added "OJDBC6.JAR" file in my class path
while executing code i got an SqlException : The Network Adapter could not establish connection

here is my code..



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQLException : The Network Adapter could not establish connection
 
Similar Threads
Connecting to Oracle across the Internet
JDBC connectivity problem
Network Adapter Error WHY????
PROBLEMS IN CONNECTING TO ORACLE
getconnection() --> SQLException