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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "The Network Adapter  Could not establish the Connection...." Watch "The Network Adapter  Could not establish the Connection...." New topic
Author

The Network Adapter Could not establish the Connection....

Moguluri Ravi Kiran
Ranch Hand

Joined: Apr 16, 2010
Posts: 62

Please Solve my problem







Thank you.
Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Is this what you are trying to do???

http://www.java2s.com/Code/Java/Database-SQL-JDBC/OracleDataSourceDemo.htm

That should work ideally.

Check if your oracle data base is running with the name orcl.


SCJP 5, SCWCD 5
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The Network Adapter Could not establish the Connection....