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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle Names - Loading tnsnames.ora automatically on Windoze

RE: Oracle Names - Loading tnsnames.ora automatically on Windoze

From: <Jared.Still_at_radisys.com>
Date: Fri, 26 Apr 2002 08:23:26 -0800
Message-ID: <F001.00450AF0.20020426082326@fatcity.com>


The answer to this is to use the Names Checkpoint Cache.

Thanks to Stephen for his paper and presentation material.

SqlNet has never been my strong suit, and this particular feature is not really explained in the manuals.

Jared

PS. I reinstalled Oracle on my desktop recently, and discovered that the cache feature does not work properly in 8.1.7.0. It does work in 8.1.7.2

Jared.Still_at_radisys.com
Sent by: root_at_fatcity.com
04/25/2002 06:43 PM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        RE: Oracle Names - Loading tnsnames.ora automatically on Windoze


Thanks Stephen.

I think the answer is to use the Names Checkpoint Cache.

Before looking at your paper, I had never understood it's use.

I'll try it tomorrow and let you know how it goes.

Thanks again,

Jared

"Karniotis, Stephen" <Stephen_Karniotis_at_compuware.com> 04/25/2002 01:34 PM  

        To:     "'ORACLE-L_at_fatcity.com'" <ORACLE-L_at_fatcity.com>
        cc:     "'Jared.Still_at_radisys.com'" <Jared.Still_at_radisys.com>
        Subject:        RE: Oracle Names - Loading tnsnames.ora 
automatically on Windoze

Jared:

   Not sure what the real problem is. When names starts, it can start with
either an administrative database or use external (dynamic) loading of the tns file. What problems are you having?

   Here is a white paper I wrote for configuring this. See if this helps.

 <<IOUG Paper 103.doc>> <<Presentation103.ppt>>

Thank You

Stephen P. Karniotis
Product Architect
Compuware Corporation

Direct:          (248) 865-4350
Mobile:          (248) 408-2918
Email:           Stephen.Karniotis_at_Compuware.com
Web:             www.compuware.com

 -----Original Message-----
Sent:            Thursday, April 25, 2002 4:28 PM
To:              Multiple recipients of list ORACLE-L
on Windoze

Hey list!

Once again I find myself doing far more work than should be necessary to do something on Windoze that is simple on Unix.

Here's what I need to do: When the Oracle Names service is started after a reboot, I want it to load tnsnames.ora automatically.

This sounds simple enough, but apparently it is not. The executable that runs the names service is NAMES.EXE. This does not seem to have any documented command line parameters. I tried hacking the registry to add a command file as can be done with NAMESCTL.EXE, but NAMES.EXE just ignores it.

I *did* create a solution to this, but I really don't like to do it this way.

Using Perl ( what else? ) with the Win32::Daemon module, I created a load_tnsnames.pl Perl service. This works, but it really seems like overkill for something that should be so simple. It also means I have to productionize and document it.

That's more work than the Perl was.

Anyone ever succeeded at doing this?

And yes, I know Oracle Names is at the terminal release in 9i, and I don't care. ;)

Jared

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Apr 26 2002 - 11:23:26 CDT

Original text of this message

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