English

ArcSDE 9.2 Oracle Binary and Lob Type Spatial View Patch

Summary

Spatial views with ArcSDE 9.2 Service Pack 5 do not work properly. Spatial views are created with the sdetable -o create_view command with the spatial column of the subject feature class included in the view definition. With ArcSDE 9.2 Service Pack 5, in conjunction with ArcGIS 9.2 and ArcIMS 9.2, features in a SDEBINARY or SDELOB feature class in the spatial view will not display when zooming. The features are still in the feature class, they just don’t display.

Description


Issues Addressed with this Patch

    NIM006153 - SQL functions for the Spatial Type for Oracle (ST_GEOMETRY) fail on geometry containing curves.
    NIM013289 - ArcSDE for Oracle: During table creation or join operations, additions to the describe cache with many long column names can cause a fatal gsrvr memory error.
    NIM033265 - Queryinfo removes user defined column properties with a sequence on execution against sys.dual table in Oracle. Causes "ORA-02289: sequence does not exist" error.
    NIM034251 - After upgrading to ArcSDE 9.2 SP5 for Oracle, when zooming into a spatial view created on an SDEBINARY or SDELOB feature class, the data does not draw. No other 9.2 service packs are affected.

Files Installed in this Patch

Windows:

    Oracle 9i:
      bin\sdeora9isrvr92.dll
      bin\st_shapelib.dll
    Oracle 10g:
      bin\sdeora10gsrvr92.dll
      bin\st_shapelib.dll
    SDK and Client:
      bin\sdeora9isrvr92.dll
      bin\sdeora10gsrvr92.dll

Unix:

    Oracle 9i:
      bin/giomgr
      lib/libsdeora9isrvr92.so (.sl or _64.so)
      lib/ libst_shapelib.so (.sl or _64.so)
    Oracle10g:
      bin/giomgr
      lib/libsdeora10gsrvr92.so (.sl or _64.so)
      lib/ libst_shapelib.so (.sl or _64.so)
    SDK and Client:
      lib/libsdeora9isrvr92.so (.sl or _64.so)
      lib/libsdeora10gsrvr92.so (.sl or _64.so)

Installing the Patch

ArcSDE 9.2 Service Pack 5 must be installed before you can install this Patch. It is strongly recommended that you back up your database including all previous ArcSDE system tables and user layer data before upgrading your ArcSDE installation. Install this Patch using your SDE user account.

REQUIRED INSTALL STEP: If you connect to ArcSDE 9.2 via an Application Server and Direct Connect connections using ArcGIS 9.2, ArcIMS 9.2, or ArcView GIS 3.3 with DBA 2.1f make sure you also see ESRI Products connecting to ArcSDE (Application and Direct Connect connections).

ArcSDE Server Install for UNIX

UNIX Installation Notes:

    To find out what ArcGIS products are currently installed on your machine, download and extract the PatchFinder.tar and run PatchFinder utility from your local machine. This utility provides a report detailing which ArcGIS products and which service packs have been installed. The PatchFinder utility searches for the following ArcGIS products.

      ArcGIS Engine Developer Kit for C++
      ArcGIS Engine Developer Kit for the Java Platform
      ArcGIS Engine Runtime
      ArcGIS Server for the Java Platform
      ArcIMS
      ArcIMS Web ADF for the Java Platform
      ArcInfo Workstation
      ArcReader
      ArcSDE

    Extract the tar file by typing:

    % tar xvf PatchFinder.tar

    Run the utility by typing:

    % ./PatchFinder

Installation Steps:

