Line: 1 to 1 | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
APPX 5 connectivity to Oracle on LinuxHow to configure APPX 5 to store data inside Oracle on Linux. | |||||||||||||||||||||||||||
Line: 75 to 75 | |||||||||||||||||||||||||||
We can configure APPX now that we know that we can connect to Oracle using the Instant Client library files via the special Instant Client version of SQL*Plus (you did perform that test right?). In order for APPX to successfully connect to Oracle via the Oracle Instant Client, it must have visibility of certain environment variables prior to the start of APPX. Setting these environment variables in the commonly used appx.env file will not work. Setting them in the shell would work for command line APPX sessions. You should consider setting them inside the service environment variable file so that all connections to APPX via TCP (even the text based ones via appx -c) will be able to connect to Oracle via the Oracle Instant Client.
Configuration | |||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||
< < | Since these environment variables needed to enable APPX to make use of the Oracle Instant Cleint need to be present prior to the start of APPX, I've decided to place them in the APPX Login Manager environment variable file. | ||||||||||||||||||||||||||
> > | Since the environment variables needed to enable APPX make use of the Oracle Instant Client must be present prior to the start of APPX, I've decided to place them in the APPX Login Manager environment variable file. | ||||||||||||||||||||||||||
Environment variablesI'm going to set two environment variables, the first is for the OS (LD_LIBRARY_PATH) and the second is for APPX (APPX_OCI_LIB). These will be placed inside my APPX Login Manager environment variable file /usr/local/appx/services/appx-8060.env). | |||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||
> > | [appx@appx502 services]$ pwd /usr/local/appx/services [appx@ocportal services]$ [appx@ocportal services]$ cat appx-8060.env # Appx connection manager environment variables # # The entries in this file will become # environment variables in the engines # spawned by this service # # blank lines are ignored # # anything following a '#' is treated as a comment # # letter case IS important in this file # -------------------------------------------------- APPX_KEYMAP = Windows APPXPATH = /usr/local/appx/data LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib/ # APPX_SQL_CMD=/usr/local/appx/appx_sql_cmd.txt # APPX_DBG_CODE=0xFFFFFFF # APPX_OCI_DIR=/usr/lib/oracle/10.2.0.4/client/lib/ APPX_OCI_LIB=libclntsh.so.10.1 [appx@appx502 services]$The two environment varialbes needed for for the Oracle connection are LD_LIBRARY_PATH and APPX_OCI_LIB. | ||||||||||||||||||||||||||
FMS settings-- JoeOrtagus - 2010-07-07 | |||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||
> > |
|