Home » Developer & Programmer » JDeveloper, Java & XML » Oracle JDBC Connection
Oracle JDBC Connection [message #90945] Sun, 23 December 2001 18:12 Go to next message
Paulus Liem
Messages: 4
Registered: December 2001
Junior Member
I have problem connecting to Oracle 8.1.7
I keep getting error message as below:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
I think it has to do with the hostname,port, sid.
I am not sure about the hostname. My computer is hooked
to a LAN and based on the network identification, the computer name is "MyCom", so I use "MyCom" as the hostname.
OR it's supposed to be "@MyCom" OR "MyCom@Rogers.com
OR "@" OR something else
What in the tnsnames.ora is : (HOST = MyCom)
Help me please ?

Re: Oracle JDBC Connection [message #91149 is a reply to message #90945] Wed, 08 May 2002 18:15 Go to previous message
john doe
Messages: 3
Registered: December 2001
Junior Member
make sure in listener.ora hostname
same as what u define for ur db connector config
Previous Topic: Re: maximum open cursors exceeded With connection pool
Next Topic: Re: Yip I have the same problem
Goto Forum:

Current Time: Tue Feb 27 04:36:39 CST 2024