Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: JDBC errors?

Re: JDBC errors?

From: Marin Dimitrov <marin.dimitrov_at_sirma.bg>
Date: Thu, 07 Feb 2002 03:41:37 -0800
Message-ID: <F001.004086BF.20020207024322@fatcity.com>

 

<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">   <FONT face=Arial color=#0000ff
  size=2>Sorry, the error message is the following:   <FONT face=Arial color=#0000ff
  size=2>    

  java.sql.SQLException: Io exception: The Network Adapter could not   establish the connection
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)      

 

this means the client cannot access the server, and if the server is up and the network connection is ok (because u can access it by odbc) then the problem should be in the client jdbc url
 

if using the thin driver make sure the combination of IP/port/SID is correct
 

if using the OCI driver make sure the service name exists and it is correctly set up
 
 

hth,
 
    Marin
 ----"...what you brought from your past,
is of no use in your present. When you must choose a new path, do not bring old experiences with you. Those who strike out afresh, but who attempt to retain a little of the old life, end up torn apart by their own memories. " Received on Thu Feb 07 2002 - 05:41:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US