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: Thin JDBC driver and Oracle 7.3.2 "null password"

Re: Thin JDBC driver and Oracle 7.3.2 "null password"

From: Jim Kimball <jimk_at_bestweb.net>
Date: 1998/11/12
Message-ID: <364b0a45.150484515@news.bestweb.net>#1/1

On Thu, 12 Nov 1998 09:04:46 +0900, "Kim Hyun Choul" <nara_at_usa.net> wrote:

>You should try by
>
>conn =
>DriverManager.getConnection("jdbc:oracle:thin:user/pass_at_myhost:1521:ORA");

I have tried all three getConnection() calls recommended in the documentation:

1.
conn =
DriverManager.getConnection("jdbc:oracle:thin:user/pass_at_myhost:1521:ORA");

2.
conn =
DriverManager.getConnection("jdbc:oracle:thin:@myhost:1521:ORA", "user", "pass");

3.
conn = DriverManager.getConnection(
"jdbc:oracle:thin:@(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_d\ ata=(sid=ORA)))", "user", "pass"

They all give the same message.

>
>Did you setup with ORA not orcl?

Actually, neither. I just use ORA as an example. I am using the appropriate SID for our installation. (If you don't you get a different message entirely).

thanks

>
>>I have been unable to get the Oracle thin drivers to work with a Java
>>application. When I try to log in:
>>
>>conn =
>>DriverManager.getConnection("jdbc:oracle:thin:@myhost:1521:ORA",
>>"user", "pass");
>>
>>I get the following error message:
>>
>>ORA-01005: null password given; logon denied
>>
>>I am running on AIX 4.2 using JDK 1.1.6 and JDBC driver ver 7.3.4.
>>
>>This actually works in an applet...
>>
>>Any help is greatly appreciated.
>>
>>Jim Kimball
>
>
Received on Thu Nov 12 1998 - 00:00:00 CST

Original text of this message

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