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

Home -> Community -> Usenet -> c.d.o.server -> Re: Jdbc Driver connection error

Re: Jdbc Driver connection error

From: C. Ferguson <c_ferguson_at_rationalconcepts.com>
Date: Thu, 11 Nov 1999 06:03:29 GMT
Message-ID: <382A5C42.9B75DD0B@rationalconcepts.com>


Here's a little code snippet on how you would connect in java code.

DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); Connection con =
DriverManager.getConnection("jdbc:oracle:thin:@MyDev:1521:MyDBname",

                        "yourDBUserName", "yourDBPw");
Wouldn't take much to write a little method to test the connection with this code.

So in looking at the params set in websphere, should there be colons between the fields in the string for the order driver field or periods?

I'm not familiar with websphere, but since it's kicking out the error for that specific field, that's where I would start.

good luck,
cindy

cheongwaikit_at_my-deja.com wrote:

> Hi,
>
> Can anyone help me to figure out what's wrong with my setting ?
>
> I recently install oracle8i(8.1.5) on my PC(NT4, service pack4) and
> I've configure my Net8 assistant. The test connection was successfull.
> But my partner's trying to connect using IBM websphere studio V3 (he is
> using NT4, service pack3) was unsuccessfull.
>
> the parameter in websphere :-
>
> driver :- oracle
> order driver :- oracle:jdbc:driver:oracledriver
> url :- jdbc:oracle:thin_at_MyDev:1521:MyDBname
>
> and the error given :- oracle:jdbc:driver:oracledriver
>
> is there anything that I can prove that oracle Network is working
> properly?
>
> thank you in advance.
>
> wai kit.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Thu Nov 11 1999 - 00:03:29 CST

Original text of this message

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