During installation, you can either save the original 9.2 files or overwrite them. If you choose to save them, make sure you have enough disk space. The disk space requirements, for each platform, are displayed during the installation process.

  1. Download the appropriate tar file to a location other than $SDEHOME:
  2.    
    Oracle 9i  
    HP-UX 64 sde92-spatialview-ora9i-hp64.tar
    7 MB
    IBM64 sde92-spatialview-ora9i-ibm64.tar
    6 MB
    Linux sde92-spatialview-ora9i-lx.tar
    5 MB
    Solaris64 sde92-spatialview-ora9i-slrs64.tar
    7 MB
    Tru64 (See important note)
    8 MB
       
    Oracle 10gR2  
    HP-UX 64 sde92-spatialview-ora10g-hp64.tar
    7 MB
    IBM64 sde92-spatialview-ora10g-ibm64.tar
    6 MB
    Linux sde92-spatialview-ora10g-lx.tar
    5 MB
    Solaris64 sde92-spatialview-ora10g-slrs64.tar
    7 MB
    Tru64 (See important note)
    8 MB

    Note: This patch has been superceded by the ArcSDE 9.2 Service Pack 6 Compress with Concurrent Editors Patch. It addresses all the issues from this Patch as well as the newer issues addressed in the ArcSDE 9.2 Service Pack 6 Compress with Concurrent Editors Patch.

  3. Stop your current ArcSDE service.
  4. % sdemon -o shutdown

    NOTE (AIX only): You must remove any inactive libraries that are loaded into memory before proceeding to the next step. Not doing so will result in an installation error. To remove them, as ROOT user, type:

    # /usr/sbin/slibclean

    (Optional) To list the libraries loaded into memory, as ROOT user, type:

    # /usr/sbin/genkld

    For further information on the slibclean and genkld commands please refer to your AIX system administrator documentation.

  5. Extract the specified tar file by typing:
  6. % tar -xvf sde92-spatialview-<Database>-<Platform>.tar

  7. Start the installation by typing:
  8. % ./applypatch

    This will start the dialog for the menu-driven installation procedure. Default selections are noted in parentheses ( ). To quit the installation procedure, type 'q' at any time.

  9. (Oracle only) Before upgrading your Oracle instance, you must grant the following additional permissions to the SDE user in Oracle:

    • ALTER ANY INDEX
      ALTER ANY TABLE
      ANALYZE ANY
      CREATE ANY INDEX
      CREATE ANY PROCEDURE
      CREATE ANY SEQUENCE
      CREATE ANY TRIGGER
      CREATE ANY VIEW
      CREATE INDEXTYPE
      CREATE LIBRARY
      CREATE OPERATOR
      CREATE PROCEDURE
      CREATE PUBLIC SYNONYM
      CREATE SESSION
      CREATE SEQUENCE
      CREATE TABLE
      CREATE TRIGGER
      CREATE TYPE
      DROP ANY INDEX
      DROP ANY PROCEDURE
      DROP ANY SEQUENCE
      DROP ANY TABLE
      DROP ANY VIEW
      DROP PUBLIC SYNONYM
      EXECUTE ANY PROCEDURE
      SELECT ANY SEQUENCE
      SELECT ANY TABLE
      UNLIMITED TABLESPACE
  10. To upgrade, run sdesetup. Failure to do so may cause problems in starting the service or with connecting to the service. Please go to the admin command guide under the %SDEHOME%\documentation folder for more information on using this command:
  11. %sdesetup -o upgrade -d <ORACLE9I|ORACLE10G|SQLSERVER|DB2|INFORMIX> –u <DB_Admin_User> –p <DB_Admin_password>

    (Oracle only) After the upgrade completes, you may revoke the following permissions from the SDE user account:
      ANALYZE ANY
      ALTER ANY INDEX
      ALTER ANY TABLE
      CREATE ANY INDEX
      CREATE ANY TRIGGER
      CREATE ANY VIEW
      DROP ANY INDEX
      DROP ANY TABLE
      DROP ANY VIEW
      DROP ANY PROCEDURE
      DROP ANY SEQUENCE
      EXECUTE ANY PROCEDURE
      SELECT ANY SEQUENCE
      CREATE INDEXTYPE
      CREATE LIBRARY
      CREATE OPERATOR
      CREATE TYPE
  12. Start your service again.
  13. % sdemon -o start

  14. Only for users who have Oracle and ArcSDE installed on separate machines.
  15. If you are installing ArcSDE on a different server than Oracle, you must copy the shared libraries used by EXTPROC to the Oracle server. These libraries include st_shapelib plus the Geometry library and the Projection Engine library. (The names of these files vary depending on what operating system (OS) you are using.) Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. For example, if ArcSDE is installed on a Linux machine, but Oracle is installed on a Solaris machine, the library files you copy to the Oracle server must be for Solaris. To get the files for different operating system, you can install the software files of the ArcSDE component on the Oracle server, creating the SDEHOME files, and delete everything but the three required library files.

    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll, libst_shapelib.so (.sl for HP, _64.so for IBM64)
    Projection Engine pe.dll, libpe.so (.sl for HP, _64.so for IBM64)
    Geometry sg.dll, libsg.so (.sl for HP, _64.so for IBM64)

    These files can be found in the bin (Windows) or lib (UNIX/Linux) directory of SDEHOME after you've installed the ArcSDE component. You can copy these files to the %ORACLE_HOME%\lib (Windows) or $ORACLE_HOME/lib (UNIX/Linux) directory on the Oracle server, which is the default location that Oracle looks in for shared libraries. Or, you can leave these files where they were installed or move them into any directory that is accessible to the user that owns ORACLE_HOME.

  16. If you have more than one ArcSDE service, perform steps 1 through 8 for each of your ArcSDE services.

