permaculture playing cards*
The moose likes JDBC and the fly likes JDBC Connect problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Connect problem" Watch "JDBC Connect problem" New topic
Author

JDBC Connect problem

Prav El
Greenhorn

Joined: May 24, 2002
Posts: 3
I have a connection problem with Oracle on Windows98.Iam using the JDBC url and the Oracle driver to connect to the database.
Iam getting a network connection failed error.Does anybody know why this is happening?
Iam using Oracle8i personal edition on Windows98.I dont have any listeners configured.Do I need to do this?I figured that I need not do this , since Iam making JDBC calls from the same machine.Iam sure the JDBC url is right.Can anybody tell me why this is happening.
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
Is it an Oracle error number or a JDBC exception?


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Prav El
Greenhorn

Joined: May 24, 2002
Posts: 3
Works now. You need to start the listener service for oracle.
My bad
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
I thought you got an error saying the database didn't have listener running. Must be my imagination. Which driver are you using? Thin?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC Connect problem