Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
APPX 5 connectivity to Oracle on LinuxHow to configure APPX 5 to store data inside Oracle on Linux. | ||||||||
Line: 13 to 13 | ||||||||
APPX requires a 32 bit Oracle interface for all Oracle connections. Even if your OS is 64 bit, even if your Oracle is 64 bit, APPX requires you to connect to Oracle via the 32 bit version of the Oracle Instant Client. You can download the 32 bit version of Oracle Instant Client here. On my test server here I have APPX installed on Red Hat Enterprise 5 64 bit OS. Oracle is installed on a secondary server - Red Hat Enterprise 4 32 bit. The connection from APPX to Oracle should work fine to Oracle 10.2.0.4 and above (including 11). I downloaded the 32 bit version of Oracle's Instant Client 10.2.0.4, selecting two file bundles, Instant Client Package - Basic and Instant Client Package - SQL*Plus. I chose the rpm, but the zip packages work just as well. The rpms deposited the Oracle Instant client files as shown below:
Installing | ||||||||
Changed: | ||||||||
< < | [root@appx502 10.2.0.4-32bit]# <strong>rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm</strong> | |||||||
> > | [root@appx502 10.2.0.4-32bit]# rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm | |||||||
Preparing... ########################################### [100%]
| ||||||||
Changed: | ||||||||
< < | [root@appx502 10.2.0.4-32bit]# rpm -qlp oracle-instantclient-basic-10.2.0.4-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm | |||||||
> > | [root@appx502 10.2.0.4-32bit]# rpm -qlp oracle-instantclient-basic-10.2.0.4-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm | |||||||
/usr/lib/oracle/10.2.0.4/client/bin/genezi /usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so.10.1 /usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so | ||||||||
Line: 42 to 42 | ||||||||
[root@appx502l ~]# | ||||||||
Changed: | ||||||||
< < | [root@appx502l ~]# /usr/lib/oracle/10.2.0.4/client/bin/sqlplus larry/yacht@10.50.0.6:1521/oracle10 | |||||||
> > | [root@appx502l ~]# /usr/lib/oracle/10.2.0.4/client/bin/sqlplus larry/yacht@10.50.0.6:1521/oracle10 | |||||||
/usr/lib/oracle/10.2.0.4/client/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory [root@appx502 ~]# | ||||||||
Changed: | ||||||||
< < | [root@appx502 ~]# export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib | |||||||
> > | [root@appx502 ~]# export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib | |||||||
[root@appx502 ~]# | ||||||||
Changed: | ||||||||
< < | [root@appx502 ~]# /usr/lib/oracle/10.2.0.4/client/bin/sqlplus larry/yacht@10.50.0.6:1521/oracle10 | |||||||
> > | [root@appx502 ~]# /usr/lib/oracle/10.2.0.4/client/bin/sqlplus larry/yacht@10.50.0.6:1521/oracle10 | |||||||
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jul 8 13:06:38 2010 | ||||||||
Line: 58 to 58 | ||||||||
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options | ||||||||
Changed: | ||||||||
< < | SQL> quit | |||||||
> > | SQL> quit | |||||||
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options [root@appx502 ~]# |