Server Install for Windows

    Windows Installation Notes:

      It is important to keep all versions of ArcGIS products installed on the same machine in sync to avoid any software conflicts.

      To find out what products are currently installed on your machine, download the ServicePackFinder92.exe utility and run it from your local machine. This utility provides a report detailing which ArcGIS products are currently installed on your machine. This will help determine which product Service Packs you should install on your machine. The report also details which service packs have been installed. The report is displayed when the utility is run and a servicepack.txt log file is created in your temp folder. The Service Pack Finder utility searches for the following ArcGIS products.

        ArcGIS ArcReader
        ArcGIS Desktop (ArcView, ArcEditor, ArcInfo) Includes the ArcReader fixes for the ArcReader FEATURE.
        ArcGIS Desktop Developer Kit for the Microsoft .NET Framework, VB6, VBA and Visual C++
        ArcGIS Engine Developer Kit for C++, the Java Platform, the Microsoft .NET Framework, VB6 and Visual C++
        ArcGIS Engine Runtime
        ArcGIS Server for the Microsoft .NET Framework
        ArcGIS Server for the Java Platform
        ArcGIS Server Web ADF Runtime for the Microsoft .NET Framework
        ArcIMS
        ArcIMS Web ADF for the Microsoft .NET Framework
        ArcIMS Web ADF for the Java Platform
        ArcSDE

      NOTE (ArcIMS and ArcGIS Desktop users): If you use ArcIMS 9.2 or ArcGIS Desktop 9.2, you must also install ArcIMS 9.2 Service Pack 5 or ArcGIS 9.2 Service Pack 5 . For example, if you use ArcIMS 9.2 and ArcSDE 9.2, install both ArcIMS 9.2 Service Pack 5 and ArcSDE 9.2 Service Pack 5. Since ArcIMS 9.2, ArcSDE 9.2 and the ArcGIS 9.2 products share common DLLs, it is important to keep the software release versions in sync to avoid any software conflicts.

