Bug: Unable to set up Direct Connect for Oracle with ArcGIS Server on Solaris or Linux
When using Direct Connect on Solaris or Linux, ArcGIS Server does not connect successfully.
ArcGIS Server 9.2 is unable to direct connect to Oracle on Solaris. This is a limitation of 32-bit library availability on Solaris. This Article is for 9.1 and 9.0.1 versions.
This is a known issue in the ArcGIS Server installation; it applies the wrong name to a file that contains the direct connect resources.
Use the following procedure to work around this issue. Apply the normal procedure to enable direct connect between the ArcGIS Server Container and the database first.
- Set the following variables in the <ArcGIS Server>/bin/arcsoc.init file just before the exec $* statement:
SDEHOME=<ArcGIS Directory>;export SDEHOME
ORACLE_HOME=<Oracle Client Directory Location>;export ORACLE_HOME
With ArcGIS installed to: /rapid1/ags91/arcgis and Oracle Client located in: rapid1/ora92/app/oracle/product/9.2.0 the settings would be:
Optionally, if the tnsnames.ora file is not in the default location, it may be specified with the additional variable:
Default location below the client install shown above.
- Create a link named 'lib' that points to the ArcGIS Server /bin directory by running the following command in the ArcGIS Server directory:
ln -s ./bin lib
- Verify that the link was created successfully by running the following command:
ls -al lib
The output should look similar to the following:
lrwxrwxrwx 1 root other 5 Sep 23 22:45 lib -> ./bin
- Restart ArcGIS Server and MainWin
Last Published : 5/5/2016
Article ID: 000008134
Software: ArcGIS Image Server 9.3.1, 9.3, 9.2