Apex 11g Configuration Guide
Apex 11g Configuration Guide
2. Disable the Oracle XMLDB HTTP server by setting the HTTP port to 0 EXEC DBMS_XDB.SETHTTPPORT(0);
8. Change the Password for the ADMIN Account @apxchpwd 9. Restart Processes Restart the processes that you stopped before you began the installation, such as a listener and other processes. In addition, restart Oracle HTTP Server. [oracle@srtestrn1 ~]$ export ORACLE_HTTPSERVER_HOME=/home/oracle [oracle@srtestrn1 ~]$ cp -rf $ORACLE_HOME/apex/images $ORACLE_HTTPSERVER_HOME/ohs [oracle@srtestrn1 ~]$ /u01/app/oracle/product/agent11g/opmn/bin/opmnctl stopproc iascomponent=HTTP_Server /u01/app/oracle/product/agent11g/opmn/bin/opmn: error while loading shared libraries: libcxa.so.3: cannot open shared object file: No such file or directory opmnctl: opmn is not running.
10. Configure APEX_PUBLIC_USER Account DB vault Account Manager: ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK; 11. Changing the Password for the APEX_PUBLIC_USER Account ALTER USER APEX_PUBLIC_USER IDENTIFIED BY *******; 12. Check for the HTTP server port SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; If not set, set the port: EXEC DBMS_XDB.SETHTTPPORT(8080);
To prevent this behavior, create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it the new profile.
Enable Network Services in Oracle Database 11g
By default, the ability to interact with network services is disabled in Oracle Database 11g release 1 or 2. Therefore, if you are running Oracle Application Express with Oracle Database 11g release 1 or 2, you must use the new DBMS_NETWORK_ACL_ADMIN package to grant connect privileges to any host for the APEX_040100 database user. Failing to grant these privileges results in issues with:
Sending outbound mail in Oracle Application Express. Users can call methods from the APEX_MAIL package, but issues arise when sending outbound email. Using Web services in Oracle Application Express. PDF/report printing.
Security Considerations Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in HTTP requests. Without the use of SSL, passwords could potentially be exposed, compromising security. About Managing JOB_QUEUE_PROCESSES
Enable Indexing of Online Help in Oracle Database 11gR2 and Higher The ability to search Oracle Application Express online Help is accomplished through Oracle Text and a URL datastore. There is a change in the default behavior and permissions to use an Oracle Text URL datastore in database 11gR2 and higher. If users attempt to search Oracle Application Express online Help in Oracle database 11gR2 and encounter the following error, then the permission to use an Oracle Text URL datastore has not been granted to database user APEX_030200.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10758: index owner does not have the privilege to use file or URL datastore
1. Run the following command using sqlplus sysdba login:
4. CREATE ROLE APEX_URL_DATASTORE_ROLE; 5. Grant this role to the database user APEX_030200 with the following statement: 6. GRANT APEX_URL_DATASTORE_ROLE to APEX_030200;
If step 2 returned a value, use this database role name instead of the example APEX_URL_DATASTORE_ROLE. 7. Lastly, if step 2 did not return a value, then use the Oracle Text API to grant permission to the newly created database role with the following statement:
SQL> GRANT APEX_URL_DATASTORE_ROLE to APEX_030200; Grant succeeded. SQL> EXEC ctxsys.ctx_adm.set_parameter(file_access_role, APEX_URL_DATASTORE_ROLE); PL/SQL procedure successfully completed. Make sure you have copied the images file at its appropriate directory location
ORACLE HTTP SERVER HOME In our case is /u01/app/oracle/product/11.1.0/agent11g [oracle@srocrcn1 ohs]$ cp -rf /u01/app/oracle/product/11.2.0/dbhome_2/apex/images /home/oracle/ohs/images [oracle@srocrcn1 agent11g]$ cp -rf /u01/app/oracle/product/11.2.0/dbhome_2/apex/images /u01/app/oracle/product/11.1.0/agent11g/Apache/ [root@srocrcn1 bin]# /u01/app/oracle/product/11.1.0/agent11g/opmn/bin/opmnctl startproc ias-component=HTTP_Server Error: /u01/app/oracle/product/11.1.0/agent11g/opmn/bin/opmn: error while loading shared libraries: libcxa.so.3: cannot open shared object file: No such file or directory opmnctl: opmn is not running. [root@srocrcn1 bin]# /u01/app/oracle/product/11.1.0/agent11g/opmn/bin/opmnctl start opm Error: /u01/app/oracle/product/11.1.0/agent11g/opmn/bin/opmn: error while loading shared libraries: libcxa.so.3: cannot open shared object file: No such file or directory opmnctl: opmn start failed.
2. http://srtestrn1:8080/apex