Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting from Java to Personal Oracle 8

 
bapi dhar
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my first program i am
Connection to Personal oracle 8 using
i-net Auguro Driver Version 1.04 for Oracle 8.0 Server
I am working in WIN-98 which has no server.
I m getting this runtime error

DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=com.inet.ora.OraDriver,com.inet.ora.OraDriver@2a9835]
DriverManager.getConnection("jdbc:inetora")
trying driver[className=com.inet.ora.OraDriver,com.inet.ora.OraDriver@2a9835]
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.inet.ora.OraDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at auguro.main(auguro.java:32)
getConnection failed: com.inet.ora.SQLException: Connection refused: no further information
My Code :
------------------------------------------------------------


-------------------
Please help me
1. Please suggest me a compatible driver.
2. Any corrections in the code are most welcome.
bapi
bapidhar@mantrafreenet.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic