.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
TNS Resolution

TNS Resolution

2006-01-24       - By Thomas Day
Reply:     <<     11     12     13     14     15     16     17     18     19     20  

Yup.  I needed one more test.  With names.default_domain not set in
sqlnet.ora, as Kristin points out, the TNSNAMES entry with
<name1>,<name2.world> works just fine.

connect user/pwd@(protected) - works
connect user/pwd@(protected) - works

and in fact, if the TNSNAMES entry is <name1>,<name1.world>

then connect user/pwd@(protected) works regardless of whether the
names.default_domain is present in sqlnet.ora (however, if it is
present it should be set to 'world').

Also, I have used two entries in my tnsnames to point to the same
database so that users could have their preferred alias.  That's not
necessary.

<name1>,<name1.world>,<name2>,<name2.world> in TNSNAMES allows you to
connect using

@(protected)
@(protected)
@(protected)
@(protected)

Is there no end to this maddness?

But thanks, Kristin, for testing further.  It's something that I'll
use in the future.

On 1/24/06, Dulay, Kristin <Kristin_Dulay@(protected)> wrote:
> This works too, logging in with @(protected) or @(protected)
> db1,db2.world =
>
> am I not getting it?
>
>  -- --Original Message-- --
> From:   Thomas Day [mailto:tomday2@(protected)]
> Sent:   Tuesday, January 24, 2006 9:18 AM
> To:     Dulay, Kristin
> Subject:        Re: TNS Resolution
>
> I tested it that way too and it appeared to work which is why my
> initial post was as it is.  However, if the name before the comma is
> different than the name behind the comma you will see that everything
> up to the comma is ignored.
>
> On 1/24/06, Dulay, Kristin <Kristin_Dulay@(protected)> wrote:
> > Actually, I tested that, and it does work.  With names.default_domain not
> > set in sqlnet.ora.
> >
> > In tnsnames:
> >
> > db1, db1.world =
> >  ......
> >
> >
> >  -- --Original Message-- --
> > From:   oracle-l-bounce@(protected)
> [mailto:oracle-l-bounce@(protected)]
> > On Behalf Of Thomas Day
> > Sent:   Monday, January 23, 2006 9:08 AM
> > To:     Oracle Mailing List
> > Subject:        Re: TNS Resolution
> >
> > Nope.  I take it all back.
> >
> > Everything up to and including the comma is treated as a comment.
> >
> > Test twice, open mouth once.
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
> >
>
--
http://www.freelists.org/webpage/oracle-l