Oracle8i Enterprise Edition for Windows NT and Windows 95/98
Release Notes
A68803-01

Library

Prev

Installation Issues

  1. Verify System Requirements--ensure that the system requirements in the installation documentation have been met.

  2. Note: You can complete a Minimal Oracle8i Enterprise Edition installation on a 64MB machine, but you cannot run Oracle Universal Installer and the database assistants during the same installation session. To run the assistants on a  machine with less than 96MB of RAM, complete a Minimal installation, then when asked if you want to create a database, answer No. Similarly, if asked if you want to migrate an existing database, choose No. After installation is completed and Oracle Universal Installer exits, run the assistant(s). Oracle Options (interMedia, Spatial, etc.) are not installed during a Minimal installation. If you want to install any of the options, do so after completing a Minimal installation.
     
  3. Before installing an Oracle8i server ensure that any existing Net8 or SQL*Net listeners on the same computer are stopped.  An existing listener may prevent the Net8 8.1 listener from starting during the Oracle8i install due to listener endpoint conflicts with an existing listener. For more information on installing and using Net8, see Net8 later in this release note.
  4. You must have Administrative privileges to install. Before beginning installation, ensure that you are logged on as a user with Administrative privileges.

  5.  

Initial Installation

     

    Attention:

    If you have an existing 8.0.x, 7.x, or earlier Oracle home and you want to install release 8.1.5 on the same computer, use a different Oracle home location than the previous install(s). If you attempt to install into the same Oracle home, Oracle Universal Installer will prevent you from installing.


An out-of-memory problem has been reported by users on minimal systems (64MB; 128MB of RAM is recommended) when running the Oracle Database Migration Assistant and Oracle Database Configuration Assistant. If you are using a minimal system, Oracle Corporation recommends that you increase virtual memory to 200 MB (modify it in System Properties). Ensure that your system has enough disk space necessary before proceeding with an installation by reading "System Requirements" in your installation guide.


Subsequent Installations

When you begin to install products a second time after initially installing using Oracle Universal Installer, (if you choose to perform a Custom installation) you will see that the products you previously installed are selected. For example, if you previously installed Oracle Server and SQL*Plus, those items will be selected in the list of installable products.

To install additional products, select those products, but do not deselect the products you have already installed. If you deselect the products you previously installed, they will be deinstalled.

If you reinstall products using Oracle Universal Installer, reboot your machine after installation.

Deinstallation of 8.1.5

When deinstalling the database and Net8 server for 8.1.5, the corresponding services are not automatically removed.  This will generate event viewer errors when rebooting your computer. To correct this, you must manually remove these entries in the registry.  Before you attempt these steps, make sure you know which Oracle home and SID to deinstall.  Deleting the wrong home and/or SID service entry could cause major problems with your Oracle environment. Below is an example of removing services. Follow similar steps for each service you want to remove.

1.  Start regedit (you can start it at the command prompt by typing C:\regedit, or from the Start menu.)

2.  Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

3.  Delete Oracle<HOME_NAME>TNSListener.

4.  Delete OracleService<SID>.

<HOME_NAME> is the Oracle Home Name you just deinstalled from (such as: OraHome81)
<SID> is the SID you just deinstalled (such as: ORCL)
 

Oracle Homes Issues

Oracle AppWizard for Microsoft Visual C++

1. You must install Microsoft Visual C++ before you install Oracle AppWizard for Microsoft Visual C++.
See Chapter 1 of the Oracle AppWizard for Microsoft Visual C++ User's Guide for more information.

2. If Oracle AppWizard for Microsoft Visual C/C++ cannot be loaded successfully, make sure that you have installed Oracle Objects for OLE (OO4O) and that the following directory has been created:

%ORACLE_HOME%\BIN

3. With Windows 95/98, you must reboot your computer after you have installed an Oracle product for the first time.

4. This release works with Microsoft Visual C++ 5.0 and should work with Microsoft Visual C++ 6.0 as well. However, when using version 6.0, selecting or deselecting the following options either has no effect or does not generate the code for that option.

     
    Option: Result:
    What type of application would you like to create?
          If you choose "Document/View architecture support"
    Default is selected. Deselect does not take effect because the
    generated MFC-based application must use this architecture.
    What compound document support would you like to include?
            If you choose "Both container and server "
             and "Active document container "
    You get MSVC 5.0 container and server support.
    What do you want your toolbars to look?
             If you choose "Internet Explorer ReBars"
    Internet Explorer ReBars is not supported in this release.
    What style of project would you like?
            If you choose "Windows Explorer"
    Windows Explorer is not supported in this release.

