Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: where do i put the tnsnames.ora file?
Please post the error message from the exception being thrown.
Post also your register driver call and your getConnect call.
cindy
Java Developer wrote:
> Nevermind... i figured it out by using dbassist ... is am still getting
> a connection refused message when i try to connect with the oracle type
> 4 jdk1.2.2. driver ... i cant tell if it is a problem with the oracle
> security configuration, listener config, or my jdbc url... i dont know
> how easy it would be to debug without having the jdbc driver source
> code...
>
> any comments?
> jon mozkill_at_yahoo.com
>
> In article <8ir3ld$k77$1_at_nnrp1.deja.com>,
> mozkill_at_yahoo.com wrote:
> > I read the Understanding SQL*Net document at the oracle site and I
> > looked for news group messages and searched for additional info on the
> > Oracle site and java.sun.com site and I could find nothing that told
me
> > WHERE to put the tnsnames.ora file.
> >
> > Does anyone know where it goes or any of these other files? I found
> > these files on my linux system:
> >
> > $ORACLE_HOME/admin/samples/tnsnames.ora
> > $ORACLE_HOME/admin/samples/listener.ora
> > $ORACLE_HOME/admin/samples/cman.ora
> > $ORACLE_HOME/admin/samples/names.ora
> > $ORACLE_HOME/admin/samples/sqlnet.ora
> >
> > Help! I am asking this because I get a connection refused message
when
> > I try to connect with the JDBC type 4 oracle java drivers and I fear
> > that it is a problem with my connection string or tnsnames.ora
> > configuration.
> >
> > Thanks,
> > Jon Williams
> > mozkill_at_yahoo.com
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Jun 21 2000 - 00:00:00 CDT