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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle JDBC Thin Client

Re: Oracle JDBC Thin Client

From: Robert Clevenger <robc_at_magicnet.net>
Date: 1998/01/03
Message-ID: <68jv2b$6fi$1@comet3.magicnet.net>#1/1

There is something wrong with your connect URL that you are passing to the JDBC Driver. I see this same error most often when I have an incorrect PORT number for my database. Your connect string should be something like:

DriverManager.getConnection("jdbc:oracle:thin_at_dns_name_of_server:<port>:<SID
>",

"username","password);

e.g.

DriverManager.getConnection(

   "jdbc:oracle:thing_at_rob-pc.magicnet.net:1521:ORCL", "appsuser","appspassword");

Hope that helps,
If not, let me know

Robert Clevenger

Marc Wehrum wrote in message <34AD216A.1EEE8593_at_mediaconcept.com>...
>Hi everybody,
>
>we're building on an internet database connection using the oracle thin
>jdbc driver to connect to our running Oracle 8 server. However, we're
>failing at establishing a connection to the database. Our compiler
>returns us the following error message (JDK 1.1.5), which we can't
>figure out at all:
> java.sql.SQLException: Refused: ROR=(Code=12505) (EMFI=4)
Received on Sat Jan 03 1998 - 00:00:00 CST

Original text of this message

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