Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases 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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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..



 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: SQLException : The Network Adapter could not establish connection