Installation Steps

  1. Make sure you have write access to the ArcSDE installation folder, that no one is using ArcSDE, and that the ArcSDE service is down.

    NOTE: If you do not shut down the ArcSDE service before installing this Service Pack, you will be prompted and required to reboot your server machine in order to successfully complete the Service Pack installation.

  2. Download the appropriate files to a location other than the ArcSDE installation folder:
  3. Oracle 9i  
    sde92-spatialview-ora9i-win.exe 2 MB
    Oracle 10gR2  
    sde92-spatialview-ora10g-win.exe 2 MB

  4. Double-click sde92-spatialview-<Database>-win.exe to start the install process.

  5. When Setup starts, follow the instructions on your screen.

  6. (Oracle only) Before upgrading your Oracle instance, you must grant the following additional permissions to the SDE user in Oracle:
    • ALTER ANY INDEX
      ALTER ANY TABLE
      ANALYZE ANY
      CREATE ANY INDEX
      CREATE ANY PROCEDURE
      CREATE ANY SEQUENCE
      CREATE ANY TRIGGER
      CREATE ANY VIEW
      CREATE INDEXTYPE
      CREATE LIBRARY
      CREATE OPERATOR
      CREATE PROCEDURE
      CREATE PUBLIC SYNONYM
      CREATE SESSION
      CREATE SEQUENCE
      CREATE TABLE
      CREATE TRIGGER
      CREATE TYPE
      DROP ANY INDEX
      DROP ANY PROCEDURE
      DROP ANY SEQUENCE
      DROP ANY TABLE
      DROP ANY VIEW
      DROP PUBLIC SYNONYM
      EXECUTE ANY PROCEDURE
      SELECT ANY SEQUENCE
      SELECT ANY TABLE
      UNLIMITED TABLESPACE
  7. To upgrade, run sdesetup. Failure to do so may cause problems in starting the service or with connecting to the service. Please go to the admin command guide under the %SDEHOME%\documentation folder for more information on using this command:
  8. c:\ sdesetup -o upgrade -d <ORACLE9I|ORACLE10G|SQLSERVER|DB2|INFORMIX> –u <DB_Admin_User> –p <DB_Admin_password>
  9. (Oracle only) After the upgrade completes, you may revoke the following permissions from the SDE user account:
      ANALYZE ANY
      ALTER ANY INDEX
      ALTER ANY TABLE
      CREATE ANY INDEX
      CREATE ANY TRIGGER
      CREATE ANY VIEW
      DROP ANY INDEX
      DROP ANY TABLE
      DROP ANY VIEW
      DROP ANY PROCEDURE
      DROP ANY SEQUENCE
      EXECUTE ANY PROCEDURE
      SELECT ANY SEQUENCE
      CREATE INDEXTYPE
      CREATE LIBRARY
      CREATE OPERATOR
      CREATE TYPE
  10. As the SDE user, run the following command to restart the ArcSDE service:
    c:\sdemon -o start
  11. Only for users who have Oracle and ArcSDE installed on separate machines.
  12. If you are installing ArcSDE on a different server than Oracle, you must copy the shared libraries used by EXTPROC to the Oracle server. These libraries include st_shapelib plus the Geometry library and the Projection Engine library. (The names of these files vary depending on what operating system (OS) you are using.) Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. For example, if ArcSDE is installed on a Windows machine, but Oracle is installed on a Solaris machine, the library files you copy to the Oracle server must be for Solaris. To get the files for different operating system, you can install the software files of the ArcSDE component on the Oracle server, creating the SDEHOME files, and delete everything but the three required library files.

    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll, libst_shapelib.so (.sl for HP, _64.so for IBM64)
    Projection Engine pe.dll, libpe.so (.sl for HP, _64.so for IBM64)
    Geometry sg.dll, libsg.so (.sl for HP, _64.so for IBM64)

    These files can be found in the bin (Windows) or lib (UNIX/Linux) directory of SDEHOME after you've installed the ArcSDE component. You can copy these files to the %ORACLE_HOME%\lib (Windows) or $ORACLE_HOME/lib (UNIX/Linux) directory on the Oracle server, which is the default location that Oracle looks in for shared libraries. Or, you can leave these files where they were installed or move them into any directory that is accessible to the user that owns ORACLE_HOME.

  13. If you have more than one ArcSDE service, perform steps 2 through 9 for each of your ArcSDE services.

ArcSDE SDK Install for UNIX

Installation Steps

  1. Download the appropriate tar file to a location other than ArcSDE SDK installation location:
  2. Oracle (32 bit Operating System)  
    Linux sde92-spatialview-sdk-lx.tar
    2 MB
       
    Oracle (64 bit Operating System)  
    HP64 sde92-spatialview-sdk-hp64.tar
    4 MB
    IBM64 sde92-spatialview-sdk-ibm64.tar
    4 MB
    Solaris64 sde92-spatialview-sdk-slrs64.tar
    4 MB
    Tru64 sde92-spatialview-sdk-tru64.tar (coming soon)
    5 MB

  3. Extract the specified tar file by typing:
  4. % tar -xvf sde92-spatialview-sdk-<Platform>.tar
  5. Start the installation by typing:
  6. % ./applypatch

    This will start the dialog for the menu-driven installation procedure. Default selections are noted in parentheses ( ). To quit the installation procedure, type 'q' at any time.

ArcSDE SDK Install for Windows

Installation Steps

  1. Make sure you have write access to the ArcSDE SDK installation folder.
  2. Download the appropriate files to a location other than the ArcSDE SDK installation folder:
  3. ArcSDE SDK sde92-spatialview-sdk-win.exe 4 MB
  4. Double-click the appropriate executable to start the install process.
  5. When Setup starts, follow the instructions on your screen.

