permaculture playing cards*
The moose likes JDBC and the fly likes jdbc connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc connection problem" Watch "jdbc connection problem" New topic
Author

jdbc connection problem

srinivas Doni
Greenhorn

Joined: Jun 02, 2011
Posts: 23
Hi to all,
I am new to java. while establishing connection in jdbc, i am getting error "The Network Adapter could not establish the connection". i am using oracle 10.1 g version.
If any body know solution for this. can help me.



Regards,

Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Moved to the JDBC forum.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

What does your connection code look like?


OCJP6, OCWCD5
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Welcome to the Ranch, Srinivas Doni

You may provide the full stack trace and any other details including the code where you try to establish a connection to DB. This may help others to help you (TellTheDetails).


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
Don't get me started about those stupid light bulbs.
 
subject: jdbc connection problem
 
Similar Threads
ERROR : oracle.jdbc.driver.OracleDriver
Servlet hang when performing to much insert function
issue with datasource
Help - Data visibility in Weblogic and JDBC connection problem
Connection Refused