Installation Tips

  • If you exit Oracle Universal Installer (OUI) during an installation (kill the OUI, machine reboots, etc), or if the installation does not complete (that is, ALL required configuration tools are not run at the end) OUI will not register the installation in its inventory. Files may have been copied to the Oracle Home, so it is best to first remove those files manually and restart the installation.
  • If you delete an Oracle Home manually (without using OUI), the products in that home remain registered with OUI. If you next attempt an installation in the same home, some or all products selected may not be installed because OUI determines they are already installed. The workaround is to first use OUI to deinstall the products in that home (which removes them from OUI inventory), then reinstall in the same home.
  • README Files

    You will find several README files included with your products.

    Although these release notes contain vital information you need, other important or interesting information is contained in the README files.

    README files may be included for products you did not purchase or license. Their presence does not mean that you can install and use those products.

    Use the HTML version of your documentation library to access all of the release notes and README files.

    Oracle Web Publishing Assistant


     
  • Due to French government regulations on encryption, you cannot set your system default locale to French (Standard) in the Regional Settings Control Panel of Windows NT.
  •  
  • In some language versions on Windows NT, the spin box for entering time in Web Publishing Assistant does not function properly with the default time style. To work around this problem, change the default time style (from within
  • the Control Panel) before running the Assistant. To change the default time style, click on the "Regional Settings" icon
    in the Control Panel and select the "Time" property page, and  change the time style to "hh:mm:ss". (bug #839409)

    Oracle Objects for OLE

      Click here to see the Oracle Objects for OLE release note information.

    Pro*C/C++

    Sample Programs

    By default the sample .PRE files search for their corresponding .PC files in the C:\ORACLE\ORA81 directory (where C:\ is the drive that you are using, and ORACLE\ORA81 represents the location of the Oracle home). If the Oracle base and Oracle home directories are different on your computer, you must change the directory path to the correct path.

    To change the directory path for a sample .PRE file:

    1. In Pro*C/C++, open the .PRE file.
    2. Double-click the file name in the Input File area.

    3. The Input File dialog box appears.
    4. Change the directory path to the correct path.
    5. Click Open.

    6.  

    SQL*Net

    Networking components for releases 7.3 and 8.0 are not included on the release 8.1.5 CD-ROM. If you need these components, obtain the 8.0.5 Client software (part number A65346 contains the 7.3.4 and 8.0.5 RSFs) from Oracle Support Services.

    Multiplexing and Connection Pooling

      For this release, multi-threaded server can not be configured to use both multiplexing and connection pooling.


    Net8

    Specific topics discussed are:

    Installation Requirements

    Before installing an Oracle8i server, ensure that any existing Net8 or SQL*Net listeners on the same computer are stopped.  An existing listener may prevent the Net8 8.1 listener from starting during the Oracle8i install due to listener endpoint conflicts with an existing listener.

    Once Oracle8i is installed, Oracle recommends that you use the new Net8 8.1 listener for all of your Oracle databases of Oracle8i release 8.1 and previous releases (such as an Oracle8 8.0 database).  Even if you install Oracle 8i on multiple Oracle homes on the same computer, you should only use one listener for all your databases on the same computer.

    Additionally, the new Net8 8.1 listener will be set to start automatically at system reboot.  If you intend to use only the Net8
    8.1 listener for all of your databases, you should ensure that only the Windows NT service for the Net8 8.1 listener, as listed in the Windows NT services control panel, is set to start automatically.

    If you must use multiple listeners (such as a Net8 8.0 listener and Net8 8.1 listener) on the same computer, please refer to the Net8 Administrators Guide and Oracle 8i Enterprise Edition Getting Started (Chapter 5) for more information.

    If Net8 8.1 listener service is not created during Oracle 8i installation due to conflicts in listening endpoints, you should first resolve the conflicts by changing listener configurations and then start your Net8 8.1 listener by using the listener control program:

    From a command prompt:

    lsnrctl start <listener_name>

    where <listener_name> is LISTENER for typical install or the listener name given during custom install.

    This command also creates the NT service for the listener, if the service does not already exist.
     

    Net8 Configuration Requirements for Oracle Enterprise Manager 2.0.4

    Do not set sqlnet.authentication_services = (NTS) in the sqlnet.ora file that resides in your Oracle_Home where Oracle Enterprise Manager v2.0.4 has been installed.
     

    Networking Tools

    In 8.1.5 three networking tools are included:
     

    Net8 Configuration Assistant (NETCA)

    The Net8 Configuration Assistant performs  basic Net8 configuration during install.  It is also available after install to provide similar configuration capabilities such as configuring a new listener or a net service name for local (tnsnames.ora) naming.

    Net8 Easy Config (NETEC)

      This tool provides easy configuration of net service names. While it it included in the release it has also been deprecated and will not be included in future releases.  The same functionality is now provided through the Net8 Configuration Assistant.

    Net Assistant (NETASST)

    The Net8 Assistant is an administrators tool.  It provides for configuration for most Net8 components  excluding Connection Manager.  With this release it provides an improved user interface, support for complex net service name addressing, a new help system, as well as support for new Oracle8i features.


    Configuring Oracle Names Server with Net8 Assistant

    When configuring Oracle Names servers with Net8 Assistant, consider the following:

    1. In addition to deleting an Oracle Names server from the Oracle Names Servers folder, you must manually delete Oracle Names server entries in the ORACLE_HOME\NETWORK\ADMIN\NAMES.ORA and ORACLE_HOME\NETWORK\NAMES\CKP*.ORA files.
    2. Discovery of Oracle Names servers may take several minutes.
    3. Creation of Oracle Names servers on Windows 95/98 is not supported, but the functionality is not disabled from Net8 Assistant. Net8 Assistant allows you to create Oracle Names servers, but you cannot start, stop, or configure them.

    Oracle Intelligent Agent 8.1.5 and Oracle Data Gatherer 8.1.5


    For information on these products please refer to README.wri in the ORACLE_HOME\NETWORK\AGENT\DOC directory.

    Wallet Manager

    Previous instructions on invoking Oracle Wallet Manager (OWM) on Windows NT included using a command line command. That is no longer necessary. To invoke Oracle Wallet Manager, use the NT Explorer or Start menu to start it from the program group.

    Named Pipe on Windows 95

    If you use the Named Pipe protocol on a Windows 95 system to connect to an Oracle Server, client applications may run very slowing due to a known problem in Microsoft's implementation of Windows 95 NWLink Direct-Hosting.

    To work around this problem, you may do any of the followings:
     

  • Use other protocols (e.g. TCP/IP, SPX) for connecting from Oracle client,

  •  
  • Remove the protocol NWLink from Windows 95 system if you do not need to access NetWare Servers,

  •  
  • Disable Direct-Hosting feature on Windows 95.

  • Please refer to Microsoft documentation for detailed information.

    Microsoft Transaction Server

     
  • You must install Microsoft Transaction Server 2.0, HTML Help 1.2 and Windows NT Service Pack 4 (or Special downloadable MS DTC update file) to use this feature. They are available for download from Microsoft's web site. Please refer to Using Microsoft Transaction Server with Oracle8i for more information.

  •  
  • When using the Oracle ODBC driver in MTS transactions, directly or via ADO and/or Microsoft OLE DB Provider for ODBC Drivers, OLE DB Services are not supported.  To disable OLE DB Services, set the following registry value to 0:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{c8b522cb-5cf3-11ce-ade5-00aa0044773d}\OLEDB_SERVICES
     

    If the registry value is not found, then OLE DB Services is already disabled.
     

  • This version of Oracle Services for MTS does not support Microsoft Data  Access Components 2.1 which is installed with Microsoft SQL Server 7.0. We are working with Microsoft to resolve the incompatibility problems found. If you require to use MDAC 2.1 and the Oracle ODBC driver in MTS transactions, please contact Oracle Support.
  • Oracle8 Parallel Server

    When installing on multiple nodes, the Windows NT service for the SQL*Net listener is not automatically created on remote nodes. To fix this problem:

    1. Run Net8 Assistant on each remote node to create LISTENER.ORA on the remote nodes.

    2. On each remote node, from the command prompt, issue this command:
     

      lsnrctl start


    Oracle8i Support for the Intel Extended Server Memory Architecture (ESMA)

    A new feature in Oracle8i for Windows NT is support for Intel ESMA, which allows Oracle8i to access more than the 4GB of RAM traditionally available to Windows NT applications.

    Note: This feature is only available on Intel Pentium II and Pentium III Xeon  32-bit processors.

    Specifically, Oracle8i (in conjunction with Intel's PSE36 driver) can now allocate substantially more database buffers than previous releases. Further details are posted at:

    http://developer.intel.com/procs/servers/isv/oracle/esma.htm

    To take advantage of this support, you must do the following:

    1. More than 4GB of RAM must be present in the server on which Oracle8i will run.

    2. Windows NT v4.0 Enterprise Edition, Service Pack 3 or later must be installed.

    3. The Intel PSE36 driver must be installed and operational. See http://developer.intel.com/vtune/pse36/index.htm for further PSE36 system requirements and for download instructions.

    4. USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the INIT.ORA for the database instance that will use the PSE36 driver. If this parameter is not set, then Oracle8i behaves in exactly the same way as previous releases.

    5. Set DB_BLOCK_BUFFERS and DB_BLOCK_SIZE as desired for the database. Note that the total number of bytes of database buffers (that is, DB_BLOCK_BUFFERS multiplied by DB_BLOCK_SIZE) is no longer limited to 3GB as was the case in previous releases.

    6. The VLM_BUFFER_MEMORY registry parameter must be created and set in the appropriate key for your Oracle home in the Windows NT Registry. This parameter is specified in bytes and has a default of 1GB. When set, this parameter tells Oracle8i how much non-PSE36 memory to use for database buffers. This memory comes from Oracle8i's virtual address space as was the case in previous releases. Setting this parameter to a large value has the effect of using more of Oracle8i's address space for buffers and using less PSE36 memory for buffers. However, since accessing PSE36 buffers is somewhat slower than accessing virtual address space buffers, tune this parameter to be as large as possible without adversely limiting database operations.

    For instance, assume that the Oracle8i database is running on a machine with 8GB of RAM, which means that the PSE36 driver has control of 4GB of RAM. If DB_BLOCK_BUFFERS=2500000 and DB_BLOCK_SIZE=2048, then a total of 5GB of database buffers needs to be allocated. If VLM_BUFFER_MEMORY is set to 1GB, then 1GB of buffers come from the Oracle8i virtual address space and 4GB come from the PSE36 driver. If you set VLM_BUFFER_MEMORY to 500MB, an error occurs at startup because there is not 4.5GB of memory available to the PSE36 driver for database buffers. Likewise, if you set VLM_BUFFER_MEMORY to 3GB, an error occurs because the Oracle8i address space is limited to 3GB on Windows NT, and this address space must also hold Oracle8i code, shared pool, PGA memory, and other structures. In general, the higher the VLM_BUFFER_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle8i. The lower VLM_BUFFER_MEMORY is set, the slower the performance will be.

    7. Once these parameters are set, the Oracle8i database can be started up and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced since more Oracle data blocks can be cached in the SGA. If out of memory errors occur during the startup sequence, verify the following:

    1. PSE36 driver is installed and functional
    2. DB_BLOCK_BUFFERS is not set too high for the amount of memory in the machine. Note that more memory than just the database buffers themselves is required when starting up the database. For each database buffer, a database buffer header is also allocated in Oracle8i's virtual address space. When allocating 2,000,000 database buffers, the memory for these buffer headers amounts to several hundred megabytes. This must be considered when setting DB_BLOCK_BUFFERS and VLM_BUFFER_MEMORY.
    3. VLM_BUFFER_MEMORY is not set too high for the amount of address space available to Oracle8i. In Windows NT's Performance Monitor, under the Process object, monitor the Virtual Bytes counter for the "ORACLE" process. If this counter approaches 3GB, then out of memory errors can occur. If this happens, reduce DB_BLOCK_BUFFERS and/or VLM_BUFFER_MEMORY until the database is able to start up.

    4.  
      8. Currently, there is a limitation in Server Manager for NT whereby the amount of database buffers displayed during database startup is incorrect if more than 4GB of buffers are in use. For instance, if 5GB of buffers are used, Server Manager will incorrectly report that 1GB are being used. This limitation will be fixed in the next release of Oracle8i.

    Oracle8i Assistants

    1. Oracle8i Assistants must be run from a user account that is a member of the NT Administrator's Group on that computer.
    2. When you use an Assistant, you must have read/write access to the directory where database files will be moved/created.

    3.  

    Display Colors

    Net8 Assistant and Net8 Easy Config (and Oracle Database Configuration Assistant and Oracle Data Migration Assistant for servers) require monitors displaying at least 16 colors.

    If your monitor displays less than 16 colors, these assistants will not start.

    Oracle Data Migration Assistant

      1. Before migrating a version 7 Oracle database to release 8.1.5, perform the system checks listed in "Oracle8i Migration". In Oracle8i Enterprise Edition Getting Started, see "Prepare the Version 7 Source Database for Migration" in Chapter 3, "Migrating Using the Migration Utility" for more information on performing these checks.
      2. If you migrate an 8.0.x database to 8.1 using Database Migration Assistant, you may get this error message:
        An error occurred while upgrading your Oracle 
        database. Check the log files to determine if the 
        upgrade was successful.
        If you receive this message, do the following:
        Click OK.
        Click View Summary in the subsequent box that appears. If only error ORA-00604 appears, dismiss the dialog box and continue. This error is incorrect and will not affect operation. If other ORA- errors appear, they must be addressed.
      3. If you use the JOB_QUEUE_PROCESSES parameter in the INIT.ORA file, it will be disabled during migration. After migration has completed, you must re-enable this parameter.
      4. Previously created 8.1.5 Oracle databases on your computer appear in the list of databases you can select to migrate or upgrade. If you attempt to select an 8.1.5 database to upgrade using the Oracle Data Migration Utility, you may receive an error. Oracle discourages you from attempting to re-upgrade an 8.1.5 database to release 8.1.5.
      5. When choosing Browse in any dialog box to select a directory, the Directory Browse dialog will appear, showing only your current drive. If you wish to browse a different drive, enter that drive letter in the Directory text field and press Return or click OK.
      6. Sometimes, when Oracle Universal Installer launches Oracle Data Migration Assistant, the installer continues to wait even after migration is completed. In these instances, Oracle Data Migration Assistant has finished, yet the buttons in Oracle Universal Installer remain grayed out. If this happens, select the tool from the list in the OUI, and then click the Stop button. OUI may indicate that the tool has failed, but if the tool completed successfully, you may ignore the display.

      7. While migrating or upgrading your Oracle database to release 8.1.5, if your rollback segments are not large enough, you may receive one of the following errors:

      ORA-01628; max # extents (number) reached for rollback segment segment_name
      ORA-01562; failed to extend rollback segment number segment_number

      If you receive one of these errors during migration, use one of the following commands to increase your rollback segment size:

      alter rollback segment segment_name storage(maxextents number);

      alter rollback segment segment_name storage(maxextents unlimited);

    Oracle Database Configuration Assistant

    If you use Oracle Database Configuration Assistant to create a new database in a new multiple Oracle home, the LISTENER.ORA file located in ORACLE_HOME\NETWORK\ADMIN is updated with the SID information. Also a new TNS entry is generated in the TNSNAMES.ORA file located in ORACLE_HOME\NETWORK\ADMIN.

    Users must have NT administrative privileges in order to create an Oracle8i database. If the Oracle Database Configuration Assistant is run from an account that is not part of the Administrator group, then the tool exits without completing the operation.

    Sometimes, when Oracle Universal Installer launches Oracle Database Configuration Assistant, the installer continues to wait even after migration is completed. In these instances, Oracle Database Configuration Assistant has finished, yet the buttons in Oracle Universal Installer remain grayed out. If this happens, select the tool from the list in the OUI, and then click the Stop button. OUI may indicate that the tool has failed, but if the tool completed successfully, you may ignore the display.

    The following two errors are sometimes seen by users. They are both harmless, and DBCA works properly after these exceptions are noted:

    1. java.lang.NullPointerExcetption: invalid peer

    at

    sun.awt.windows.WWindowPeer$FocusOnActivate.dispatch(WWindowPeer.java:100)

     
    2. java.lang.NullPointerException
    at sun.awt.motif.MComponentPeer.repaint(MComponentPeer.java:229)


    Migrating from Server Manager to SQL*Plus

    After release 8.1.5, all remaining Server Manager text and examples will be replaced with SQL*Plus equivalents. Although Server Manager will continue to be shipped with 8.1.x releases, Oracle Corporation strongly recommends that you migrate from Server Manager to SQL*Plus as soon as possible.

    When migrating to SQL*Plus, be aware of the following syntax differences:

    1. When using the CREATE TYPE AND CREATE LIBRARY stored procedures, the slash (/) must be written on a new line.
    2. Do not insert any blank lines in SQL statements.
    3. Do not use the hash sign (#) to indicate a comment line in SQL*Plus.
    4. The hyphen (-) is a continuation character to continue long SQL*Plus commands in SQL*Plus.
    5. The ampersand (&) is a substitution variable in SQL*Plus. If you use the ampersand in your SQL statement, be sure to issue the SET ESCAPE command with the default escape character, hyphen mark (-), whenever the ampersand is being used. The escape character instructs SQL*Plus to treat the substitution character as an ordinary character rather than as a request for variable substitution.

    The preceding SQL*Plus commands and character usages are fully covered in the SQL*Plus User's Guide and Reference.

    Oracle Call Interface

    Obsolete Functions

      The Oracle Call Interface (OCI) Release 8.1 provides a wide range of new features and functions. All calls available in Release 7.x are still supported, but they are not able to take full advantage of new Oracle8i features.  Release 8.0 of the Oracle Call Interface introduced an entirely new set of functions which were not available in release 7.x. Release 8.1 adds more new functions. The earlier 7.x calls are still available, but Oracle recommends that existing applications start using the new calls to improve performance and provide increased functionality.  Please reference Chapter 1 of the Oracle Call Interface Programmer's Guide, Vol I for more information.
       
      For Win32 applications running on Windows NT or Windows 95/98, this means that these applications will need to migrate to the new Release 8.x OCI calls in order to continue to be supported.  In Release 8.x, the library and DLL containing the OCI calls is named oci.lib and oci.dll.  In Release 7.x, they were named ociw32.lib and ociw32.dll.  At some point in the future, ociw32.lib
      and ociw32.dll will no longer be supported or released, making migration to the new calls mandatory.

    Initialization of an OCI Environment

    The initialization of an OCI environment in Shared Data Mode as discussed in Chapter 2 of the Oracle Call Interface Programmer's Guide, Volume I, is not supported on Windows NT in this release. It will be available in a future release.

    Oracle Enterprise Manager

    1. Please refer to the Oracle Enterprise Manager README (part number A67819-01) before using Oracle Enterprise Manager release 2.0.4 Production.
    2. If you install Oracle Enterprise Manager version 2.0.4 and an 8.1.5 database on the same computer, they must be installed into different Oracle homes.

    Oracle Time Series Demo

      The SQL demos included with Oracle Time Series will not function properly if run using SQL*Plus. As a workaround, run these demos from Server Manager.

    Oracle interMedia

    Image Demo

    Oracle interMedia provides a simple image demo in the <ORACLE_HOME>\ORD\IMG\DEMO\VC directory.  This demo gets and updates images from a column in an Oracle database.  There is a problem with this demo in 8.1.5; it does not compile. To fix this problem, replace the following lines in the following files:
     
    1. File ImageProperty.cpp, line 182, replace:
    ub4 cb
     
    with
     
    unsigned long cb
    2. File CSimpImgView.cpp replace line 619-628:
    ub4 cb;
    if (db->GetImageStream(bl, buf, sizeof(buf), offset, &cb))
      {
       if (einfo.ImgDataType = BFileImage)
       {
        db->CloseFileBlob(bl);
       }
       return CListView::OnNotify(wParam, lParam, pResult);
      }
      with:
      unsigned long cb;
      ub4 rb;
      if (db->GetImageStream(bl, buf, sizeof(buf), offset, &rb))
      {
       if (einfo.ImgDataType = BFileImage)
       {
        db->CloseFileBlob(bl);
       }
       return CListView::OnNotify(wParam, lParam, pResult);
      }
      cb = rb;

    Audio and Video Java Demo

    Both audio and video java demos take in table, column and data conditions from users via keyboard input. The code fragment is as follows:
    System.out.println("Enter column Name");
    System.in.read(byteArray);
    columnName = new String(byteArray);
    strBuffer = new
    StringBuffer (columnName.substring(0,columnName.indexOf("\n")));
    The code is attempting to strip out the enter at the end of the user's input. This is generally successful on UNIX platforms, but does not work on Windows NT.
    The work around for this problem is as follows:
    In: <ORACLE_HOME>\ord\aud\demo\demoProgram.java
    Replace this line: audioObj.setBindParams (tableName, columnName, dataCondition);
    With: audioObj.setBindParams ("TAUD", "aud", "n=1");
     
    so that the table, column and data condition are hard-coded, instead of taking the user's input. When running the demo, users can simply press Enter when prompted for input because the input will be ignored with the fix.
    Similarly,
     
    Replace: videoObj.setBindParams (tableName, columnName, dataCondition);
    With: videoObj.setBindParams ("tvid", "vid", "n=1");


    Using SQL*Loader

    When using SQL*Loader to direct load an Index-Organized Table, you may receive an internal error if the table has an Overflow segment.


     

    Legato Storage Manager

     
  • If you use the Legato Storage Manager, and have more than one tape device on your system, ensure that the following settings are made in the LSM Administrator GUI.

  •  
    Select start->programs->networker group->networker administrator to start the LSM Administrator GUI.

    Click the set up server button, and set the parallelism field to the number of tape devices you have.  Then, click the devices button.  For each tape device listed, select it with the right mouse button, select edit, and set the target sessions field to 1.

  • In the Japanese version of LSM 5.5, the following log files are written in UTF8 format:

  •  
    C:\win32app\nsr\applogs\dmo.messages
    C:\win32app\nsr\logs\daemon.log
    C:\win32app\nsr\logs\messages

    On a Japanese version of Windows NT running Japanese LSM 5.5, you must run the following command at the command prompt to read one of these UTF8 log files:

    nsrcat -n < file_name

    Here, file_name is the appropriate pathname for the specific log file such as C:\win32app\nsr\applogs\dmo.messages.

    RMAN

    1. In 8.1.5, TSPITR (tablespace point-in-time recovery) is not supported on Windows NT.

    2. In 8.1.5, the rman DUPLICATE DATABASE command is not supported on Windows NT.

    3. Backups to the LSM fail if the DB_DOMAIN INIT.ORA parameter is not set.  To backup to the LSM, you must set the DB_DOMAIN INIT.ORA parameter.

    4. On Windows NT, starting with version 8.1.6, Oracle will apply additional transformations to filenames entered by the user.  Such files include control files, data files, online and archived redo logs used by the Oracle server, and datafile copies and on-disk backup pieces used by Recovery Manager.  These transformations are collectively referred to as 'file name normalization'.
     

  •  If the filename entered does not begin with an absolute pathname, then the Oracle default directory is appended to the beginning of the name.

  •  
  • If forward slashes ('/') are used as path separators, they will be converted to backward slashes ('\').
  •  Multiple redundant occurrences of the path separator ('/' or '\') will be converted to a single backward slash ('\').
  • Any occurrences of '.' or '..' in the directory path will be resolved with their actual directory names.

  • In versions 8.1.5 and previous, the only transformation applied to user-entered filenames was that they were converted to uppercase.
     

    Why we are doing this

    Failing to apply these transformations results in the following undesirable behaviors:
     
  • Two different filenames that refer to the same physical file will not be recognized as referring to the same file.  It is therefore possible, for example, when attempting to add a new datafile to the database, to inadvertently specify the name of an existing Oracle datafile, and cause that file to be corrupted.  This behavior also means that file names used in commands that refer to existing files, such as the SQL 'alter database rename file' command, and various Recovery Manager commands, must be specified exactly as they were originally entered or they will not be recognized.

  •  
  • If any Oracle files were specified as relative filenames, those files will no longer be found if the Oracle default directory is

  • changed.
     

    Compatibility with prior releases

    If an existing 8.1.5 or prior database is migrated to 8.1.6, its v$ views and data dictionary views that contain file
    names, such as v$datafile, will display normalized file names.

    SQL commands that reference a filename, such as the 'alter database rename file' command may specify file names in any format, and they will be recognized.

    If you use recovery manager, and use a recovery catalog database, then the filenames stored in the recovery catalog must be changed. Oracle will provide an upgrade mechanism for the recovery catalog.
     

    COM Automation

    Please note the following changes to Chapter 4 of the Oracle COM Automation Developer's Guide for Windows NT:

    1. CreateObject and DestroyObject procedures:

    2. The Remarks section for these procedures indicate that if you do not destroy the object, the object stays resident until the user's session ends. This is not necessarily the case.
    3. GetLastError procedure:

    4. The datatype of the helpid parameter is BINARY_INTEGER, not VARCHAR2.
    5. GetProperty procedure:

    6. In the code sample, the second variable is ChartToken, not CharToken.

    Storing Database Files on Compressed Drives

    Do not store database files on a compressed drive.

    Doing this can result in write errors, as well as decreased performance.

    Oracle Administration Assistant for Windows NT

    In order to use this MMC-based tool, you must install Microsoft Management Console 1.0 or 1.1 (1.1 is recommended) and HTML Help 1.2. They are available for download from Microsoft Corporation's website.

    ODBC

    Updated 8.1.5 ODBC drivers are available for download via the web. Please check http://www.oracle.com (type ODBC in the search field on Oracle's Home page, then choose the drivers you require) for the latest version of the ODBC driver from Oracle.

    Using SQL*Forms and Developer/2000 with Oracle8

    (Bug 380655) If you insert new records into a form block, and then attempt to access those rows to update them (internally by ROWID, using the tool) before the rows have been requeried within the block, Oracle attempts to lock the rows for update and fails with:

    'FRM-40501: ORACLE error: unable to reserve record for update or delete'.

    The workaround is to requery the rows before attempting to update them.

    A patch for SQL*Forms and Developer/2000 is also available to fix this bug. The patch is included in the 8.1.5 release for most common platforms, and is also available from Oracle Support Services.

    The patches for this issue are located at the top-level of the server installation area in a directory called patches. In this directory is a sub-directory named for the above bug number, within which can be found platform-specific versions of the patch, and installation instructions for each platform.

    Creating a Clean Machine

    In rare situations, some users may want to correct serious system problems by completely removing Oracle products from their system. This is not recommended as an easy way to fix problems, especially common ones. Only create a Clean Machine as a last resort, and only if you want to remove all Oracle products from your system. Complete the following steps to create a Clean Machine.

    Note: The following Clean Machine instructions assume an OFA (Optimal Flexible Architecture) structure.

    Warning: This will remove all Oracle products, Oracle services, and Oracle registry entries from your computer.

    On Windows NT:

      1. Ensure you are logged in as a user with Administrator privileges.

      2. Using regedit (at the command prompt, type regedit), go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and delete the ORACLE key.

      3. Delete HKEY_LOCAL_MACHINE\SOFTWARE\odbc.

      4 Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services that begin with ORACLE.

       
      5. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application that begin with ORACLE.

      6. Close regedit.

      7. From the Control Panel, open System.

      8. If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. For example, you may see a path similar to this one: C: \ORACLE\ORA81\BIN;G: \Program Files\Oracle\jre\1.1.7\bin. Go to Start > Control Panel > System > Environment tab. Click on the system variable path and modify the path.

      9. Delete Icons from <system_drive>: \Winnt\Profiles\All Users\Start Menu\Programs\Oracle - <HOME> and <system_drive>: \Winnt\Profiles\All Users\Start Menu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.

      10. Delete <system_drive>: \Program Files\Oracle (from the Windows NT Explorer or from the command prompt).

      11. Reboot your computer.

      12. Delete all ORACLE_BASE directories (You can find the Oracle homes listed in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOMES).

    On Windows 95 and Windows 98:

      1. In regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

      2. Delete the ORACLE key.

      3. Delete HKEY_LOCAL_MACHINE\SOFTWARE\odbc.

      4. Edit your AUTOEXEC.BAT file and remove your %ORACLE_HOME%\bin and JRE paths from the path setting.

      5. From the Windows Explorer (or from the command prompt), delete the Oracle directory (Oracle Base).

      6. Delete <system_drive>: \Program Files\Oracle (from the Windows NT Explorer or from the command prompt).

      7. Delete Icons from <system_drive>: \Windows\Start Menu\Programs\Oracle - <HOME> and <system_drive>: \Windows\Start Menu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.

      8. Reboot your computer.


    Prev
    Oracle
    Copyright © 1999 Oracle Corporation.
    All Rights Reserved.

    Library