ESRI Products connecting to ArcSDE (Application and Direct Connect connections)

    UNIX

    1. If you connect to ArcSDE 9.2 using any ArcGIS 9.2 client, for example ArcGIS 9.2, ArcIMS 9.2 or ArcInfo Workstation 9.2, please follow the steps below to install this Patch to your client library folder:

      • Before you start, make sure you have write access to the installation directory then download the appropriate compressed tar file to that location:

        Linux sde92-spatialview-esri-lx.tar.gz
        2 MB
        Tru64 sde92-spatialview-esri-tru64.tar.gz (coming soon)
        3 MB

      • Gunzip and extract the specified tar file for your platform. Ensure that the last letters of the file name are ".gz". Otherwise, the gunzip command will not work. At the UNIX prompt type:
        % cd <Workstation Installation Directory>/lib (i.e. cd $ARCHOME)
        % gunzip sde92-spatialview-esri-<Platform>.tar.gz
        % tar xvf sde92-spatialview-esri-<Platform>.tar

    Windows

    1. If you connect to ArcSDE 9.2 using any ArcGIS 9.2 client, for example ArcIMS 9.2 or ArcInfo Workstation 9.2, please follow the steps below to install this Patch to your ArcGIS 9.2 client library folder:

      • Before you start, make sure you have write access to the installation folder, then download the zip file to that location:

        sde92-spatialview-esri-win.zip 2 MB

      • ArcIMS only, stop the ArcIMS Tasker, ArcIMS Monitor, ArcIMS Application Server (in that order).
      • Use WinZip to extract the new files from sde92-spatialview-esri-win.zip to the appropriate installation folder, see list below:

          ArcGIS Desktop, Server, Engine, Reader, or ArcView 9 - <installation-folder>\arcgis\bin
          ArcGIS Workstation - <installation-folder>\arcexe9x\bin
      • Depending on the ArcIMS Setup features installed, the SDE client file could be located in one or more of the following locations:

        • C:\Program Files\ArcGIS\bin
          C:\Program Files\ArcGIS\ArcIMS\IndexBuilder
          C:\Program Files\ArcGIS\ArcIMS\Metadata\Commands
          C:\Program Files\ArcGIS\ArcIMS\Server\bin
      • ArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).

How to identify which Patch is installed

    UNIX

    To find out what ArcGIS products are currently installed on your machine, download and extract the PatchFinder.tar and run PatchFinder utility from your local machine. This utility provides a report detailing which ArcGIS products and which service packs have been installed. The PatchFinder utility searches for the following ArcGIS products.

      ArcGIS Engine Developer Kit for C++
      ArcGIS Engine Developer Kit for the Java Platform
      ArcGIS Engine Runtime
      ArcGIS Server for the Java Platform
      ArcIMS
      ArcIMS Web ADF for the Java Platform
      ArcInfo Workstation
      ArcReader
      ArcSDE

    Extract the tar file by typing:

    % tar xvf PatchFinder.tar

    Run the utility by typing:

    % ./PatchFinder

    Windows

    To find out what ArcGIS products are currently installed on your machine, download the ServicePackFinder92.exe utility and run it from your local machine. This utility provides a report detailing which ArcGIS products and which service packs have been installed. The report is displayed when the utility is run and a servicepack.txt log file is created in your temp folder. The Service Pack Finder utility searches for the following ArcGIS products.

      ArcGIS ArcReader
      ArcGIS Desktop (ArcView, ArcEditor, ArcInfo) Includes the ArcReader fixes for the ArcReader FEATURE.
      ArcGIS Desktop Developer Kit for the Microsoft .NET Framework, VB6, VBA and Visual C++
      ArcGIS Engine Developer Kit for C++, the Java Platform, the Microsoft .NET Framework, VB6 and Visual C++
      ArcGIS Engine Runtime
      ArcGIS Server for the Microsoft .NET Framework
      ArcGIS Server for the Java Platform
      ArcGIS Server Web ADF Runtime for the Microsoft .NET Framework
      ArcIMS
      ArcIMS Web ADF for the Microsoft .NET Framework
      ArcIMS Web ADF for the Java Platform
      ArcSDE

Patch Updates

Check the Online Support Center periodically for the availability of additional Patches or Service Packs. New information about this Patch will be posted here.

Update May 14, 2008: Client installation instructions updated for all clients.

Getting help

Domestic sites, please contact ESRI Technical Support at 1-888-377-4575, if you have any difficulty installing this Service Pack. International sites, please contact your local ESRI software distributor.