Where is Net8

All,
I am planning to use Net8 as a connection manager for an mts database. It will be on a separate server. I want to see if it will lower cpu footprint on the database by reducing the no. of connections on the database and off loading the work to Middle Tier (Connection Manager).
I do not see Net8 as part of 9i, Could some one confirm if it's part of 9i? Thanks.

Maybe I just being ignorant, but I can't seem to follow this...
Net8 is the name of the Oracle client communication layer. Net8 is not a connection manager-- Net8 is required on each client machine.
Oracle Connection Manager is an Oracle product. If you are using a shared server configuration, you can use Connection Manager to multiplex connections to the database.
MTS is an acronym either for Microsoft Transaction Server or Oracle's Multi-Threaded Server. I assume you are using the latter connotation here. If so, you would not want to use Connection Manager here, since you would be multiplexing connections twice.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Where to find Net8 Assistant?

    The online document tell me that I can run Net8 Assistant
    in "$ORACLE_HOME/bin/net8asst.sh".But after i install
    oracle 8,when I try to run the scripts,I can't find it!
    Who can tell me what is wrong with it?
    null

    It simply isn't there. The script may be avaiable for other Unix
    systems like Solaris and/or AIX. But why do you need it anyway? I
    simply edit the tnsnames.ora and listener.ora by hand.
    Robert XU
    LinChunyi (guest) wrote:
    : The online document tell me that I can run Net8 Assistant
    : in "$ORACLE_HOME/bin/net8asst.sh".But after i install
    : oracle 8,when I try to run the scripts,I can't find it!
    : Who can tell me what is wrong with it?
    null

  • Where can i find net8 and oci files?

    I have a linux server with oracle8i and i want to connect my NT station.
    I ve downloaded odbc files 8155, but it need OCI 8.1.5 and NET8 8.1.5 to install ODBC.
    I can't find anywhere on technet neither the OCI files and NET8 files nor the NT client.
    Does Someone can help me?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Defi:
    I have a linux server with oracle8i and i want to connect my NT station.
    I ve downloaded odbc files 8155, but it need OCI 8.1.5 and NET8 8.1.5 to install ODBC.
    I can't find anywhere on technet neither the OCI files and NET8 files nor the NT client.
    Does Someone can help me?<HR></BLOCKQUOTE>
    You need the oracle(8.1.5) client for Windows NT.
    Get it somewhere and install.
    null

  • NET8의 LOGGING과 TRACE 관련 PARAMETER에 대한 Q & A

    제품 : SQL*NET
    작성날짜 : 2002-05-07
    NET8의 LOGGING과 TRACE 관련 PARAMETER에 대한 Q & A
    =================================================
    PURPOSE
    Net8을 이용하면서 발생하는 문제를 추적 하기위해 oracle의 configuration
    file에 들어갈 수 있는 parameter와 logging과 tracing을 하는 방법에 대해
    질의/응답을 통해 알아 보도록 한다.
    Explanation
    1) NET8에서 trace를 사용하는 이유와 어떤 component들에 trace를 할 수 있나?
    Trace의 특징은 네트워크을 수행하게 될때 network event들을 기술한다
    즉 trace와 관련된 일련의 문장들이 자세하게 생성된다.
    "Tracing"의 운영으로 log파일에 제공되어 있는 것 보다 NET8의 component들의
    내부적인 정보를 보다 많이 얻을 수 있다.
    이러한 정보는 에러의 결과로 인하여 발생하는 동일한 event들로 파일들에
    결과가 생성되어 이를 이용하여 문제의 원인을 판단할 수 있다.
    주의 : trace의 기능을 이용하는 경우 충분한 disk space와 system performance의
    현격한 저하를 가져올 수 있다 즉 trace의 기능은 반드시 필요할
    경우에만 사용할 것을 권한다.
    << trace의 기능을 이용하여 trace를 할 수 있는 component들 >>
    * Network listener
    * Net8 components on the client and server
    * Connection Manager
    * Oracle Names Server
    * Oracle Names Control Utility
    * TNSPING utility
    2) 어떤 parameter들을 설정하면 trace 기능을 이용할 수 있는가 ?
    tracing을 하기 위해서는 특정 trace parameter들을 설정함으로써 가능하며
    아래에 주어진 방법들과 또는 utility들중 하나를 선택하여 설정함으로써
    사용할 수 있다.
    * Component Configuration Files
    * Component Control Utilities
    * Oracle Trace
    component의 configuration 파일을 이용하여 traceing parameter를 설정하려면
    1.component의 configuration 파일에 다음의 traceing parameter를 설정한다.
    - SQLNET.ORA for client or server, LISTENER.ORA for listener:
    TRACE_LEVEL_<CLIENT/LISTENER/SERVER>=(0/4/10/16)
    TRACE_DIRECTORY_<CLIENT/LISTENER/SERVER>=<directory name>
    LOG_DIRECTORY_<CLIENT/LISTENER/SERVER>=<directory name>
    2.만일 component들이 수행중인 동안 configuration 파일의 수정이 있었다면
    병경된 parameter들을 사용하기 위해 component들을 다시 시작하여야 한다.
    component control utility들을 이용하여 trace parameter들을 설정하려면
    1. listener의 경우, Listener Control Utility(lsnrctl)에서 TRACE 명령어를
    이용하여 listener가 수행중인 동안에도 trace level을 설정할 수 있다.
    EX)
         RC80:/mnt3/rctest80> lsnrctl
         LSNRCTL for SVR4: Version 8.0.4.0.0 - Production on 01-SEP-98 15:16:52
         (c) Copyright 1997 Oracle Corporation. All rights reserved.
         Welcome to LSNRCTL, type "help" for information.
         LSNRCTL> trace admin
         Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
         Opened trace file: /mnt4/coe/app/oracle/product/8.0.4/network/trace/
    lsnr_coe.trc
         The command completed successfully
         LSNRCTL> trace off
         Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
         The command completed successfully
         LSNRCTL> exit
         RC80:/mnt3/rctest80>
    2. Oracle Names의 경우, Names Control Utility(namesctl)에서 TRACE_LEVEL
    명령어를 이용하여 Oracle Names가 수행중인 동안에도 trace level을
    설정할 수 있다.
    주의 : Connection Manager의 경우, trace level은 configuration 파일인 CMAN.ORA
    에서만 설정할 수 있다.
    Oracle Enterprose manager(이하 OEM)에 있는 Oracle Trace는 trace parameter들을
    설정하고 GUI를 통해 trace data의 형태를 볼수 있도록 하는 tracing tool이다.
    3) trace된 data를 해석할 수 있는 다른 utility들이 있다면 ?
    Trace Assistant를 사용하면 사용자의 *.trc 파일 (SQL*Net v2의 형식에 의해
    생성된) 또는 *.txt (Orace Trace 과 TRCFMT에 의해 생성된 출력물)을 통해
    trac된 정보를 해석할 수 있다.
    이 유틸리티 네트워크의 문제들로 인해 발생하는 문제점들을 진단하고
    해결하는 데 보다 많은 정보를 제공하여 사용자의 이해를 돕는다.
    * the source and destination of trace files
    * the flow of packets between network nodes
    * which component of Net8 is failing
    * pertinent error codes
    다음에 주어진 명령어를 수행하므로써 Trace Assistant 실행할 수 있다.
    trcasst [options] <filename>
    Trace Assistant Text Formatting Options
    -o Displays connectivity and Two Task Common (TTC) information.
    After the -o the following options may be used:
    c (for summary connectivity information)
    d (for detailed connectivity information)
    u (for summary TTC information)
    t (for detailed TTC information)
    q (displays SQL commands enhancing summary TTC information)
    -p Oracle Internal Use Only
    -s Displays statistical information
    -e Enables display of error information After the -e, zero
    or one error decoding level may follow:
    0 or nothing : translates the NS error numbers dumped from the
    nserror function plus lists all other errors
    1 : displays only the NS error translation from the nserror function
    2 : displays error numbers without translation
    만일 option들이 제공되지 않는다면 기본적으로 -odt -e -s가 지정되어 자세한
    connectivity, Two-Task Common, 에러 level 0 그리고 통계정보들이 tracing 된다.
    4) SQL*Net v2 tracing과 어떻게 다른가 ?
    Net8 tracing에서는 이전 버전인 SQL*NET V2에서 제공 되는 모든 option을
    포함하고 있고 Oracle Trace의 기능이 추가되었다.
    이것은 Oracle Trace Repository를 OEM 콘솔을 통하여 사용자의 trace 정보를
    관리할 수 있도록 허용한다.
    5) *.cdf와 *.dat은 어떤 파일 인가 ?
    *.cdf 와 *.dat 파일들은 Oracle Trace에 의해 생성되는 파일들로서 이 파일들을
    읽기 위해서는 반드시 trcfmt utility를 이용해야만 한다.
    trcfmt는 binary (*.dat와 *.cdf의 확장자) 파일내에 있는 data를
    일반 text(.txt의 확장자)로 정보를 추출한다. 이 tool을 사용하기 위해서는
    다음의 명령어를 이용하면 된다.
    trcfmt collection.cdf
    주의 : .cdf와 .dat파일이 존재하는 디렉토리가 아닌 곳에서 이 tool을 이용
         한다면 path가 포함되야 한다. 만일 하나의 .cdf 와 .dat 파일들내에
         여러 프로세스들의 tracing정보가 수집된다면 그것들은 process_id.txt의
    이름과 함께 파일이 추출될 것이다.
    6) trac관련 configuration은 어떤 것이 있으며 설정할 수 있는 parameter는
    무엇이 있는가 ?
    ==========================================================================
    || SQLNET.ORA Parameters ||
    ==========================================================================
    DAEMON.TRACE_DIRECTORY
    Purpose: Controls the destination directory of the Oracle
    Enterprise Manager daemon trace file
    Default Value: $ORACLE_HOME/network/trace
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_DIRECTORY=/oracle/traces
    DAEMON.TRACE_LEVEL
    Purpose: Turns tracing on/off to a certain specified level for
    the Oracle Enterprise Manager daemon.
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_LEVEL=10
    DAEMON.TRACE_MASK
    Purpose: Specifies that only the Oracle Enterprise Manager daemon
    trace entries are logged into the trace file.
    Default Value: $ORACLE_HOME/network/trace
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_MASK=(106)
    LOG_DIRECTORY_CLIENT
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Example: LOG_DIRECTORY_CLIENT=/oracle/network/trace
    LOG_DIRECTORY_SERVER
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Valid in File: SQLNET.ORA
    Example: LOG_DIRECTORY_SERVER=/oracle/network/trace
    LOG_FILE_CLIENT
    Purpose: Controls the log output filename for an Oracle client.
    Default Value: SQLNET.LOG
    Example: LOG_FILE_CLIENT=client
    LOG_FILE_SERVER
    Purpose: Controls the log output filename for an Oracle server.
    Default Value: SQLNET.LOG
    Example: LOG_FILE_SERVER=svr
    NAMESCTL.TRACE_LEVEL
    Purpose: Indicates the level at which the NAMESCTL program should
    be traced.
    Default Value: OFF
    Values: OFF, USER, or ADMIN
    Example: NAMESCTL.TRACE_LEVEL=ADMIN
    NAMESCTL.TRACE_FILE
    Purpose: Indicates the file in which the NAMESCTL trace output is
    placed.
    Default Value: namesctl_PID.cdf and namesctl_PID.dat
    Example: NAMESCTL.TRACE_FILE=NMSCTL
    NAMESCTL.TRACE_DIRECTORY
    Purpose: Indicates the directory where trace output from the NAMESCTL
    utility is placed.
    Default
    Value: $ORACLE_HOME/network/trace
    Example: NAMESCTL.TRACE_DIRECTORY=/ORACLE/TRACE
    NAMESCTL.TRACE_UNIQUE
    Indicates whether a process identifier is appended to the
    Purpose: name of each trace file generated, so that several can
    coexist.
    Default
    Value: OFF
    Values: OFF or ON
    Example: NAMESCTL.TRACE_UNIQUE = ON
    TNSPING.TRACE_DIRECTORY
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TNSPING.TRACE_DIRECTORY=/oracle/traces
    TNSPING.TRACE_LEVEL
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TNSPING.TRACE_LEVEL=10
    TRACE_DIRECTORY_CLIENT
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_CLIENT=/oracle/traces
    TRACE_DIRECTORY_SERVER
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_SERVER=/oracle/traces
    TRACE_FILE_CLIENT
    Purpose: Controls the name of the client trace file
    Default Value: SQLNET.CDF and SQLNET.DAT
    Example: TRACE_FILE_CLIENT=cli
    TRACE_FILE_SERVER
    Purpose: Controls the name of the server trace file
    Default Value: SVR_PID.CDF and SVR_PID.DAT
    Example: TRACE_FILE_SERVER=svr
    TRACE_LEVEL_CLIENT
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TRACE_LEVEL_CLIENT=10
    TRACE_LEVEL_SERVER
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TRACE_LEVEL_SERVER=10
    TRACE_UNIQUE_CLIENT
    Used to make each client trace file have a unique name to
    Purpose: prevent each trace file from being overwritten with the next
    occurrence of the client. The PID is attached to the end of
    the filename.
    Default
    Value: OFF
    Example: TRACE_UNIQUE_CLIENT=ON
    USE_CMAN
    If the session is in an Enhanced Discovery Network with a
    Purpose: Names Server, this parameter forces all sessions to go
    through a Connection Manager to get to the server.
    Default
    Value: FALSE
    Values: TRUE or FALSE
    Example: USE_CMAN=TRUE
    ==========================================================================
    || LISTENER.ORA Parameters ||
    ==========================================================================
    LOG_DIRECTORY_listener_name
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Example: LOG_DIRECTORY_LISTENER=/oracle/traces
    LOG_FILE_listener_name
    Purpose: Specifies the filename where the log information is
    written
    Default Value: listener_name.log
    Example: LOG_FILE_LISTENER=lsnr
    TRACE_DIRECTORY_listener_name
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_LISTENER=/oracle/traces
    TRACE_FILE_listener_name
    Purpose: Controls the name of the listener trace file
    Default Value: LISTENER_NAME.CDF and LISTENER_NAME.DAT
    Example: TRACE_FILE_LISTENER=lsnr
    TRACE_LEVEL_listener_name
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 - WorldWide Customer Support trace information
    Example: TRACE_LEVEL_LISTENER=10
    ==========================================================================
    || NAMES.ORA Parameters ||
    ==========================================================================
    NAMES.TRACE_DIRECTORY
    Purpose: Indicates the name of the directory to which trace files
    from a Names Server trace session are written.
    Default
    Value: platform specific
    Example: names.trace_directory = complete_directory_name
    NAMES.TRACE_FILE
    Purpose: Indicates the name of the output file from a Names Server
    trace session. The filename extension is always.trc
    Default
    Value: names
    Example: names.trace_file = filename
    NAMES.TRACE_LEVEL
    Purpose: Indicates the level at which the Names Server is to be
    traced.
    Default Value: OFF
    Example: names.trace_level = OFF
    NAMES.TRACE_UNIQUE
    indicates whether each trace file has a unique name, allowing
    Purpose: multiple trace files to coexist. If the value is set to ON, a
    process identifier is appended to the name of each trace file
    generated.
    Default
    Value: OFF
    Example: names.trace_unique = ON
    names.trace_file = names_05.trc
    ==========================================================================
    CMAN.ORA Parameters
    ==========================================================================
    TRACING
    Default
    Value: NO
    Example: TRACING = NO
    References
    7) listener.log 파일에 loggin정보를 남기지 않게 하는 방법이 있나요 ?
    고객이 개발하여 사용중인 application에서 NET8을 이용하여 접속하거나 접속을
    종료하는 경우 listener.log에 이와 관련된 정보가 남으며, 수 많흔 사용자가
    접속을 하게되므로서 급속하게 listener.log 파일이 커져 file system이 꽉
    차거나 데이터베이스가 hang이 되는 결과를 초래하는 경우가 있다.
    고객들은 listener.log에 write할수 있는 메세지의 양에 제한을 두기를 원하는
    경우가 있으나 이러한 기능은 제공되지 않는다. 하지만 listener의 logging은
    on 또는 off를 할 수는 있다.
    Net8에서는 listener.ora에 "LOGGING_(the listener name)=off"를 설정하게 되면
    listener의 logging을 멈출 수 있다.
    ** SQL*NET 2.3.x 에서도 이 parameter가 유효한가요 ? **
    물론 사용이 가능합니다. NET8에서 사용하는 것과 동일하게 parameter를
    listener.ora에 설정함으로서 가능합니다.
    EX)
    LOGGING_LISTENER=OFF
    이 parameter는 listener의 전체 logging을 disable하는 parameter로 일부만
    여과하여 logging할 수 있는 기능은 아니다.
    이 parameter는 NET8에 알려진 parameter로 SQL*NET 2.3.x manuals에 나와
    있지는 않지만 정상적으로 사용할 수 있다.
    Reference Ducumment
    ---------------------

  • NET8의 LOGGING AND TRACE관련 PARAMETER에 대한 Q & A

    제품 : SQL*NET
    작성날짜 : 1999-07-30
    NET8의 LOGGING AND TRACE관련 PARAMETER에 대한 Q & A
    ==================================================
    PURPOSE
    NET8의 LOGGING AND TRACE관련 PARAMETER에 대해 알아 보도록한다
    Explanation
    1. NET8에서 trace를 왜 사용하고 어떤 component들에 trace를 할 수 있나요 ?
    Trace의 특징은 네트워크을 수행하게 될때 network event들을 기술한다
    즉 trace와 관련된 일련의 문장들이 자세하게 생성된다.
    "Tracing"의 운영으로 log파일에 제공되어 있는 것 보다 NET8의 component들의
    내부적인 정보를 보다 많이 얻을 수 있다.
    이러한 정보는 에러의 결과로 인하여 발생하는 동일한 event들로 파일들에
    결과가 생성되어 이를 이용하여 문제의 원인을 판단할 수 있다.
    주의 : trace의 기능을 이용하는 경우 충분한 disk space와 system
    performance의 현격한 저하를 가져올 수 있다.
    즉 trace의 기능은 반드시 필요할 경우에만 사용할 것을 권한다.
    Example
    Reference Ducumment
    << trace의 기능을 이용하여 trace를 할수 있는 component들 >>
    * Network listener
    * Net8 components on the client and server
    * Connection Manager
    * Oracle Names Server
    * Oracle Names Control Utility
    * TNSPING utility
    2. 어떤 parameter들을 설정하면 trace 기능을 이용할 수 있는가 ?
    tracing을 하기 위해서는 특정 trace parameter들을 설정함으로써 가능하며
    아래에 주어진 방법들과 또는 utility들중 하나를 선택하여 설정함으로써
    사용할 수 있다.
    * Component Configuration Files
    * Component Control Utilities
    * Oracle Trace
    component의 configuration 파일을 이용하여 traceing parameter를 설정하려면
    1) component의 configuration 파일에 다음의 traceing parameter를 설정한다.
    - SQLNET.ORA for client or server, LISTENER.ORA for listener:
    TRACE_LEVEL_<CLIENT/LISTENER/SERVER>=(0/4/10/16)
    TRACE_DIRECTORY_<CLIENT/LISTENER/SERVER>=<directory name>
    LOG_DIRECTORY_<CLIENT/LISTENER/SERVER>=<directory name>
    2) 만일 component들이 수행중인 동안 configuration 파일의 수정이 있었다면
    변경된 parameter들을 사용하기 위해 component들을 다시 시작하여야 한다.
    component control utility들을 이용하여 trace parameter들을 설정하려면
    1) listener의 경우, Listener Control Utility(lsnrctl)에서 TRACE 명령어를
    이용하여 listener가 수행중인 동안에도 trace level을 설정할 수 있다.
    EX)
    RC80:/mnt3/rctest80> lsnrctl
    LSNRCTL for SVR4: Version 8.0.4.0.0 - Production on 01-SEP-98 15:16:52
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> trace admin
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    Opened trace file: /mnt4/coe/app/oracle/product/8.0.4/network/trace/
    lsnr_coe.trc
    The command completed successfully
    LSNRCTL> trace off
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    The command completed successfully
    LSNRCTL> exit
    RC80:/mnt3/rctest80>
    2) Oracle Names의 경우, Names Control Utility(namesctl)에서 TRACE_LEVEL
    명령어를 이용하여 Oracle Names가 수행중인 동안에도 trace level을
    설정할 수 있다.
    주의 : Connection Manager의 경우, trace level은 configuration 파일인
    CMAN.ORA 에서만 설정할 수 있다.
    Oracle Enterprose manager(이하 OEM)에 있는 Oracle Trace는 trace parameter
    들을 설정하고 GUI를 통해 trace data의 형태를 볼수 있도록 하는 tracing tool
    이다.
    3. Trace된 data를 해석할 수 있는 다른 utility들이 있다면 ?
    Trace Assistant를 사용하면 사용자의 *.trc 파일 (SQL*Net v2의 형식에 의해
    생성된) 또는 *.txt (Orace Trace 과 TRCFMT에 의해 생성된 출력물)을 통해
    trac된 정보를 해석할 수 있다.
    이 유틸리티 네트워크의 문제들로 인해 발생하는 문제점들을 진단하고
    해결하는 데 보다 많은 정보를 제공하여 사용자의 이해를 돕는다.
    * the source and destination of trace files
    * the flow of packets between network nodes
    * which component of Net8 is failing
    * pertinent error codes
    다음에 주어진 명령어를 수행하므로써 Trace Assistant 실행할 수 있다.
    trcasst [options] <filename>
    Trace Assistant Text Formatting Options
    -o Displays connectivity and Two Task Common (TTC) information.
    After the -o the following options may be used:
    c (for summary connectivity information)
    d (for detailed connectivity information)
    u (for summary TTC information)
    t (for detailed TTC information)
    q (displays SQL commands enhancing summary TTC
    information)
    -p Oracle Internal Use Only
    -s Displays statistical information
    -e Enables display of error information After the -e, zero
    or one error decoding level may follow:
    0 or nothing (translates the NS error numbers dumped
    from the nserror function plus lists all
    other errors)
    1 (displays only the NS error translation from
    the nserror function)
    2 (displays error numbers without translation)
    만일 option들이 제공되지 않는다면 기본적으로 -odt -e -s가 지정되어 자세한
    connectivity, Two-Task Common, 에러 level 0 그리고 통계정보들이 tracing
    된다.
    4. SQL*Net v2 tracing과 어떻게 다른가 ?
    Net8 tracing에서는 이전 버전인 SQL*NET V2에서 제공 되는 모든 option을
    포함하고 있고 Oracle Trace의 기능이 추가되었다.
    이것은 Oracle Trace Repository를 OEM 콘솔을 통하여 사용자의 trace 정보를
    관리할 수 있도록 허용한다.
    5. *.cdf와 *.dat은 어떤 파일 인가 ?
    *.cdf 와 *.dat 파일들은 Oracle Trace에 의해 생성되는 파일들로서 이 파일들을
    읽기 위해서는 반드시 trcfmt utility를 이용해야만 한다.
    trcfmt는 binary (*.dat와 *.cdf의 확장자) 파일내에 있는 data를 일반text
    (.txt의 확장자)로 정보를 추출한다. 이 tool을 사용하기 위해서는 다음의
    명령어를 이용하면 된다.
    $ trcfmt collection.cdf
    주의 : .cdf와 .dat파일이 존재하는 디렉토리가 아닌 곳에서 이 tool을 이용
    한다면 path가 포함되야 한다. 만일 하나의 .cdf 와 .dat 파일들내에
    여러 프로세스들의 traceing정보가 수집된다면 그것들은 process_id.txt
    의 이름과 함께 파일이 추출될 것이다.
    6. trac관련 configuration은 어떤 것이 있으며 설정할 수 있는 parameter는
    무엇이 있는가 ?
    ==========================================================================
    || SQLNET.ORA Parameters ||
    ==========================================================================
    DAEMON.TRACE_DIRECTORY
    Purpose: Controls the destination directory of the Oracle
    Enterprise Manager daemon trace file
    Default Value: $ORACLE_HOME/network/trace
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_DIRECTORY=/oracle/traces
    DAEMON.TRACE_LEVEL
    Purpose: Turns tracing on/off to a certain specified level for
    the Oracle Enterprise Manager daemon.
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_LEVEL=10
    DAEMON.TRACE_MASK
    Purpose: Specifies that only the Oracle Enterprise Manager daemon
    trace entries are logged into the trace file.
    Default Value: $ORACLE_HOME/network/trace
    Description
    Available Oracle Enterprise Manager Installation Guide
    Example: DAEMON.TRACE_MASK=(106)
    LOG_DIRECTORY_CLIENT
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Example: LOG_DIRECTORY_CLIENT=/oracle/network/trace
    LOG_DIRECTORY_SERVER
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Valid in File: SQLNET.ORA
    Example: LOG_DIRECTORY_SERVER=/oracle/network/trace
    LOG_FILE_CLIENT
    Purpose: Controls the log output filename for an Oracle client.
    Default Value: SQLNET.LOG
    Example: LOG_FILE_CLIENT=client
    LOG_FILE_SERVER
    Purpose: Controls the log output filename for an Oracle server.
    Default Value: SQLNET.LOG
    Example: LOG_FILE_SERVER=svr
    NAMESCTL.TRACE_LEVEL
    Purpose: Indicates the level at which the NAMESCTL program should
    be traced.
    Default Value: OFF
    Values: OFF, USER, or ADMIN
    Example: NAMESCTL.TRACE_LEVEL=ADMIN
    NAMESCTL.TRACE_FILE
    Purpose: Indicates the file in which the NAMESCTL trace output is
    placed.
    Default Value: namesctl_PID.cdf and namesctl_PID.dat
    Example: NAMESCTL.TRACE_FILE=NMSCTL
    NAMESCTL.TRACE_DIRECTORY
    Purpose: Indicates the directory where trace output from the NAMESCTL
    utility is placed.
    Default
    Value: $ORACLE_HOME/network/trace
    Example: NAMESCTL.TRACE_DIRECTORY=/ORACLE/TRACE
    NAMESCTL.TRACE_UNIQUE
    Indicates whether a process identifier is appended to the
    Purpose: name of each trace file generated, so that several can
    coexist.
    Default
    Value: OFF
    Values: OFF or ON
    Example: NAMESCTL.TRACE_UNIQUE = ON
    TNSPING.TRACE_DIRECTORY
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TNSPING.TRACE_DIRECTORY=/oracle/traces
    TNSPING.TRACE_LEVEL
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TNSPING.TRACE_LEVEL=10
    TRACE_DIRECTORY_CLIENT
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_CLIENT=/oracle/traces
    TRACE_DIRECTORY_SERVER
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_SERVER=/oracle/traces
    TRACE_FILE_CLIENT
    Purpose: Controls the name of the client trace file
    Default Value: SQLNET.CDF and SQLNET.DAT
    Example: TRACE_FILE_CLIENT=cli
    TRACE_FILE_SERVER
    Purpose: Controls the name of the server trace file
    Default Value: SVR_PID.CDF and SVR_PID.DAT
    Example: TRACE_FILE_SERVER=svr
    TRACE_LEVEL_CLIENT
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TRACE_LEVEL_CLIENT=10
    TRACE_LEVEL_SERVER
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 or SUPPORT - WorldWide Customer Support trace
    information
    Example: TRACE_LEVEL_SERVER=10
    TRACE_UNIQUE_CLIENT
    Used to make each client trace file have a unique name to
    Purpose: prevent each trace file from being overwritten with the next
    occurrence of the client. The PID is attached to the end of
    the filename.
    Default
    Value: OFF
    Example: TRACE_UNIQUE_CLIENT=ON
    USE_CMAN
    If the session is in an Enhanced Discovery Network with a
    Purpose: Names Server, this parameter forces all sessions to go
    through a Connection Manager to get to the server.
    Default
    Value: FALSE
    Values: TRUE or FALSE
    Example: USE_CMAN=TRUE
    ==========================================================================
    || LISTENER.ORA Parameters ||
    ==========================================================================
    LOG_DIRECTORY_listener_name
    Purpose: Controls the directory for where the log file is written
    Default Value: Current directory where executable is started from.
    Example: LOG_DIRECTORY_LISTENER=/oracle/traces
    LOG_FILE_listener_name
    Purpose: Specifies the filename where the log information is
    written
    Default Value: listener_name.log
    Example: LOG_FILE_LISTENER=lsnr
    TRACE_DIRECTORY_listener_name
    Purpose: Control the destination directory of the trace file
    Default Value: $ORACLE_HOME/network/trace
    Example: TRACE_DIRECTORY_LISTENER=/oracle/traces
    TRACE_FILE_listener_name
    Purpose: Controls the name of the listener trace file
    Default Value: LISTENER_NAME.CDF and LISTENER_NAME.DAT
    Example: TRACE_FILE_LISTENER=lsnr
    TRACE_LEVEL_listener_name
    Purpose: Turns tracing on/off to a certain specified level
    Default Value: 0 or OFF
    * 0 or OFF - No trace output
    * 4 or USER - User trace information
    Available Values
    * 10 or ADMIN - Administration trace information
    * 16 - WorldWide Customer Support trace information
    Example: TRACE_LEVEL_LISTENER=10
    ==========================================================================
    || NAMES.ORA Parameters ||
    ==========================================================================
    NAMES.TRACE_DIRECTORY
    Purpose: Indicates the name of the directory to which trace files
    from a Names Server trace session are written.
    Default
    Value: platform specific
    Example: names.trace_directory = complete_directory_name
    NAMES.TRACE_FILE
    Purpose: Indicates the name of the output file from a Names Server
    trace session. The filename extension is always.trc
    Default
    Value: names
    Example: names.trace_file = filename
    NAMES.TRACE_LEVEL
    Purpose: Indicates the level at which the Names Server is to be
    traced.
    Default Value: OFF
    Example: names.trace_level = OFF
    NAMES.TRACE_UNIQUE
    indicates whether each trace file has a unique name, allowing
    Purpose: multiple trace files to coexist. If the value is set to ON, a
    process identifier is appended to the name of each trace file
    generated.
    Default
    Value: OFF
    Example: names.trace_unique = ON
    names.trace_file = names_05.trc
    ==========================================================================
    CMAN.ORA Parameters
    ==========================================================================
    TRACING
    Default
    Value: NO
    Example: TRACING = NO
    References
    7. listener.log 파일에 loggin정보를 남기지 않게 하는 방법이 있나요 ?
    고객이 개발하여 사용중인 application에서 NET8을 이용하여 접속하거나 접속을
    종료하는 경우 listener.log에 이와 관련된 정보가 남으며, 수 많은 사용자가
    접속을 하게 되므로서 급속하게 listener.log 파일이 커져 $ORACLE_HOME이 있는
    file system이 꽉 차서 데이터베이스가 hang이 되는 결과를 초래하는 경우가 있다.
    고객들은 listener.log에 write할수 있는 메세지의 양에 제한을 두기를 원하는
    경우가 있으나 이러한 기능은 제공되지 않는다. 하지만 listener의 logging은
    ON 또는 OFF는 설정을 통해서 가능하다.
    Net8에서는 listener.ora에 "LOGGING_(the listener name)=off"를 설정하게
    되면 listener의 logging을 멈출 수 있다.
    물론 설정후 listener stop후 재기동을 하셔야 변경된 paramerter에 의해
    이 기능이 enable됩니다.
    참고 : SQL*NET 2.3.x 에서도 이 parameter가 유효한가요 ?
    물론 사용이 가능합니다. NET8에서 사용하는 것과 동일하게 parameter를
    listener.ora에 설정함으로서 가능합니다.
    EX)
    LOGGING_LISTENER=OFF
    이 parameter는 listener의 전체 logging을 disable하는 parameter로 일부만
    여과하여 logging할 수 있는 기능은 아니다.
    이 parameter는 NET8에 알려진 parameter로 SQL*NET 2.3.x manuals에 나와
    있지는 않지만 정상적으로 사용할 수 있다.

  • [RESOL]after running net8 easy config php no longer connects with ora_logon

    fixed by adding .WORLD to the ora_logon command :)
    servers:
    oracle 8i 8.1.7.4.0 remotely located called PROD
    windows 2000 server running IIS and php 4.3.4 net8
    above windows server was passed down to me so initial setup was done by someone else
    I needed to update the TSNNAMES.ora file to add a connection to a new oracle database (DEV) on the 2K web server. I located the tnsnames.ora file in c:\orant\net80\admin and created a backup.
    I then ran the net8 easy config to create the new tns name
    I tested the new database with a php file that uses $dbh = ora_login("$user@DEV","$Pass");
    this failed for the new SID. I checked and noticed also that all my old php files pointing to PROD where also failing with the dreaded ORA-12154: TNS:could not resolve service name.
    Now because this was only a quick test to check on the new TNSname I copyed back my old TNSNAMES.ORA file to the c:\orant\net80\admin directory. Problem is all of my php files still give the same error message.
    I started testing
    pngtns PROD == "OK"
    tried to login the way I use to login with the GUI sqlplus
    Username = user@PROD
    Pass = Pass
    HOST = {left blank}
    this gives me the ORA-12154: TNS:could not resolve service name error. It use to work like this
    I then tried
    Username = user
    Pass = Pass
    HOST = PROD
    This worked and I was able to successfully run a query
    Username = user
    Pass = Pass@PROD
    HOST = {left blank}
    This also works
    I then went to the command line and ran sqlplus username@PROD/Pass
    It returns ORA-12154: TNS:could not resolve service name. and askes me for a username
    I put in username@PROD
    then it prompts
    Password: I put in my password here and it works, and connect me to the server
    I tried to change my scripts to ora_login("user","Pass@PROD"); and it produces a
    ORA-12203: TNS:unable to connect to destination.
    Unfortunatly I cannot for the life of me get oci8 functionality to work with this version of php. If I add it to the extensions and uncomment it from php.ini it hangs the whole server. And at this point I'm woried about screwin more things up.
    Any help is very appreciated.
    I verified and setup environmental variables for TNS_ADMIN, and ORACLE_HOME
    I put DEV back in because it made no difference with or without it in the tnsnames.ora file.
    files:
    TNSNAMES:
    # C:\ORANT\NET80\ADMIN\TNSNAMES.ORA Configuration File:C:\orant\net80\admin\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    CMEXAMPLE.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CM_SERVER)(PORT = 1610))
    (ADDRESS = (PROTOCOL = TCP)(HOST = LSNR_SERVER)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    (SOURCE_ROUTE = YES)
    TCPEXAMPLE.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Production1)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    NMPEXAMPLE.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = NMP)(Server = FinanceServer1)(Pipe = ORAPIPE))
    (CONNECT_DATA = (SID = ORCL))
    PROD.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRODHOST)(PORT = 1525))
    (CONNECT_DATA = (SID = PREM))
    EXTPROC_CONNECTION_DATA.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC0))
    (CONNECT_DATA = (SID = extproc))
    BEQ-LOCAL.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle80)(ARGV0 = oracle80ORCL)(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))'))
    (CONNECT_DATA = (SID = ORCL))
    SPXEXAMPLE.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = SPX)(Service = Server_lsnr))
    (CONNECT_DATA = (SID = ORCL))
    DEV.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = devhostname)(PORT = 15021))
    (CONNECT_DATA = (SID = DEV))
    TCP-LOOPBACK.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    I removed all the extra stuff and left only PROD and DEV. I get the exact same results.
    SQLNET::
    # C:\ORANT\NET80\ADMIN\SQLNET.ORA Configuration File:C:\orant\net80\admin\sqlnet.ora
    # Generated by Oracle Net8 Assistant
    NAME.DEFAULT_ZONE = world
    NAMES.DEFAULT_DOMAIN = world
    #sqlnet.authentication_services = (NONE)
    SQLNET.EXPIRE_TIME = 0
    SQLNET.ENCRYPTION_SERVER = requested
    SQLNET.ENCRYPTION_CLIENT = requested
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    Message was edited by:
    user483446

    Tony,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Net8 protocol error

    I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
    During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
    Does anybody know what's causing this error and how to resolve this?
    Thanks
    Stack trace:
    ####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
    com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
         com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
         at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
         at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
         at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
         at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
         at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
         at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
         at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

    Doug Chew wrote:
    I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
    During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
    Does anybody know what's causing this error and how to resolve this?
    ThanksHi, yes. Our old, deprecated and now removed type-2 driver used OCI (whatever version
    you have installed) to talk to Oracle. Our new drivers use the wire-level protocol for
    all supported DBMS versions. Oracle 8.1.6 is extremely old. I don't think it's even
    supported by Oracle anymore, is it? I think you have two options:
    1 - Try using Oracle's driver, in the type-2 mode so it also uses OCI.
    2 - If (1) doesn't work, you probably have to upgrade your DBMS.
    Joe
    >
    >
    Stack trace:
    ####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
    com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
         com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
         at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
         at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
         at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
         at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
         at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
         at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
         at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
         at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
         at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

  • NET8 timeout with ODBC Gateway

    Local:
    Database: Oracle XE 11gR2
    Oracle ODBC Gateway 11g
    Windows 7
    Sybase SQL Anyhwere 12 client
    Remote:
    Database: Sybase SQL Anywhere 10
    Windows Server 2008 R2
    ====================
    SQL:
    select * from mytable@dblink:
    Error returned:
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from dblink
    Files:
    initdlink.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = dblink
    #HS_FDS_TRACE_LEVEL = 255
    HS_LANGUAGE=american_america.we8iso8859p1
    HS_NLS_NCHAR=UTF-8
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\gtw)
    (PROGRAM = dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    dblink =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = localhost)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = dblink))
    (HS=OK))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ==========================
    (1) Similar setup works ok on Linux connecting to remote Sybase on Windows. But get error below when running on Windows 7.
    (2) Similar setup from Windows7 to Windows 2008 R2 works fine when ODBC Gateway on remote Windows 2008 server.
    (3) ODBC connectivity has been verified as ok to remote Sybase database on Windows 2008 server.
    (4) tnsping dblink verified ok.
    Problems started when moving ODBC Gateway to local system where Oracle target database resides.
    Please advise.
    Added to initdblink.ora the following (no change in results):
    HS_KEEP_REMOTE_COLUMN_SIZE = ALL
    HS_NLS_LENGTH_SEMANTICS = CHAR
    Edited by: user601798 on Dec 4, 2012 11:59 AM

    You're mixing different OH's in your listener. The gateway is located in C:\oraclexe\app\oracle\product\11.2.0\gtw, but the database and the listener in: C:\oraclexe\app\oracle\product\11.2.0\server
    When you're using DG4ODBC you can use the gateway which is automatically installed in the database home -> you'll find there as well a HS directory and the dg4odbc executable. The other option is to use separate listeners for both installations. For example using the Oracle database listener on port 1521 for the database connections and 1522 for the gateway.
    If you really want to use one listener (which is not the preferred solution), then you need also to specify the location to the executable, similar to:
    <space>(SID_DESC =
    <space><space>(SID_NAME = dblink)
    <space><space>(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\gtw)
    <space><space>(PROGRAM = C:\oraclexe\app\oracle\product\11.2.0\gtw\dg4odbc)
    <space>)
    After changing the listener.ora file, please STOP and STAT the listener using lsnrctl utility and provide its output. Also provide the output of tnsping dblink.
    - Klaus

  • Net8 Protocol

    Where do I find the Net8 protocol architecture and complete documentation? Is it a published protocol or not?

    Where do I find the Net8 protocol architecture and complete documentation? Is it a published protocol or not?

  • Net8 Connection Error

    I am using the Migration Assistant for MS Access (version 8.1.5)
    to migrate a database from Access 97 to Oracle 8i. At the
    Provide Oracle Connection Information Page of the Assistant, I
    get a Specifying Net8 Connection Error.
    So my question is what should I be putting in the Net8
    Connection box to make this work?
    Thanks for your help.
    Cynthia Savage
    null

    Cynthia,
    Here is an email giving example configuration files with
    some description of them (names changed from customer names):
    Mr. Blue
    Here are example configuration files for
    Database SID V716 (alias name V716)
    Machine ierm5
    .ie ie is the domain name
    protocol sqlnet v2 tcp protocol adapter
    ORACLE_HOME /home3/ora716
    listener tcp port number 2022
    (community name tcp_com)
    [I created these files with the 716 version of netman, oracle has
    newer tools
    available]
    files:
    ./tcp_com_ie [this directory is for the clients]
    ./tcp_com_ie/tnsnames.ora
    ./tcp_com_ie/sqlnet.ora
    ./ierm5_ie [this directory is for the server]
    ./ierm5_ie/listener.ora
    ./ierm5_ie/tnsnames.ora
    ./ierm5_ie/sqlnet.ora
    Because of the different SID ,alias , machine name and oracle
    home these files
    will not work on your machine, on this machine;
    I copy the client files to another machine, and set the TNS_ADMIN
    environment
    variable on both machines,
    make sure oracle, lsnrctl , tnslsnr and the client side
    executeable
    (eg sqlplus) are linked with sqlnet v2 tcp protocol adapter.
    <startup server database>
    start up server listener
    lsnrctl start
    when this is up and listening
    sqlplus scott/tiger@V716 on the client machine should connect.
    If you have any questions please contact me,
    Mr. Black
    P.S. The netman generated *.ora files follow
    tcp_com_ie (this is for clients)
    tcp_com_ie/tnsnames.ora :::::::::::::::::::::::
    # Filename......: tnsnames.ora
    # Name..........: LOCAL_REGION.world
    # Date..........: 26-JUN-95 08:52:57
    V716.ie =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    (CONNECT_DATA =
    (SID = V716)
    (GLOBAL_NAME = V716.ie)
    tcp_com_ie/sqlnet.ora :::::::::::::::::::::::::
    # Filename......: sqlnet.ora
    # Name..........: tcp_com.ie
    # Date..........: 26-JUN-95 08:52:57
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 0
    NAMES.DEFAULT_DOMAIN = ie
    NAME.DEFAULT_ZONE = ie
    SQLNET.CRYPTO_SEED = "77703457783395"
    ierm5_ie (this is for server)
    ierm5_ie/listener.ora :::::::::::::::::::::::::
    # Filename......: listener.ora
    # Name..........: ierm5.ie
    # Date..........: 26-JUN-95 08:52:57
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= V716.ie)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= V716)
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = V716)
    (ORACLE_HOME = /home3/ora716)
    ierm5_ie/tnsnames.ora :::::::::::::::::::::::::::::::
    # Filename......: tnsnames.ora
    # Name..........: LOCAL_REGION.world
    # Date..........: 26-JUN-95 08:52:57
    V716.ie =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    (CONNECT_DATA =
    (SID = V716)
    (GLOBAL_NAME = V716.ie)
    ierm5_ie/sqlnet.ora :::::::::::::::::::::::::::::::
    # Filename......: sqlnet.ora
    # Name..........: ierm5.ie
    # Date..........: 26-JUN-95 08:52:57
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 0
    NAMES.DEFAULT_DOMAIN = ie
    NAME.DEFAULT_ZONE = ie
    SQLNET.CRYPTO_SEED = "77703457783395"
    Forwarded message:
    From Mr. Black Fri Jun 23 15:35:50 1995
    Subject: sqlnetv2 configuration
    To: Mr. Blue
    Date: Fri, 23 Jun 95 15:35:50 BST
    Cc: Mr. X
    X-Mailer: ELM [version 2.3 PL11]
    Mr. Blue,
    It is hard for me to make any inroads on the problem with the
    information
    in the mail, but the problem is likely to be a configuration
    one.
    There are also configuration utilities but they may not do quite
    what you want.
    Short list of things that could be wrong:
    Host names incorrect
    Listener port numbers confused
    database names incorrect.
    Database not up
    Listener not up
    sqlnet tcp v2 not installed
    executables (eg oracle sqlplus lsnrctl tnslsnr)
    not relinked with sqlnetv2 and sqlnet tcp v2
    (use adapters command ie adapters <executable name>)
    domain name in sqlnet.ora confused with internet domain name
    different tnsnames.ora and sqlnet.ora being used due
    to different ORACLE_HOME ...
    note SID and SERVICE_NAME seem to be the same thing.
    Regards,
    Mr. Black
    In your case what I can suggest is:
    (SERVICE_NAME = trial.ftidc2.dc.ftinet.com)use
    (SERVICE_NAME = trial)
    TRIAL.DC.FTI-NET.COM =
    (DESCRIPTION =use this only if DC.FTI-NET.COM is referenced in your sqlnet.ora
    file otherwise use what is used there:
    NAMES.DEFAULT_DOMAIN = USE_THIS
    NAME.DEFAULT_ZONE = USE_THIS
    then use
    TRIAL.USE_THIS =
    (DESCRIPTION =
    your connection should be
    sqlplus username/password@TRIAL
    or TRIAL in the connection box
    [you will probably get better error feedback from sqlplus]
    Hope that helps,
    Turloch,
    Oracle Migration Team
    Cynthia Savage (guest) wrote:
    : Dear OMWT:
    : Thanks for the prompt response I tried your suggestion and I
    : still get the same error. So here is a copy of my tnsnames
    : file. Hopefully, you will be able to figure out where I am
    : still going wrong.
    : TRIAL.DC.FTI-NET.COM =
    : (DESCRIPTION =
    : (ADDRESS_LIST =
    : (ADDRESS = (PROTOCOL = TCP)(HOST =
    fti-dc2.dc.fti-net.com)
    : (PORT = 1521))
    : (CONNECT_DATA =
    : (SERVICE_NAME = trial.ftidc2.dc.ftinet.com)
    : Cynthia Savage
    : Oracle Migration Workbench Team wrote:
    : : In your ORACLE_HOME\Network\Admin directory you should have a
    : : tnsnames.ora file which contains Net8 connect entries for the
    : : Oracle Instances you may have either on your local machine or
    : on
    : : another machine on the network
    : : For example, in my tnsnames.ora file I have a Net8 connect
    : string
    : : as follows:
    : : IEDMD631.IE.ORACLE.COM =
    : : (DESCRIPTION =
    : : (ADDRESS_LIST =
    : : (ADDRESS = (PROTOCOL = TCP)(HOST = iedmd631)(PORT =
    : 1521))
    : : (CONNECT_DATA =
    : : (SERVICE_NAME = iedmd631)
    : : Within the access wizard I type in IEDMD631 for the Net8
    : Connect
    : : string.
    : : In this example, IEDMD631 is my machine name.
    : : Regards,
    : : Marie
    : : ===
    : : Cynthia Savage (guest) wrote:
    : : : I am using the Migration Assistant for MS Access (version
    : : 8.1.5)
    : : : to migrate a database from Access 97 to Oracle 8i. At the
    : : : Provide Oracle Connection Information Page of the
    Assistant,
    : I
    : : : get a Specifying Net8 Connection Error.
    : : : So my question is what should I be putting in the Net8
    : : : Connection box to make this work?
    : : : Thanks for your help.
    : : : Cynthia Savage
    : : Oracle Technology Network
    : : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Oracle 8i installation gets stuck at the end in net8 configuration

    Hi,
    I am trying to install oracle 8.1.6 on a windows 2000 (celeron) machine.The installation becomes non-respondant at the end after the 100% progressbar is shown and a configuration tools windows appear.
    It has three tasks listed
    Net8 Configuration assistant
    Oracle Database configuration assistant
    OMS NT service
    It says that these configurations are optional but recommended.
    But after exiting I can't connect to the database.
    Continuously getting TNS Adapter error.
    No Oracle service is found and oracle.exe doesn't run.
    The details where it gets stuck is:
    Done parsing command line arguments.
    Net8 Configuration:Profile configuration complete.
    Net8 Listener Startup:
    Running Listener Control:
    C:\Oracle\Ora81\bin\lsnrctl start LISTENER
    Pls help.
    I am trying to get oracle 8i working for two days with no luck :(

    This is a duplicated thread > oracle 8i database initialization prob
    You don't need to post twice, it becomes more difficult for us to track the same issue on different threads.
    Please help us to help you.
    ~ Madrid

  • Not able to do Net8 Easy config Please Help!!!

    I have installed oracle 8i and oracle designer 6i on my pc with
    win98. when i try to use net8 easy config, it asks for Host
    Name, i tried to give the name of the machine and database name,
    i receive message ora-12224 error message. I would like to know
    what to input for host name and is there any other method in
    installing designer.
    Thanks
    Shivakumar

    After the installation go to your oracle home directory or the
    designer home directory and in that find the file called
    tnsnames.ora (usually located in \\home\network or net80\admin\).
    edit the file and add an entry something like below
    alias.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SID = oracledatabase_sid)
    where alias -> is aany name suffixed with .world.
    hostname -> is the name of the host, if possible in the
    hostname give the IP address of the machine.
    oracledatabase_sid -> is the sid the oracle database to which
    you will connect usual values would be ora817, orcl etc.
    This should help.

  • ORA-28545: error diagnosed by Net8 when connecting to an agent

    Dear all,
    This question has been asked many times in this forum, and I have gone to many threads in this forum, but unfortunately i failed.
    I want to connect to MySQL database from oracle. I have the following configurations.
    Oracle database enterprise edition 12c  (12.1.0.2.0) 64bit on Windows server 2012 64bit
    i have MySQL 5.6.11 on windows 7 64bit
    i have downloaded ODBC driver from oracle delivery site (MySQL Connector/ODBC 5.3.4 MSI for Windows x86 (64bit))
    i install the ODBC on my oracle server, a full installation which install the Unicode and Ansi versions both.
    i create ODBC connection for Unicode by going to Control Panel-->Administrator Tools-->ODBC Data Sources (64-bit)-->System DSN. i test it and the test was successful.
    i configure my Listner.ora, Tnsname.ora and initmysql.ora files as below;
    Listner.ora
    SID_LIST_LISTENER =
    (SID_LIST =
       (SID_DESC =
       (SID_NAME = CLRExtProc)
       (ORACLE_HOME = c:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = extproc)
       (ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
      (SID_DESC=
       (SID_NAME = mysql)
       (ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = dg4odbc)
       (ENVS=LD_LIBRARY_PATH = C:\app\Administrator\product\12.1.0\dbhome_1\LIB)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
    Tnsnames.ora
    PDBORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = pdborcl.hct.org)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.hct.org)
    mysql =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02)(PORT = 1521))
        (CONNECT_DATA =
        (SID = mysql)
        (HS = OK)
    initmysql.ora ( C:\app\Administrator\product\12.1.0\dbhome_1\hs\admin\)
    HS_FDS_CONNECT_INFO = mysql
    HS_FDS_TRACE_LEVEL = OFF
    then i stop and start the listener, the listener status is below
    LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2015 09:16
    :52
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ORADEV.hct.org)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Produ
    ction
    Start Date                23-APR-2015 09:13:56
    Uptime                    0 days 0 hr. 2 min. 59 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   c:\app\Administrator\product\12.1.0\dbhome_1\network\a
    dmin\listener.ora
    Listener Log File         c:\app\Administrator\diag\tnslsnr\ORADEV\listener\aler
    t\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORADEV.hct.org)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mysql" has 1 instance(s).
      Instance "mysql", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    tnsping MySQL
    TNS Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2
    015 09:17:54
    Copyright (c) 1997, 2014, Oracle.  All rights reserved.
    Used parameter files:
    c:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02
    )(PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS = OK))
    OK (40 msec)
    then i open sqlplus and connect to my pluggable database as sys user and create a public database link for the test schema which i already created in MySQL database.
    create public database link mysql connect to test identified by test using 'mysql';
    then i try the table1 which is in test schema in MySQL from sqlplus as below
    SQL> select * from table1@mysql;
    select * from table1@mysql
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQL
    i have tried both the Ansi and Unicode versions of ODBC but the same issue.
    where is the problem in my configuration?
    Thank you.

    ODBC
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\mysql]
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "SERVER"="10.153.102.98"
    "UID"="test"
    "PWD"="test"
    "PORT"="3306"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "mysql"="MySQL ODBC 5.3 Unicode Driver"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 ANSI Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5a.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 Unicode Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Core]
    "UsageCount"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "SQL Server"="Installed"
    "Oracle in OraDB12Home1"="Installed"
    "MySQL ODBC 5.3 ANSI Driver"="Installed"
    "MySQL ODBC 5.3 Unicode Driver"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Translators]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraDB12Home1]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectFunctions"="YYY"
    "Driver"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORAS32.DLL"
    "SQLLevel"="1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\SQL Server]
    "CPTimeout"="60"
    "SQLLevel"="1"
    "DriverODBCVer"="03.50"
    "APILevel"="2"
    "ConnectFunctions"="YYY"
    "Setup"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,71,00,6c,00,73,00,72,00,\
      76,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "UsageCount"=dword:00000001
    "Driver"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,51,00,4c,00,53,00,52,00,\
      56,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "FileUsage"="0"
    Thanks

  • ORA-28545: error diagnosed by Net8 when connecting to an agent error

    Hi,
    I've to setup the Oracle Gateway service in order to access the SQL Server 2005 db from Oracle11g 11.1.0.7.0 db which is running on a LINUX os.
    Basically, i've to periodically PULL data from SQL Server to oracle.
    Have done the necessary setup as specified in Oracle docs.
    1. Oracle ini file: initdg4msql.ora
    HS_FDS_CONNECT_INFO=999.168.0.1:1433//SqlServerDb
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=sqlserver_user_id
    HS_FDS_RECOVERY_PWD=sqlserver_user_password
    2. listener.ora entry
    LISTENER_GATEWAY =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.portal.internal)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = OBIM1)
    (ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
    (SID_DESC =
    (SID_NAME = dg4msql)
    (ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
    (ENVS=LD_LIBRARY_PATH=/app/oracle/product/11.1.0/db_1/dg4msql/driver/lib;/app/oracle/product/11.1.0/db_1/lib)
    (PROGRAM = dg4msql)
    3. tnsnames.ora entry
    dg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = oracle.portal.internal)(PORT = 1522))
    (CONNECT_DATA =(SID = dg4msql))
    (HS = OK)
    4. Create database link on oracle
    create public database link sqlserver connect to "sqlserver_user_id" identified by "sqlserver_user_password" using 'dg4msql';
    Database link created.
    Upon the completion of the configuration, I did the following and all are successful and working:
    - starting the listener by
    lsnrctl start LISTENER_GATEWAY
    - tnsping my gateway
    tnsping dg4msql
    However, when I tried to retreive data and got the following error:
    SQL> desc myTestingTable@sqlserver;
    ERROR:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    I have stepped through the doc of "How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11" but unable to figure out where the error lies.
    Any inputs on this?? please help, I am in urgent.

    Hi Mike,
    As suggested, I have tried both formats with the spaces at the front. When I tried to start the listener, still get the error as show below:
    Starting /app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Log messages written to /app/oracle/diag/tnslsnr/p1db01/listener_gateway/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.portal.internal)(PORT=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    As answers to your points -
    - you have the HOST defined as -
    (HOST = oracle.portal.internal)
    is this the actual host name or did you change it to hide it in the post ?
    *** It is just a mark up host for security reason
    - what happens if you use the IP address instead of the hostname ?
    *** Have tried the IP address but same error
    - is the gateway installed in the directory /app/oracle/product/11.1.0/db_1 ?
    *** Yes
    - can you set up listener level 16 tracing and check the trace file for further information about the errors ? Add this to the listener.ora file -
    trace_level_listener=16
    and start the listener.
    *** Have added the trace level 16 and tried to start the listener but same error. Please refer the snapshot from the log.xml. Please note that the host_id "oracle" is just a make-up.
    <txt>Listener completed notification to CRS on start
    </txt>
    </msg>
    <msg time='2010-04-17T15:37:56.544+10:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oracle'
    host_addr='99.999.99.99'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2010-04-17T15:37:56.545+10:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oracle'
    host_addr='10.254.84.32'>
    <txt>TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    </txt>
    </msg>
    - I have repeated the same steps above by changing the SID_LIST_LISTENER_GATEWAY back to SID_LIST_LISTENER parameter in LISTENER.ORA
    The listener can be started but back to square one with ORA-28545 error as show below:
    SQL> desc myTestingTable@sqlserver;
    ERROR:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    Thanks

  • ORA-12154 & ORA-12514 errors with Net8

    Can anyone help me with getting Net8 to run?
    On 8.0.5 I was able to get my Windows front-ends to run using the "0-Configuration" option for Net8 - using Host Names.
    I have been roundly unsuccessful in trying to get this to work with 8i, and now I am deeply embroiled in TNSNAMES configuration with total lack of success and ever increasing frustration.
    Has anyone successfully overcome this type of error with 8i to successfully access the database from a Windows client?

    John,
    Apologies for the cyber-silence. I only get to work on this stuff evenings and weekends, and this weekend was work instead :-(
    As this whole area of network and database configuration is one of ritual and superstition for me, rather than clinical science I decided to go back in time and re-install 8.0.5 - which works fine for the Host Naming approach. I grabbed the listener.ora and tnsnames.ora (yes, I know it doesn't apply - but, as I said, I'm superstitious) and brought them back to the present (changing a couple of things where necessary - e.g. 8.0.5 => 8.1.5).
    Unfortunately that didn't work either. Then I recreated my 8i database and made the global db name and instance name exactly the same as the hostname. This time it worked! Not a very general solution (and I have no idea which part of the solution cracked it or me) but I am sticking with it for now!
    Just for the record here are the new (old?) configuration files:
    sqlnet.ora:
    SQLNET.EXPIRE_TIME = 0
    NAMES.DIRECTORY_PATH= (HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = baloo))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = baloo.housden.net)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = baloo.housden.net.)
    (ORACLE_HOME = /u2/app/oracle/product/8.1.5)
    (SID_NAME = baloo)
    (SID_DESC =
    (SID_NAME = extproc)
    (ORACLE_HOME = /u2/app/oracle/product/8.1.5)
    (PROGRAM = extproc)
    tnsnames.ora:
    ORCL_BEQ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = /u2/app/oracle/product/8.1.5)
    (argv0 = oraclebaloo)
    (args = '(DESCRIPTION = (LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))')
    (envs = 'ORACLE_HOME=/u2/app/oracle/product/8.1.5,ORACLE_SID=baloo'))
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(Host = baloo.housden.net)(Port = 1521))
    (CONNECT_DATA =
    (SID = baloo)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = baloo))
    (CONNECT_DATA =
    (SID = extproc)
    BTW - in other posts on this forum you keep whingeing about your job. Are things still that bad Down Under that there are no suitable alternatives there? I was hoping to return to the Lucky Country some time soon, but I want to be sure that the economy and job market is viable first. Anyway, thanks for your help and Good Luck!

Maybe you are looking for