aspose file tools*
The moose likes JDBC and the fly likes Connecting from Java to Personal Oracle 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connecting from Java to Personal Oracle 8 " Watch "Connecting from Java to Personal Oracle 8 " New topic
Author

Connecting from Java to Personal Oracle 8

bapi dhar
Ranch Hand

Joined: Mar 02, 2001
Posts: 32
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
 
 
subject: Connecting from Java to Personal Oracle 8