Oracle® Application Express Installation Guide Release 4.2 Part Number E35123-05
Home Book Contents Index Master List Index Us PDF · Mobi · ePub
Previous
Up
Next
3 ing from Oracle Technology Network This chapter describes how to install Oracle Application Express by ing a ZIP file from Oracle Technology Network (OTN) and completing the appropriate post installation tasks. The instructions in this chapter apply to both new and upgrade installations. To learn more, see "Upgrading from a Previous Release of Oracle Application Express". Topics: Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Application Express Listener ing from OTN and Configuring the Embedded PL/SQL Gateway ing from OTN and Configuring Oracle HTTP Server Post Installation Tasks for Upgrade Installations Performance Optimization Tasks About the Oracle Application Express Runtime Environment
Note: Within the context of this document, the Apache Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed.
3.1 Recommended Pre-installation Tasks Before installing Oracle Application Express, Oracle recommends that you complete the following steps: 1. Review and satisfy all Oracle Application Express installation requirements. See "Oracle Application Express Installation Requirements". 2. Shut down with normal or immediate priority the Oracle Database instances where you plan to install Oracle Application Express. On Oracle Real Application Clusters (Oracle RAC) systems, shut down all instances on each node. An alternative to shutting down the database is to prevent all s from accessing Oracle Application Express when upgrading your installation from a previous release of Oracle Application Express. Oracle only recommends this option in high availability production environments where planned outages are not available. For all other scenarios, the database should be shut down. To disable access to Oracle Application Express when the existing installation is using the Application Express Listener, shut down the appropriate application server where the Application Express listener is deployed. To disable access to Oracle Application Express when the existing installation is using the Oracle HTTP Server with mod_plsql, you should either shut down the Web server or disable the Application Express Database Access Descriptor of the Web server. For an existing installation using the embedded PL/SQL gateway, you should disable the Oracle XML DB Protocol Server by setting the HTTP port to 0. This can be accomplished by starting SQL*Plus, connecting as SYS to the database where Oracle Application Express is installed, and running: EXEC DBMS_XDB.SETHTTPPORT(0);
Hide Navigation
Once you have prevented access from Oracle Application Express s, you should to SQL*Plus as SYS, connecting to the database where Oracle Application Express is installed, and query V$SESSION to ensure there are no long running sessions which would interfere with the
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
upgrade process. 3. Back up the Oracle Database installation. Oracle recommends that you create a backup of the current Oracle Database installation before you install Oracle Application Express. You can use Oracle Database Recovery Manager, which is included in the Oracle Database installation, to perform the backup.
This Page See Also: Recommended Oracle Database Backup and Recovery 's Guide Pre-installation Tasks Choosing a Web Listener ing from OTN and 4. Start the Oracle Database instance that contains the target database. Configuring Oracle Application Express Listener After backing up the system, you must start the Oracle instance that contains the target Oracle Install the Oracle database. Do not start other processes such as a Web Listener. However, if you are performing Database and Complete Pre-installation Tasks a remote installation, make sure the database listener for the remote database has started. and Install Oracle Application 3.2 Choosing a Web Listener Express Change the for In order to receive and respond to requests over the Internet, Oracle Application Express uses one of the Restart Processes the following three web listeners, Oracle Application Express Listener, Oracle HTTP Server with Configure mod_plsql,or the embedded PL/SQL gateway. APEX_PUBLIC_ For further information on selecting the best web listener, please review the Oracle Application Express Unlocking the Deployment page on Oracle Technology Network (OTN): APEX_PUBLIC_ Changing the http://www.oracle.com/technetwork/developer-tools/apex/application-express/apexdeploy-installation-1878444.html#listener for the APEX_PUBLIC_ 3.3 ing from OTN and Configuring Oracle and Install Oracle Application Application Express Listener Express Listener Disabling Oracle XML This section describes how to install Oracle Application Express by ing a ZIP file from OTN DB Protocol Server and then configuring the Oracle Application Express Listener. Configure RESTful Services Topics: Enable Network Services in Oracle Database 11g Install the Oracle Database and Complete Pre-installation Tasks Granting Connect and Install Oracle Application Express Privileges Troubleshooting an Change the for the Invalid ACL Error Restart Processes Security Considerations Configure APEX_PUBLIC_ About Managing and Install Oracle Application Express Listener JOB_QUEUE_PROCESSES Configure RESTful Services Viewing the Number of JOB_QUEUE_PROCESSES Enable Network Services in Oracle Database 11g Changing the Number Security Considerations of About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages About Developing Oracle Application Express in Create a Workspace and Add Oracle Application Express s Other Languages Installing a Translated Version of Oracle See Also: Application Express "About the Oracle Application Express Runtime Environment" Create a Workspace and Add Oracle Application Express s Creating a Workspace 3.3.1 Install the Oracle Database and Complete Pre-installation Manually Tasks Creating Oracle Application Express Oracle Application Express requires an Oracle database that is Release 10.2.0.4 and later or Oracle s Logging in to Your
Hide Navigation
Database 10g Express Edition. To learn more, see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks".
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security This Page Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Application Express Listener Install the Oracle Database and Complete Pre-installation Tasks and Install Oracle Application Express Change the for the Restart Processes Configure APEX_PUBLIC_ Unlocking the APEX_PUBLIC_ Changing the for the APEX_PUBLIC_ and Install Oracle Application Express Listener Disabling Oracle XML DB Protocol Server Configure RESTful Services Enable Network Services in Oracle Database 11g Granting Connect Privileges Troubleshooting an Invalid ACL Error Security Considerations About Managing JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
3.3.2 and Install Oracle Application Express To install Oracle Application Express: 1. For installations where the development will be in English only, the file apex_4.2_en.zip from the Oracle Application Express page. Where the development
will include languages other than English, apex_4.2.zip from the Oracle Application Express page. See: http://www.oracle.com/technetwork/developer-tools/apex/s/index.html
Note that the actual file name may differ if a more recent release has shipped since this document was published. 2. Unzip ed zip file: If English only, unzip apex_4.2_en.zip as follows, preserving directory names: UNIX and Linux: $ unzip apex_4.2_en.zip Windows: Double click the file apex_4.2_en.zip in Windows Explorer If multiple languages, unzip apex_4.2.zip as follows, preserving directory names: UNIX and Linux: $ unzip apex_4.2.zip Windows: Double click the file apex_4.2.zip in Windows Explorer
Note: You should keep the directory tree where you unzip the files short and not under directories that contain spaces. For example, within Windows unzip to C:\TEMP.
3. Change your working directory to apex. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
5. Select the appropriate installation option. Full development environment provides complete access to the Application Builder environment to develop applications. A Runtime environment enables s to run applications that cannot be modified. To learn more, see "About the Oracle Application Express Runtime Environment". Available installation options include: Full development environment. Run apexins.sql ing the following four arguments in the order shown: @apexins.sql tablespace_apex tablespace_files tablespace_temp images
Hide Navigation
Where: tablespace_apex is the name of the tablespace for the Oracle Application Express
This Book
Entire Library
application .
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
tablespace_files is the name of the tablespace for the Oracle Application Express
Main Categories Security
images is the virtual directory for Oracle Application Express images. To
files . tablespace_temp is the name of the temporary tablespace or tablespace group.
future Oracle Application Express upgrades, define the virtual image directory as
/i/. This Page Recommended Pre-installation Tasks Example: Choosing a Web Listener ing from OTN and @apexins.sql SYSAUX SYSAUX TEMP /i/ Configuring Oracle Application Express Listener Install the Oracle Note: Database and Complete If you receive the following error, please exit SQL*Plus and change Pre-installation Tasks your working directory to where you unzipped the installation file, for and Install Oracle Application example C:\TEMP in Windows, before starting SQL*Plus: Express Change the for SP2-0310: unable to open file "apexins.sql" the Restart Processes Configure APEX_PUBLIC_ Runtime environment. Run apxrtins.sql ing the following arguments in the order shown: Unlocking the APEX_PUBLIC_ @apxrtins.sql tablespace_apex tablespace_files tablespace_temp images Changing the Where: for the APEX_PUBLIC_ tablespace_apex is the name of the tablespace for the Oracle Application Express and Install application . Oracle Application Express Listener tablespace_files is the name of the tablespace for the Oracle Application Express Disabling Oracle XML files . DB Protocol Server Configure RESTful tablespace_temp is the name of the temporary tablespace or tablespace group. Services Enable Network Services images is the virtual directory for Oracle Application Express images. To in Oracle Database 11g Granting Connect future Oracle Application Express upgrades, define the virtual image directory as Privileges /i/. Troubleshooting an Invalid ACL Error Example: Security Considerations About Managing @apxrtins.sql SYSAUX SYSAUX TEMP /i/ JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES See Also: Changing the Number of Oracle Database PL/SQL Language Reference for more information about JOB_QUEUE_PROCESSES SQL*Plus About Developing Oracle Application Express in Other Languages When Oracle Application Express installs, it creates three new database s: Installing a Translated Version of Oracle APEX_040200 - The that owns the Oracle Application Express schema and metadata. Application Express Create a Workspace and FLOWS_FILES - The that owns the Oracle Application Express ed files. Add Oracle Application Express s APEX_PUBLIC_ - The minimally privileged is used for Oracle Application Express Creating a Workspace
Manually Creating Oracle Application Express s Logging in to Your
configuration with Oracle Application Express Listener or Oracle HTTP Server and mod_plsql. If you configured RESTful Web services, then these additional s will be created:
Hide Navigation
APEX_REST_PUBLIC_ - The used when invoking RESTful Services definitions stored
in Oracle Application Express. This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
APEX_LISTENER - The used to query RESTful Services definitions stored in Oracle
Application Express. If you are upgrading from a previous release, then FLOWS_FILES already exists and APEX_PUBLIC_ is created if it does not already exist.
Tip: Oracle Application Express must be installed from a writable directory on the file
This Page system. See "Reviewing a Log of an Installation Session". Recommended Pre-installation Tasks Choosing a Web Listener 3.3.3 Change the for the ing from OTN and Configuring Oracle Application Express Listener In a new installation of Oracle Application Express, or if you are converting a runtime environment to a Install the Oracle development environment, you must change the of the . In an upgrade Database and Complete scenario, the will be preserved and carried over from the prior release. If you are unsure of Pre-installation Tasks the for the in an existing installation you can run the commands below to and Install Oracle Application reset the . Express Change the for the Tip: Restart Processes You use the to to Oracle Application Express Configure istration Services and manage an entire Oracle Application Express APEX_PUBLIC_ instance. Unlocking the APEX_PUBLIC_ To change the for the : Changing the for the 1. Change your working directory to the apex directory where you unzipped the installation APEX_PUBLIC_ software. and Install 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Oracle Application specifying the SYSDBA role. For example: Express Listener Disabling Oracle XML On Windows: DB Protocol Server Configure RESTful SYSTEM_DRIVE:\ sqlplus /nolog Services Enable Network Services SQL> CONNECT SYS as SYSDBA in Oracle Database 11g Enter : SYS_ Granting Connect Privileges On UNIX and Linux: Troubleshooting an Invalid ACL Error $ sqlplus /nolog Security Considerations SQL> CONNECT SYS as SYSDBA About Managing Enter : SYS_ JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES 3. Run apxchpwd.sql. For example: Changing the Number @apxchpwd.sql of JOB_QUEUE_PROCESSES About Developing Oracle When prompted, enter a for the . Application Express in Other Languages Installing a Translated See Also: Version of Oracle Oracle Database PL/SQL Language Reference for more information about Application Express SQL*Plus Create a Workspace and Add Oracle Application Express s Creating a Workspace 3.3.4 Restart Processes Manually Creating Oracle After you install Oracle Application Express, you must restart the processes that you stopped before Application Express you began the installation. s Logging in to Your
Hide Navigation
3.3.5 Configure APEX_PUBLIC_ It is important to correctly configure the APEX_PUBLIC_ to enable proper operation of
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Oracle Application Express.
3.3.5.1 Unlocking the APEX_PUBLIC_ The APEX_PUBLIC_ is locked at the end of a new installation of Oracle Application Express. You must unlock this before configuring the database access descriptor (DAD) in a new installation.
This Page Recommended Tip: Pre-installation Tasks If you are upgrading from a prior release of Oracle Application Express, this step Choosing a Web Listener is unnecessary. ing from OTN and Configuring Oracle Application Express Listener Install the Oracle To unlock the APEX_PUBLIC_ : Database and Complete Pre-installation Tasks 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS and Install specifying the SYSDBA role. For example: Oracle Application Express On Windows: Change the for the SYSTEM_DRIVE:\ sqlplus /nolog Restart Processes SQL> CONNECT SYS as SYSDBA Configure Enter : SYS_ APEX_PUBLIC_ On UNIX and Linux: Unlocking the APEX_PUBLIC_ $ sqlplus /nolog Changing the SQL> CONNECT SYS as SYSDBA for the Enter : SYS_ APEX_PUBLIC_ 2. Run the following statement: and Install Oracle Application ALTER APEX_PUBLIC_ UNLOCK Express Listener Disabling Oracle XML DB Protocol Server 3.3.5.2 Changing the for the APEX_PUBLIC_ Configure RESTful Services The APEX_PUBLIC_ is created with a random in a new installation of Oracle Enable Network Services in Oracle Database 11g Application Express. You must change the for this before configuring the database Granting Connect access descriptor (DAD) in a new installation. Privileges Troubleshooting an Invalid ACL Error Tip: Security Considerations If you are upgrading from a prior release of Oracle Application Express, this step About Managing JOB_QUEUE_PROCESSES is unnecessary. Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number To change the for the APEX_PUBLIC_ : of JOB_QUEUE_PROCESSES 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS About Developing Oracle specifying the SYSDBA role. For example: Application Express in Other Languages On Windows: Installing a Translated Version of Oracle SYSTEM_DRIVE:\ sqlplus /nolog Application Express SQL> CONNECT SYS as SYSDBA Create a Workspace and Enter : SYS_ Add Oracle Application Express s Creating a Workspace On UNIX and Linux: Manually Creating Oracle $ sqlplus /nolog Application Express SQL> CONNECT SYS as SYSDBA s Logging in to Your
Hide Navigation
Enter : SYS_
2. Run the following statement: This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
ALTER APEX_PUBLIC_ IDENTIFIED BY new_
Where new_ is the new you are setting for APEX_PUBLIC_. You will use this when creating the DAD in the sections that follow.
3.3.5.2.1 About Expiration in Oracle Database 11g In the default profile in Oracle Database 11g, the parameter _LIFE_TIME is set to 180. If
you are using Oracle Database 11g with Oracle Application Express, this causes the for This Page APEX_PUBLIC_ to expire in 180 days. As a result, your Oracle Application Express instance will Recommended Pre-installation Tasks become unusable until you change the . Choosing a Web Listener ing from OTN and To prevent this behavior, create another profile in which the _LIFE_TIME parameter is set to Configuring Oracle unlimited and alter the APEX_PUBLIC_ and assign it to the new profile. Application Express Listener Install the Oracle Database and Complete See Also: Pre-installation Tasks and Install Oracle Database Security Guide for information on creating profiles and Oracle Application asg them to database s. Express Change the for the 3.3.6 and Install Oracle Application Express Listener Restart Processes Configure APEX_PUBLIC_ To the Oracle Application Express Listener: Unlocking the 1. the latest release of the Oracle Application Express Listener, APEX_PUBLIC_ apex_listener.version.number.zip, from the Oracle Application Express page. See: Changing the for the http://www.oracle.com/technetwork/developer-tools/apex-listener/s/index.html APEX_PUBLIC_ Note that the version.number in the file name reflects the current release number. and Install Oracle Application 2. Unzip the ed zip file into a directory (or folder) of your choice: Express Listener Disabling Oracle XML UNIX and Linux: unzip apex_listener.version.number.zip DB Protocol Server Configure RESTful Windows: Double-click the file apex_listener.version.number.zip in Windows Services Explorer Enable Network Services in Oracle Database 11g 3. Locate the installation guide for Oracle Application Express Listener and follow instructions to Granting Connect complete installation and configuration steps. Privileges Troubleshooting an Invalid ACL Error 3.3.6.1 Disabling Oracle XML DB Protocol Server Security Considerations About Managing JOB_QUEUE_PROCESSES If you were previously using the embedded PL/SQL Gateway and now wish to use Oracle Application Viewing the Number of Express Listener, you need to disable the Oracle XML DB Protocol server. JOB_QUEUE_PROCESSES Changing the Number To disable Oracle XML DB Protocol server: of JOB_QUEUE_PROCESSES 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS About Developing Oracle specifying the SYSDBA role. For example: Application Express in Other Languages On Windows: Installing a Translated Version of Oracle SYSTEM_DRIVE:\ sqlplus /nolog Application Express SQL> CONNECT SYS as SYSDBA Create a Workspace and Enter : SYS_ Add Oracle Application Express s Creating a Workspace On UNIX and Linux: Manually Creating Oracle $ sqlplus /nolog Application Express SQL> CONNECT SYS as SYSDBA s Logging in to Your
Hide Navigation
Enter : SYS_
2. Run the following command: This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
EXEC DBMS_XDB.SETHTTPPORT(0);
3.3.7 Configure RESTful Services In a new installation of Oracle Application Express, you configure RESTful Services by running the configuration script apex_rest_config.sql. This step is optional and only needs to be completed if you wish to use RESTful Services with the Oracle Application Express Listener on the instance. Once
configured, the instance can control the availability of the feature. If the instance This Page has disabled RESTful Services for this Application Express instance, RESTful Services are Recommended Pre-installation Tasks not available for this instance and the RESTful Services icon does not display. See "Configuring SQL Choosing a Web Listener Workshop" in Oracle Application Express istration Guide . ing from OTN and Configuring Oracle Application Express Listener Note: Install the Oracle RESTful Services requires Oracle Application Express Listener 2.0 or later. Database and Complete Pre-installation Tasks and Install Oracle Application To configure RESTful Services in Oracle Application Express: Express Change the for 1. Change your working directory to the apex directory where you unzipped the installation the software. Restart Processes Configure 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS APEX_PUBLIC_ specifying the SYSDBA role. For example: Unlocking the On Windows: APEX_PUBLIC_ SYSTEM_DRIVE:\ sqlplus /nolog Changing the SQL> CONNECT SYS as SYSDBA for the Enter : SYS_ APEX_PUBLIC_ On UNIX and Linux: and Install Oracle Application $ sqlplus /nolog Express Listener Disabling Oracle XML SQL> CONNECT SYS as SYSDBA DB Protocol Server Enter : SYS_ Configure RESTful Services 3. Run apex_rest_config.sql. For example: Enable Network Services in Oracle Database 11g @apex_rest_config.sql Granting Connect Privileges When Prompted, enter a for the APEX_LISTENER and APEX_REST_PUBLIC_ Troubleshooting an Invalid ACL Error s. Security Considerations About Managing When configuring RESTful Services in Oracle Application Express, it creates two new database JOB_QUEUE_PROCESSES s. Viewing the Number of JOB_QUEUE_PROCESSES APEX_LISTENER - The used to query RESTful Services definitions stored in Oracle Changing the Number Application Express. of JOB_QUEUE_PROCESSES APEX_REST_PUBLIC_ - The used when calling RESTful Services definitions About Developing Oracle stored in Oracle Application Express. Application Express in Other Languages Installing a Translated 3.3.8 Enable Network Services in Oracle Database 11g Version of Oracle Application Express By default, the ability to interact with network services is disabled in Oracle Database 11g Release 1 or Create a Workspace and 2. Therefore, if you are running Oracle Application Express with Oracle Database 11g Release 1 or 2, Add Oracle Application Express s you must use the new DBMS_NETWORK_ACL_ package to grant connect privileges to any host for Creating a Workspace the APEX_040200 database . Failing to grant these privileges results in issues with: Manually Creating Oracle Sending outbound mail in Oracle Application Express. Application Express s Logging in to Your
Hide Navigation
s can call methods from the APEX_MAIL package, but issues arise when sending outbound email.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Using Web services in Oracle Application Express. PDF report printing. Topics: Granting Connect Privileges Troubleshooting an Invalid ACL Error
This Page Tip: Recommended To run the examples described in this section, the compatible initialization Pre-installation Tasks Choosing a Web Listener parameter of the database must be set to at least 11.1.0.0.0. By default a 11g ing from OTN and database will already have the parameter set properly, but a database upgraded Configuring Oracle to 11g from a prior version may not. See "Creating and Configuring an Oracle Application Express Listener Database" in Oracle Database 's Guide for information about Install the Oracle changing database initialization parameters. Database and Complete Pre-installation Tasks and Install Oracle Application 3.3.8.1 Granting Connect Privileges Express Change the for The following example demonstrates how to grant connect privileges to any host for the APEX_040200 the Restart Processes database . This example assumes you connected to the database where Oracle Application Configure Express is installed as SYS specifying the SYSDBA role. APEX_PUBLIC_ DECLARE Unlocking the ACL_PATH VARCHAR2(4000); APEX_PUBLIC_ BEGIN -- Look for the ACL currently assigned to '*' and give APEX_040200 Changing the -- the "connect" privilege if APEX_040200 does not have the privilege yet. for the APEX_PUBLIC_ SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS and Install WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Oracle Application Express Listener IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', Disabling Oracle XML 'connect') IS NULL THEN DB Protocol Server DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH, Configure RESTful 'APEX_040200', TRUE, 'connect'); Services END IF; Enable Network Services in Oracle Database 11g Granting Connect EXCEPTION Privileges -- When no ACL has been assigned to '*'. Troubleshooting an WHEN NO_DATA_FOUND THEN Invalid ACL Error DBMS_NETWORK_ACL_.CREATE_ACL('power_s.xml', Security Considerations 'ACL that lets power s to connect to everywhere', About Managing 'APEX_040200', TRUE, 'connect'); JOB_QUEUE_PROCESSES DBMS_NETWORK_ACL_.ASSIGN_ACL('power_s.xml','*'); Viewing the Number of JOB_QUEUE_PROCESSES END; / Changing the Number of COMMIT; JOB_QUEUE_PROCESSES About Developing Oracle The following example demonstrates how to provide less privileged access to local network resources. Application Express in This example is used to enable access to servers on the local host only, such as email and report Other Languages servers. Installing a Translated Version of Oracle DECLARE Application Express ACL_PATH VARCHAR2(4000); Create a Workspace and Add Oracle Application BEGIN Express s -- Look for the ACL currently assigned to 'localhost' and give APEX_040200 Creating a Workspace -- the "connect" privilege if APEX_040200 does not have the privilege yet. Manually SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS Creating Oracle WHERE HOST = 'localhost' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Application Express s Logging in to Your
Hide Navigation
IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', 'connect') IS NULL THEN DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH,
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
'APEX_040200', TRUE, 'connect'); END IF; EXCEPTION -- When no ACL has been assigned to 'localhost'. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_.CREATE_ACL('local-access-s.xml', 'ACL that lets s to connect to localhost', 'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_.ASSIGN_ACL('local-access-s.xml','localhost'); This Page END; Recommended Pre-installation Tasks / Choosing a Web Listener COMMIT; ing from OTN and Configuring Oracle Application Express Listener 3.3.8.2 Troubleshooting an Invalid ACL Error Install the Oracle Database and Complete If you receive an ORA-44416: Invalid ACL error after running the previous script, use the following Pre-installation Tasks query to identify the invalid ACL: and Install Oracle Application REM Show the dangling references to dropped s in the ACL that is assigned Express Change the for REM to '*'. the Restart Processes SELECT ACL, PRINCIPAL Configure FROM DBA_NETWORK_ACLS NACL, XDS_ACE ACE APEX_PUBLIC_ WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL.ACLID = ACE.ACLID AND Unlocking the NOT EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL); APEX_PUBLIC_ Changing the Next, run the following code to fix the ACL: for the DECLARE APEX_PUBLIC_ ACL_ID RAW(16); and Install CNT NUMBER; Oracle Application BEGIN Express Listener -- Look for the object ID of the ACL currently assigned to '*' Disabling Oracle XML SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS DB Protocol Server WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Configure RESTful Services -- If just some s referenced in the ACL are invalid, remove just those Enable Network Services -- s in the ACL. Otherwise, drop the ACL completely. in Oracle Database 11g Granting Connect SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE Privileges WHERE ACLID = ACL_ID AND Troubleshooting an EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL); Invalid ACL Error Security Considerations IF (CNT > 0) THEN About Managing JOB_QUEUE_PROCESSES FOR R IN (SELECT PRINCIPAL FROM XDS_ACE Viewing the Number of WHERE ACLID = ACL_ID AND JOB_QUEUE_PROCESSES NOT EXISTS (SELECT NULL FROM ALL_S Changing the Number of WHERE NAME = PRINCIPAL)) LOOP JOB_QUEUE_PROCESSES UPDATE XDB.XDB$ACL About Developing Oracle SET OBJECT_VALUE = Application Express in DELETEXML(OBJECT_VALUE, Other Languages '/ACL/ACE[PRINCIPAL="'||R.PRINCIPAL||'"]') Installing a Translated WHERE OBJECT_ID = ACL_ID; Version of Oracle END LOOP; Application Express Create a Workspace and Add Oracle Application ELSE Express s DELETE FROM XDB.XDB$ACL WHERE OBJECT_ID = ACL_ID; Creating a Workspace END IF; Manually Creating Oracle END; Application Express / s Logging in to Your
Hide Navigation REM commit the changes.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
COMMIT;
Once the ACL has been fixed, you must run the first script in this section to apply the ACL to the APEX_040200 . See "Granting Connect Privileges".
3.3.9 Security Considerations Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that s and other sensitive data are not transmitted in clear text in HTTP requests. Without the use
This Page of SSL, s could potentially be exposed, compromising security. Recommended Pre-installation Tasks SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with Choosing a Web Listener symmetric key cryptography to provide authentication, encryption, and data integrity. ing from OTN and Configuring Oracle Application Express Listener Install the Oracle See Also: Database and Complete "Requiring HTTPS" in Oracle Application Express istration Guide Pre-installation Tasks and Install Oracle Application 3.3.10 About Managing JOB_QUEUE_PROCESSES Express Change the for the JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. In Oracle Restart Processes Application Express Release 4.2, transactional and SQL scripts require jobs. If Configure JOB_QUEUE_PROCESSES is not enabled and working properly, you cannot successfully execute a script. APEX_PUBLIC_ Topics: Unlocking the APEX_PUBLIC_ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Changing the Number of JOB_QUEUE_PROCESSES for the APEX_PUBLIC_ 3.3.10.1 Viewing the Number of JOB_QUEUE_PROCESSES and Install Oracle Application There are three ways to view the number of JOB_QUEUE_PROCESSES: Express Listener Disabling Oracle XML In the installation log file DB Protocol Server On the About Application Express page in Oracle Application Express Configure RESTful From SQL*Plus Services Enable Network Services 3.3.10.1.1 Viewing JOB_QUEUE_PROCESSES in the Installation Log File in Oracle Database 11g Granting Connect After installing or upgrading Oracle Application Express to Release 4.2, you can view the number of Privileges Troubleshooting an JOB_QUEUE_PROCESSES in the installation log files. See "Reviewing a Log of an Installation Session". Invalid ACL Error Security Considerations 3.3.10.1.2 Viewing JOB_QUEUE_PROCESSES in Oracle Application Express About Managing JOB_QUEUE_PROCESSES You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. Viewing the Number of JOB_QUEUE_PROCESSES To view the About Application Express page: Changing the Number of 1. to Oracle Application Express. See "Logging in to Your Workspace". JOB_QUEUE_PROCESSES About Developing Oracle 2. On the istration list, click About Application Express. Application Express in Other Languages The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. Installing a Translated Version of Oracle 3.3.10.1.3 Viewing JOB_QUEUE_PROCESSES from SQL*Plus Application Express Create a Workspace and You can also view the number of JOB_QUEUE_PROCESSES from SQL*Plus by running the following SQL Add Oracle Application statement: Express s Creating a Workspace SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Manually Creating Oracle Application Express 3.3.10.2 Changing the Number of JOB_QUEUE_PROCESSES s Logging in to Your
Hide Navigation
You can change the number of JOB_QUEUE_PROCESSES by running a SQL statement in SQL*Plus: To update the number of JOB_QUEUE_PROCESSES:
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog
Main Categories Security
SQL> CONNECT SYS as SYSDBA Enter : SYS_
This Page On UNIX and Linux: Recommended Pre-installation Tasks $ sqlplus /nolog Choosing a Web Listener SQL> CONNECT SYS as SYSDBA ing from OTN and Enter : SYS_ Configuring Oracle Application Express Listener Install the Oracle 2. In SQL*Plus run the following SQL statement: Database and Complete Pre-installation Tasks ALTER SYSTEM SET JOB_QUEUE_PROCESSES =
and Install Oracle Application For example, running the statement ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 sets Express JOB_QUEUE_PROCESSES to 20. Change the for the Restart Processes 3.3.11 About Developing Oracle Application Express in Other Configure Languages APEX_PUBLIC_ The Oracle Application Express interface is translated into German, Spanish, French, Italian, Japanese, Unlocking the APEX_PUBLIC_ Korean, Brazilian Portuguese, Simplified Chinese, and Traditional Chinese. A single instance of Oracle Application Express can be installed with one or more of these translated versions. Developers can Changing the choose to run the Application Express development environment in any of the installed languages by for the simply selecting the language from the Application Builder screen or home page. APEX_PUBLIC_ In order to install other languages you must use the apex_4.2.zip file which contains the extra files and Install Oracle Application referenced below. If you previously ed apex_4.2_en.zip, then you do not need to re-install Express Listener Oracle Application Express. Simply apex_4.2.zip and unzip the file into the same directory Disabling Oracle XML where you unzipped apex_4.2_en.zip. DB Protocol Server Configure RESTful The translated version of Oracle Application Express should be loaded into a database that has a Services character set that s the specific language. If you attempt to install a translated version of Enable Network Services in Oracle Database 11g Oracle Application Express into a database that does not the character encoding of the Granting Connect language, the installation may fail or the translated Oracle Application Express instance may appear Privileges corrupt when run. The database character set AL32UTF8 s all the translated versions of Oracle Troubleshooting an Application Express. Invalid ACL Error Security Considerations You can manually install translated versions of Oracle Application Express using SQL*Plus. The About Managing JOB_QUEUE_PROCESSES installation files are encoded in AL32UTF8. Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number Note: of Regardless of the target database character set, to install a translated version of JOB_QUEUE_PROCESSES Oracle Application Express, you must set the character set value of the About Developing Oracle Application Express in NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. Other Languages Installing a Translated Version of Oracle The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express Application Express translations: Create a Workspace and Add Oracle Application American_America.AL32UTF8 Express s Japanese_Japan.AL32UTF8 Creating a Workspace Manually Creating Oracle 3.3.11.1 Installing a Translated Version of Oracle Application Express Application Express s Logging in to Your
Hide Navigation
Whether you are installing for the first time or upgrading from a previous release, you must run the load_lang.sql script to run a translated version of Oracle Application Express.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. For example, the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. Within each directory, there is a language loading script identified by the language code (for example, load_de.sql or load_ja.sql). To install a translated version of Oracle Application Express: 1. Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For
example: This Page Recommended Bourne or Korn shell: Pre-installation Tasks Choosing a Web Listener NLS_LANG=American_America.AL32UTF8 ing from OTN and export NLS_LANG Configuring Oracle Application Express Listener C shell: Install the Oracle Database and Complete setenv NLS_LANG American_America.AL32UTF8 Pre-installation Tasks and Install For Windows based systems: Oracle Application Express set NLS_LANG=American_America.AL32UTF8 Change the for the 2. Navigate to the directory under apex/builder based on the language you need to install. For Restart Processes Configure example for German, navigate to apex/builder/de. Start SQL*Plus and connect to the APEX_PUBLIC_ database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: Unlocking the APEX_PUBLIC_ On Windows: Changing the SYSTEM_DRIVE:\ sqlplus /nolog for the SQL> CONNECT SYS as SYSDBA APEX_PUBLIC_ Enter : SYS_ and Install On UNIX and Linux: Oracle Application Express Listener $ sqlplus /nolog Disabling Oracle XML DB Protocol Server SQL> CONNECT SYS as SYSDBA Configure RESTful Enter : SYS_ Services Enable Network Services 3. Execute the following statement: in Oracle Database 11g Granting Connect ALTER SESSION SET CURRENT_SCHEMA = APEX_040200; Privileges Troubleshooting an 4. Execute the appropriate language specific script. For example: Invalid ACL Error Security Considerations @load_lang.sql About Managing JOB_QUEUE_PROCESSES Viewing the Number of Where lang is the specific language (for example, load_de.sql for German or load_ja.sql JOB_QUEUE_PROCESSES for Japanese). Changing the Number of JOB_QUEUE_PROCESSES 3.3.12 Create a Workspace and Add Oracle Application Express About Developing Oracle s Application Express in Other Languages You access the Oracle Application Express home page by logging in to a workspace using a Web Installing a Translated browser. Your Web browser must have JavaScript enabled. See "Browser Requirements". Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
A workspace is a virtual private database allowing multiple s to work within the same Oracle Application Express installation while keeping their objects, data and applications private. Each workspace has a unique ID and name. An instance can create a workspace manually within Oracle Application Express istration Services or have s submit requests. Oracle Application Express istration Services is a separate application for managing an entire Oracle Application Express instance. See
Hide Navigation
"Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express
istration Guide. This Book
Entire Library
See Also:
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express
Topics:
Creating a Workspace Manually This Page Creating Oracle Application Express s Recommended Logging in to Your Workspace Pre-installation Tasks Choosing a Web Listener ing from OTN and 3.3.12.1 Creating a Workspace Manually Configuring Oracle Application Express Listener To create an Oracle Application Express workspace manually: Install the Oracle Database and Complete 1. to Oracle Application Express istration Services. Oracle Application Express Pre-installation Tasks istration Services is a separate application for managing an entire Oracle Application and Install Oracle Application Express instance. You using the and created or reset during the Express installation process. Change the for the a. In a Web browser, navigate to the Oracle Application Express istration Services Restart Processes application. Configure APEX_PUBLIC_ Because your setup uses Oracle Application Express Listener, go to: Unlocking the http://hostname:port/apex/apex_ APEX_PUBLIC_ Where: Changing the for the hostname is the name of the system where Oracle Application Express Listener is APEX_PUBLIC_ installed. and Install Oracle Application port is the port number assigned when configuring the Oracle Application Express Express Listener Listener. In a default installation, this number is 8080. To learn more, see Oracle Disabling Oracle XML Application Express Listener Installation and Developer Guide. DB Protocol Server Configure RESTful apex is the service name defined when configuring the Oracle Application Express Services Enable Network Services Listener. in Oracle Database 11g Granting Connect b. On the page: Privileges Troubleshooting an In name, enter . Invalid ACL Error Security Considerations In , enter the Oracle Application Express About Managing you specified in "Change the for the ". JOB_QUEUE_PROCESSES Viewing the Number of Click to istration. JOB_QUEUE_PROCESSES Changing the Number Note that, depending on your setup, you might be required to change your of when you for the first time. JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
See Also: See "Logging in to Oracle Application Express istration Services" in Oracle Application Express istration Guide.
Next, create a workspace. 2. Click Manage Workspaces. 3. Under Workspace Actions, click Create Workspace.
Hide Navigation
The Create Workspace Wizard appears. 4. For Identify Workspace, enter the following:
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
a. Workspace Name - Enter a unique workspace name. b. Workspace ID - Leave Workspace ID blank to have the new Workspace ID automatically generated. A Workspace ID must be a positive integer greater than 100000. c. Workspace Description - Enter a workspace description. d. Click Next.
This Page 5. For Identify Schema, specify whether you are re-using an existing schema or creating a new Recommended one. Pre-installation Tasks Choosing a Web Listener If you are using an existing schema: ing from OTN and Configuring Oracle a. For Re-use existing schema, select Yes. Application Express Listener b. Select a schema from the list. Install the Oracle c. Click Next. Database and Complete Pre-installation Tasks If you are creating a new schema: and Install Oracle Application a. For Re-use existing schema, select No. Express Change the for b. Enter a schema name and . the c. Specify a space quota. Restart Processes d. Click Next. Configure APEX_PUBLIC_ 6. For Identify , enter the Workspace information and click Next. Unlocking the 7. Confirm your selections and click Create Workspace. APEX_PUBLIC_ Changing the 3.3.12.2 Creating Oracle Application Express s for the APEX_PUBLIC_ To create an Oracle Application Express : and Install 1. to Oracle Application Express istration Services as described in the previous section. Oracle Application Express Listener See "Logging in to Oracle Application Express istration Services" in Oracle Application Disabling Oracle XML Express istration Guide. DB Protocol Server Configure RESTful 2. Click the Manage Workspaces icon. Services Enable Network Services The istration page appears. in Oracle Database 11g Granting Connect 3. Click Manage Developers and s. Privileges Troubleshooting an 4. Click Create . Invalid ACL Error Security Considerations The Create page appears. About Managing JOB_QUEUE_PROCESSES 5. Under Attributes, enter: Viewing the Number of JOB_QUEUE_PROCESSES a. name - Enter the name used to to the system. Restrictions include: Changing the Number of Maximum length of 100 characters JOB_QUEUE_PROCESSES No spaces About Developing Oracle Application Express in Only these special characters are permitted: ampersand (@) and period (.) Other Languages Installing a Translated b. Email Address - Enter the valid email address for this . Version of Oracle Application Express c. First Name - Enter the first or given name to further identify the . Create a Workspace and Add Oracle Application d. Last Name - Enter the last or family name to further identify the . Express s Creating a Workspace e. Description - Enter comments about this . Manually Creating Oracle f. Default Date Format - Enter the default Oracle date format for the . This controls Application Express the default date format within SQL Workshop. s Logging in to Your
Hide Navigation
6. Under Privileges: a. Workspace - Select a workspace from the list.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
b. Default Schemas - Specify the default schema used for data browsing, application creation, and SQL script execution. When using workspaces that have more than one schema available, this schema is the default. This setting does not control security, only the 's preference. c. is a workspace - Specify if this should have workspace privileges.
This Page s are given access to all components. Additionally, they can manage Recommended s, groups, and development services. Components may not be available if they are Pre-installation Tasks switched off by Instance s. Choosing a Web Listener ing from OTN and Configuring Oracle d. is a developer - Specify if this should have developer privileges. Application Express Listener Install the Oracle Developers must have access to either Application Builder, SQL Workshop, or both. These Database and Complete components may not be available if they are switched off by the Instance . Pre-installation Tasks and Install e. Application Builder Access - Determines whether a developer has access to the Oracle Application Application Builder. Express Change the for f. SQL Workshop Access - Determines whether a developer has access to the SQL the Workshop. Restart Processes Configure g. Team Development Access - Determines whether a developer has access to the Team APEX_PUBLIC_ Development. Unlocking the APEX_PUBLIC_ h. Set Availability - Select Locked to prevent the from being used. Select Unlocked to allow the to be used. Changing the for the If the has exceeded the maximum failures allowed, specified in Workspace APEX_PUBLIC_ Preferences, then their will be locked automatically. and Install 7. Under : Oracle Application Express Listener - Enter a case sensitive . Disabling Oracle XML DB Protocol Server Confirm - Enter the again. Configure RESTful Services Require Change of On First Use - Select No to allow the to use the Enable Network Services same until it expires. Select Yes to require the to change the in Oracle Database 11g Granting Connect immediately when logging in the first time. Privileges Troubleshooting an 8. Click Create or Create and Create Another. Invalid ACL Error Security Considerations 3.3.12.3 Logging in to Your Workspace About Managing JOB_QUEUE_PROCESSES Viewing the Number of Once you create a workspace, you must to it using your credentials (that is, the workspace JOB_QUEUE_PROCESSES name, name, and ). Changing the Number of JOB_QUEUE_PROCESSES See Also: About Developing Oracle Application Express in See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Other Languages Application Express istration Guide Installing a Translated Version of Oracle Application Express To to your workspace: Create a Workspace and Add Oracle Application 1. In a Web browser, navigate to the Oracle Application Express page. Express s Creating a Workspace Because your setup uses the Oracle Application Express Listener, go to: Manually Creating Oracle http://hostname:port/apex/ Application Express s Logging in to Your
Hide Navigation
Where: hostname is the name of the system where Oracle Application Express Listener is
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
installed. port is the port number assigned when configuring the Oracle Application Express
Listener. In a default installation, this number is 8080. To learn more, see Oracle Application Express Listener Installation and Developer Guide. apex is the service name defined when configuring the Oracle Application Express
Listener.
The page appears. This Page Recommended 2. Under , enter the following: Pre-installation Tasks Choosing a Web Listener Workspace field - Enter the name of your workspace. ing from OTN and Configuring Oracle name field - Enter your name. Application Express Listener field - Enter your case-sensitive . Install the Oracle Database and Complete 3. Click . Pre-installation Tasks and Install Note that, depending on your setup, you might be required to change your when you Oracle Application for the first time. Express Change the for the 3.4 ing from OTN and Configuring the Embedded Restart Processes PL/SQL Gateway Configure APEX_PUBLIC_ This section describes how to install Oracle Application Express by ing a ZIP file from OTN Unlocking the and then configuring the embedded PL/SQL gateway. APEX_PUBLIC_ Topics: Changing the for the Install the Oracle Database and Complete Pre-installation Tasks APEX_PUBLIC_ and Install Oracle Application Express Change the for the and Install Configure the Embedded PL/SQL Gateway Oracle Application Express Listener Enable Network Services in Oracle Database 11g Disabling Oracle XML Security Considerations DB Protocol Server About Managing JOB_QUEUE_PROCESSES Configure RESTful About Running Oracle Application Express in Other Languages Services Enable Network Services Configuring the SHARED_SERVERS Parameter in Oracle Database 11g Create a Workspace and Add Oracle Application Express s Granting Connect Privileges Troubleshooting an See Also: Invalid ACL Error "About the Oracle Application Express Runtime Environment" Security Considerations About Managing JOB_QUEUE_PROCESSES Viewing the Number of 3.4.1 Install the Oracle Database and Complete Pre-installation JOB_QUEUE_PROCESSES Tasks Changing the Number of JOB_QUEUE_PROCESSES Oracle Application Express requires an Oracle database that is Release 10.2.0.4 or later or Oracle About Developing Oracle Database 10g Express Edition. To learn more, see the Oracle Database Installation Guide for your Application Express in operating environment and "Recommended Pre-installation Tasks". Other Languages Installing a Translated 3.4.2 and Install Oracle Application Express Version of Oracle Application Express Create a Workspace and To install Oracle Application Express: Add Oracle Application Express s 1. For installations where the development will be in English only, the file Creating a Workspace apex_4.2_en.zip from the Oracle Application Express page. Where the development Manually will include languages other than English, apex_4.2.zip from the Oracle Application Creating Oracle Application Express s Logging in to Your
Express page. See:
Hide Navigation
http://www.oracle.com/technetwork/developer-tools/apex/s/index.html
Note that the actual file name may differ if a more recent release has shipped since this This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
document was published. 2. Unzip ed zip file: If English only, unzip apex_4.2_en.zip as follows, preserving directory names: UNIX and Linux: $unzip apex_4.2_en.zip
Main Categories Security This Page Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Application Express Listener Install the Oracle Database and Complete Pre-installation Tasks and Install Oracle Application Express Change the for the Restart Processes Configure APEX_PUBLIC_ Unlocking the APEX_PUBLIC_ Changing the for the APEX_PUBLIC_ and Install Oracle Application Express Listener Disabling Oracle XML DB Protocol Server Configure RESTful Services Enable Network Services in Oracle Database 11g Granting Connect Privileges Troubleshooting an Invalid ACL Error Security Considerations About Managing JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
Windows: Double click the file apex_4.2_en.zip in Windows Explorer If multiple languages, unzip apex_4.2.zip as follows, preserving directory names: UNIX and Linux: $unzip apex_4.2.zip Windows: Double click the file apex_4.2.zip in Windows Explorer
Note: You should keep the directory tree where you unzip the files short and not under directories that contain spaces. For example, within Windows unzip to C:\TEMP.
3. Change your working directory to apex. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
5. Disable any existing complexity rules for the default profile. See "Configuring Protection" in Oracle Database Security Guide. 6. Select the appropriate installation option. Full development environment provides complete access to the Application Builder environment to develop applications. A Runtime environment enables s to run applications that cannot be modified. To learn more, see "About the Oracle Application Express Runtime Environment". Available installation options include: Full development environment. Run apexins.sql ing the following four arguments in the order shown: @apexins.sql tablespace_apex tablespace_files tablespace_temp images
Where: tablespace_apex is the name of the tablespace for the Oracle Application Express
application . tablespace_files is the name of the tablespace for the Oracle Application Express
files . tablespace_temp is the name of the temporary tablespace or tablespace group.
Hide Navigation
images is the virtual directory for Oracle Application Express images. To
future Oracle Application Express upgrades, define the virtual image directory as /i/.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Example: @apexins.sql SYSAUX SYSAUX TEMP /i/
Note: If you receive the following error, please exit SQL*Plus and change your working directory to apex:
This Page Recommended SP2-0310: unable to open file "apexins.sql" Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Runtime environment. Run apxrtins.sql ing the following arguments in the Application Express Listener order shown: Install the Oracle Database and Complete @apxrtins.sql tablespace_apex tablespace_files tablespace_temp images Pre-installation Tasks and Install Where: Oracle Application Express tablespace_apex is the name of the tablespace for the Oracle Application Express Change the for the application . Restart Processes Configure tablespace_files is the name of the tablespace for the Oracle Application Express APEX_PUBLIC_ files . Unlocking the tablespace_temp is the name of the temporary tablespace or tablespace group. APEX_PUBLIC_ images is the virtual directory for Oracle Application Express images. To Changing the for the future Oracle Application Express upgrades, define the virtual image directory as APEX_PUBLIC_ /i/. and Install Example: Oracle Application Express Listener @apxrtins.sql SYSAUX SYSAUX TEMP /i/ Disabling Oracle XML DB Protocol Server Configure RESTful See Also: Services Enable Network Services Oracle Database PL/SQL Language Reference for more information about in Oracle Database 11g SQL*Plus Granting Connect Privileges Troubleshooting an When Oracle Application Express installs, it creates three new database s: Invalid ACL Error Security Considerations APEX_040200 - The that owns the Oracle Application Express schema and metadata. About Managing JOB_QUEUE_PROCESSES FLOWS_FILES - The that owns the Oracle Application Express ed files. Viewing the Number of JOB_QUEUE_PROCESSES APEX_PUBLIC_ - The minimally privileged used for Oracle Application Express Changing the Number of configuration with Oracle Application Express Listener or Oracle HTTP Server and mod_plsql. JOB_QUEUE_PROCESSES 'This is created to enable a later switch to a different HTTP server. About Developing Oracle Application Express in If you are upgrading from a previous release, then FLOWS_FILES already exists and Other Languages APEX_PUBLIC_ is created if it does not already exist. Installing a Translated Version of Oracle Application Express Tip: Create a Workspace and Add Oracle Application Oracle Application Express must be installed from a writable directory on the file Express s system. See "Reviewing a Log of an Installation Session". Creating a Workspace Manually Creating Oracle 3.4.3 Change the for the Application Express s Logging in to Your
Hide Navigation
In a new installation of Oracle Application Express, or if you are converting a runtime environment to a development environment, you must change the of the internal . In an upgrade scenario, the will be preserved and carried over from the prior release.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
Tip: You use the to to Oracle Application Express istration Services and manage an entire Oracle Application Express instance.
Main Categories Security To change the for the : This Page Recommended 1. Change your working directory to the apex directory where you unzipped the installation Pre-installation Tasks software. Choosing a Web Listener ing from OTN and 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Configuring Oracle Application Express Listener specifying the SYSDBA role. For example: Install the Oracle Database and Complete On Windows: Pre-installation Tasks and Install SYSTEM_DRIVE:\ sqlplus /nolog Oracle Application SQL> CONNECT SYS as SYSDBA Express Enter : SYS_ Change the for the On UNIX and Linux: Restart Processes Configure $ sqlplus /nolog APEX_PUBLIC_ SQL> CONNECT SYS as SYSDBA Enter : SYS_ Unlocking the APEX_PUBLIC_ 3. Run apxchpwd.sql. For example: Changing the for the @apxchpwd.sql APEX_PUBLIC_ When prompted, enter a for the . and Install Oracle Application Express Listener See Also: Disabling Oracle XML Oracle Database PL/SQL Language Reference for more information about DB Protocol Server Configure RESTful SQL*Plus Services Enable Network Services in Oracle Database 11g 3.4.4 Configure the Embedded PL/SQL Gateway Granting Connect Privileges The embedded PL/SQL gateway installs with the Oracle Database 11g. However, you must configure it Troubleshooting an Invalid ACL Error before you can use it with Oracle Application Express. To accomplish this, you run a configuration Security Considerations script and unlock the ANONYMOUS . About Managing JOB_QUEUE_PROCESSES Viewing the Number of Note: JOB_QUEUE_PROCESSES The Oracle XML DB Protocol Server with the embedded PL/SQL gateway is not Changing the Number of ed before Oracle Database 11g. JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Topics: Other Languages Installing a Translated Running the apex_epg_config.sql Configuration Script Version of Oracle Updating the Images Directory When Upgrading from a Previous Release Application Express ing the Oracle XML DB Protocol Server Port Create a Workspace and Add Oracle Application Enabling Oracle XML DB Protocol Server Express s Creating a Workspace Manually See Also: Creating Oracle "About Choosing a Web Listener" and "About the Embedded PL/SQL Gateway" Application Express s Logging in to Your
Hide Navigation
3.4.4.1 Running the apex_epg_config.sql Configuration Script In a new installation, you configure the embedded PL/SQL gateway by running the configuration script
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
apex_epg_config.sql. Then, you unlock the ANONYMOUS .
Note: If you are upgrading and have previously configured the embedded PL/SQL gateway, skip this section and go to "Updating the Images Directory When Upgrading from a Previous Release".
This Page To run the apex_epg_config.sql configuration script: Recommended Pre-installation Tasks 1. Change your working directory to the apex directory where you unzipped the Oracle Application Choosing a Web Listener ing from OTN and Express software. Configuring Oracle Application Express Listener 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Install the Oracle specifying the SYSDBA role. For example: Database and Complete Pre-installation Tasks On Windows: and Install Oracle Application SYSTEM_DRIVE:\ sqlplus /nolog Express SQL> CONNECT SYS as SYSDBA Change the for Enter : SYS_ the Restart Processes On UNIX and Linux: Configure APEX_PUBLIC_ $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Unlocking the APEX_PUBLIC_ Enter : SYS_ Changing the 3. Run apex_epg_config.sql ing the file system path to the base directory where the Oracle for the Application Express software was unzipped as shown in the following example: APEX_PUBLIC_ On Windows: and Install Oracle Application @apex_epg_config.sql SYSTEM_DRIVE:\TEMP Express Listener Disabling Oracle XML On UNIX and Linux: DB Protocol Server Configure RESTful @apex_epg_config.sql /tmp Services Enable Network Services in Oracle Database 11g 4. Enter the following statement to unlock the ANONYMOUS : Granting Connect Privileges ALTER ANONYMOUS UNLOCK; Troubleshooting an Invalid ACL Error Security Considerations 3.4.4.2 Updating the Images Directory When Upgrading from a About Managing Previous Release JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES If you are upgrading Oracle Application Express from a previous release, you must run the Changing the Number apxldimg.sql script to update the images directory. of JOB_QUEUE_PROCESSES About Developing Oracle Tip: Application Express in If you are not upgrading from a prior release of Oracle Application Express, this Other Languages step is unnecessary. The images will be loaded by running Installing a Translated Version of Oracle apex_epg_config.sql as described in the prior section. Application Express Create a Workspace and Add Oracle Application To run the apxldimg.sql script: Express s Creating a Workspace 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Manually specifying the SYSDBA role: Creating Oracle Application Express On Windows: s Logging in to Your
Hide Navigation
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
2. Run apxldimg.sql ing the file system path to the base directory where the Oracle
Application Express software was unzipped as shown in the following example: This Page On Windows: Recommended Pre-installation Tasks @apxldimg.sql SYSTEM_DRIVE:\TEMP Choosing a Web Listener ing from OTN and Configuring Oracle On UNIX and Linux: Application Express Listener Install the Oracle @apxldimg.sql /tmp Database and Complete Pre-installation Tasks and Install Tip: Oracle Application The above examples assume that you unzipped Oracle Application Express Express in a directory called TEMP on Windows and tmp on UNIX or Linux. Change the for the Restart Processes Configure 3.4.4.3 ing the Oracle XML DB Protocol Server Port APEX_PUBLIC_ The embedded PL/SQL gateway runs in the Oracle XML DB Protocol Server in the Oracle database. Unlocking the APEX_PUBLIC_ You can determine if the Oracle XML DB Protocol Server is enabled by ing the associated port number. Changing the for the To the port number where the Oracle XML DB Protocol Server is running: APEX_PUBLIC_ 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS and Install specifying the SYSDBA role: Oracle Application Express Listener On Windows: Disabling Oracle XML DB Protocol Server SYSTEM_DRIVE:\ sqlplus /nolog Configure RESTful SQL> CONNECT SYS as SYSDBA Services Enter : SYS_ Enable Network Services in Oracle Database 11g Granting Connect On UNIX and Linux: Privileges Troubleshooting an $ sqlplus /novalid ACL Error SQL> CONNECT SYS as SYSDBA Security Considerations Enter : SYS_ About Managing JOB_QUEUE_PROCESSES 2. Enter the following statement to the port number: Viewing the Number of JOB_QUEUE_PROCESSES SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; Changing the Number of If the port number returns 0, the Oracle XML DB Protocol Server is disabled. JOB_QUEUE_PROCESSES About Developing Oracle Application Express in 3. To enable it, follow the instructions in "Enabling Oracle XML DB Protocol Server". Other Languages Installing a Translated 3.4.4.4 Enabling Oracle XML DB Protocol Server Version of Oracle Application Express Create a Workspace and The embedded PL/SQL gateway runs in the Oracle XML DB Protocol Server in the Oracle database. Add Oracle Application Express s To enable Oracle XML DB Protocol Server: Creating a Workspace Manually 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Creating Oracle specifying the SYSDBA role. For example: Application Express s Logging in to Your
Hide Navigation
On Windows: SYSTEM_DRIVE:\ sqlplus /nolog
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
SQL> CONNECT SYS as SYSDBA Enter : SYS_
On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA
Main Categories Security
Enter : SYS_
2. Enter a statement similar to the following: This Page Recommended EXEC DBMS_XDB.SETHTTPPORT(port); Pre-installation Tasks Choosing a Web Listener For example: ing from OTN and Configuring Oracle EXEC DBMS_XDB.SETHTTPPORT(8080); Application Express Listener Install the Oracle Database and Complete Pre-installation Tasks Note: and Install Port numbers less than 1024 are reserved for use by privileged processes on Oracle Application many operating systems. To enable the XML DB HTTP listener on a port less Express Change the for than 1024, such as 80, review the following documentation: the Restart Processes "Accessing the Repository Using Protocols" in Oracle XML DB Developer's Configure Guide. APEX_PUBLIC_ "Protocol Address Configuration" and "Port Number Limitations" in Oracle Unlocking the Database Net Services Reference. APEX_PUBLIC_ Changing the for the 3.4.5 Enable Network Services in Oracle Database 11g APEX_PUBLIC_ and Install By default, the ability to interact with network services is disabled in Oracle Database 11g Release 1 or Oracle Application 2. Therefore, if you are running Oracle Application Express with Oracle Database 11g Release 1 or 2, Express Listener you must use the new DBMS_NETWORK_ACL_ package to grant connect privileges to any host for Disabling Oracle XML the APEX_040200 database . Failing to grant these privileges results in issues with: DB Protocol Server Configure RESTful Sending outbound mail in Oracle Application Express. s can call methods from the Services Enable Network Services APEX_MAIL package, but issues arise when sending outbound email. in Oracle Database 11g Granting Connect Using Web services in Oracle Application Express. Privileges Troubleshooting an PDF/report printing. Invalid ACL Error Security Considerations Topics: About Managing JOB_QUEUE_PROCESSES Granting Connect Privileges Viewing the Number of Troubleshooting an Invalid ACL Error JOB_QUEUE_PROCESSES Changing the Number of Tip: JOB_QUEUE_PROCESSES About Developing Oracle To run the examples described in this section, the compatible initialization Application Express in parameter of the database must be set to at least 11.1.0.0.0. By default an 11g Other Languages database will already have the parameter set properly, but a database upgraded Installing a Translated to 11g from a prior version may not. See "Creating and Configuring an Oracle Version of Oracle Database" in Oracle Database 's Guide for information about Application Express Create a Workspace and changing database initialization parameters. Add Oracle Application Express s Creating a Workspace 3.4.5.1 Granting Connect Privileges Manually Creating Oracle Application Express The following example demonstrates how to grant connect privileges to any host for the APEX_040200 s Logging in to Your
Hide Navigation
database . This example assumes you connected to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.
This Book
Entire Library
DECLARE ACL_PATH
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
VARCHAR2(4000);
BEGIN -- Look for the ACL currently assigned to '*' and give APEX_040200 -- the "connect" privilege if APEX_040200 does not have the privilege yet. SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
This Page IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', Recommended 'connect') IS NULL THEN Pre-installation Tasks DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH, Choosing a Web Listener 'APEX_040200', TRUE, 'connect'); ing from OTN and END IF; Configuring Oracle Application Express Listener EXCEPTION Install the Oracle -- When no ACL has been assigned to '*'. Database and Complete WHEN NO_DATA_FOUND THEN Pre-installation Tasks DBMS_NETWORK_ACL_.CREATE_ACL('power_s.xml', and Install Oracle Application 'ACL that lets power s to connect to everywhere', Express 'APEX_040200', TRUE, 'connect'); Change the for DBMS_NETWORK_ACL_.ASSIGN_ACL('power_s.xml','*'); the END; Restart Processes / Configure COMMIT; APEX_PUBLIC_ The following example demonstrates how to provide less privileged access to local network resources. Unlocking the APEX_PUBLIC_ This example would enable indexing the Oracle Application Express Online Help and could possibly enable email and PDF printing if those servers were also on the local host. Changing the for the DECLARE APEX_PUBLIC_ ACL_PATH VARCHAR2(4000); BEGIN and Install -- Look for the ACL currently assigned to 'localhost' and give APEX_040200 Oracle Application -- the "connect" privilege if APEX_040200 does not have the privilege yet. Express Listener SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS Disabling Oracle XML DB Protocol Server WHERE HOST = 'localhost' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Configure RESTful Services IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', Enable Network Services 'connect') IS NULL THEN in Oracle Database 11g DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH, Granting Connect 'APEX_040200', TRUE, 'connect'); Privileges END IF; Troubleshooting an Invalid ACL Error EXCEPTION Security Considerations About Managing -- When no ACL has been assigned to 'localhost'. JOB_QUEUE_PROCESSES WHEN NO_DATA_FOUND THEN Viewing the Number of DBMS_NETWORK_ACL_.CREATE_ACL('local-access-s.xml', JOB_QUEUE_PROCESSES 'ACL that lets s to connect to localhost', Changing the Number 'APEX_040200', TRUE, 'connect'); of DBMS_NETWORK_ACL_.ASSIGN_ACL('local-access-s.xml','localhost'); JOB_QUEUE_PROCESSES END; About Developing Oracle / Application Express in COMMIT; Other Languages Installing a Translated Version of Oracle 3.4.5.2 Troubleshooting an Invalid ACL Error Application Express Create a Workspace and Add Oracle Application If you receive an ORA-44416: Invalid ACL error after running the previous script, use the following Express s query to identify the invalid ACL: Creating a Workspace Manually REM Show the dangling references to dropped s in the ACL that is assigned Creating Oracle REM to '*'. Application Express s Logging in to Your
Hide Navigation
SELECT ACL, PRINCIPAL FROM DBA_NETWORK_ACLS NACL, XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND
This Book
NACL.ACLID = ACE.ACLID AND
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
NOT EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL);
Next, run the following code to fix the ACL: DECLARE ACL_ID
RAW(16);
CNT
NUMBER;
BEGIN
-- Look for the object ID of the ACL currently assigned to '*' This Page SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS Recommended WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Pre-installation Tasks Choosing a Web Listener ing from OTN and -- If just some s referenced in the ACL are invalid, remove just those Configuring Oracle -- s in the ACL. Otherwise, drop the ACL completely. Application Express Listener SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE Install the Oracle WHERE ACLID = ACL_ID AND Database and Complete EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL); Pre-installation Tasks and Install IF (CNT > 0) THEN Oracle Application Express Change the for FOR R IN (SELECT PRINCIPAL FROM XDS_ACE the WHERE ACLID = ACL_ID AND Restart Processes NOT EXISTS (SELECT NULL FROM ALL_S Configure WHERE NAME = PRINCIPAL)) LOOP APEX_PUBLIC_ UPDATE XDB.XDB$ACL SET OBJECT_VALUE = Unlocking the DELETEXML(OBJECT_VALUE, APEX_PUBLIC_ '/ACL/ACE[PRINCIPAL="'||R.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID; Changing the for the END LOOP; APEX_PUBLIC_ ELSE and Install DELETE FROM XDB.XDB$ACL WHERE OBJECT_ID = ACL_ID; Oracle Application END IF; Express Listener Disabling Oracle XML END; DB Protocol Server / Configure RESTful Services Enable Network Services REM commit the changes. in Oracle Database 11g Granting Connect COMMIT; Privileges Troubleshooting an Once the ACL has been fixed, you must run the first script in this section to apply the ACL to the Invalid ACL Error APEX_040200 . See "Granting Connect Privileges". Security Considerations About Managing JOB_QUEUE_PROCESSES 3.4.6 Security Considerations Viewing the Number of JOB_QUEUE_PROCESSES Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that Changing the Number s and other sensitive data are not transmitted in clear text in HTTP requests. Without the use of JOB_QUEUE_PROCESSES of SSL, s could potentially be exposed, compromising security. About Developing Oracle Application Express in SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with Other Languages symmetric key cryptography to provide authentication, encryption, and data integrity. Installing a Translated Version of Oracle Application Express See Also: Create a Workspace and "Requiring HTTPS" in Oracle Application Express istration Guide Add Oracle Application Express s Creating a Workspace Manually 3.4.7 About Managing JOB_QUEUE_PROCESSES Creating Oracle Application Express JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. In Oracle s Logging in to Your
Hide Navigation
Application Express Release 4.2, transactional and SQL scripts require jobs. If JOB_QUEUE_PROCESSES is not enabled and working properly, you cannot successfully execute a script.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Topics: Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES
3.4.7.1 Viewing the Number of JOB_QUEUE_PROCESSES There are three ways to view the number of JOB_QUEUE_PROCESSES:
This Page In the installation log file Recommended On the About Application Express page in Oracle Application Express Pre-installation Tasks From SQL*Plus Choosing a Web Listener ing from OTN and 3.4.7.1.1 Viewing JOB_QUEUE_PROCESSES in the Installation Log File Configuring Oracle Application Express Listener Install the Oracle After installing or upgrading Oracle Application Express to Release 4.2, you can view the number of Database and Complete JOB_QUEUE_PROCESSES in the installation log files. See "Reviewing a Log of an Installation Session". Pre-installation Tasks and Install 3.4.7.1.2 Viewing JOB_QUEUE_PROCESSES in Oracle Application Express Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. Change the for the To view the About Application Express page: Restart Processes Configure 1. to Oracle Application Express. See "Logging in to Your Workspace". APEX_PUBLIC_ 2. Click the istration icon. Unlocking the APEX_PUBLIC_ 3. From the Tasks list, click About Application Express. Changing the The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. for the APEX_PUBLIC_ 3.4.7.1.3 Viewing JOB_QUEUE_PROCESSES from SQL*Plus and Install You can also view the number of JOB_QUEUE_PROCESSES from SQL*Plus by running the following SQL Oracle Application statement: Express Listener Disabling Oracle XML DB Protocol Server SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Configure RESTful Services 3.4.7.2 Changing the Number of JOB_QUEUE_PROCESSES Enable Network Services in Oracle Database 11g Granting Connect You can change the number of JOB_QUEUE_PROCESSES by running a SQL statement in SQL*Plus: Privileges Troubleshooting an To update the number of JOB_QUEUE_PROCESSES: Invalid ACL Error Security Considerations 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS About Managing specifying the SYSDBA role: JOB_QUEUE_PROCESSES Viewing the Number of On Windows: JOB_QUEUE_PROCESSES Changing the Number SYSTEM_DRIVE:\ sqlplus /nolog of JOB_QUEUE_PROCESSES SQL> CONNECT SYS as SYSDBA About Developing Oracle Enter : SYS_ Application Express in Other Languages On UNIX and Linux: Installing a Translated Version of Oracle $ sqlplus /nolog Application Express SQL> CONNECT SYS as SYSDBA Create a Workspace and Enter : SYS_ Add Oracle Application Express s 2. In SQL*Plus run the following SQL statement: Creating a Workspace Manually ALTER SYSTEM SET JOB_QUEUE_PROCESSES =
Creating Oracle Application Express s For example, running the statement ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 sets Logging in to Your
Hide Navigation
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
JOB_QUEUE_PROCESSES to 20.
3.4.8 About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German, Spanish, French, Italian, Japanese, Korean, Brazilian Portuguese, Simplified Chinese, and Traditional Chinese. A single instance of Oracle Application Express can be installed with one or more of these translated versions. Developers can choose to run the Application Express development environment in any of the installed languages by simply selecting the language from the Application Builder screen or home page.
In order to install other languages you must use the apex_4.2.zip file which contains the extra files This Page Recommended referenced below. If you previously ed apex_4.2_en.zip, then you do not need to re-install Pre-installation Tasks Oracle Application Express. Simply apex_4.2.zip and unzip the file into the same directory Choosing a Web Listener where you unzipped apex_4.2_en.zip. ing from OTN and Configuring Oracle The translated version of Oracle Application Express should be loaded into a database that has a Application Express Listener character set that s the specific language. If you attempt to install a translated version of Install the Oracle Database and Complete Oracle Application Express into a database that does not the character encoding of the Pre-installation Tasks language, the installation may fail or the translated Oracle Application Express instance may appear and Install corrupt when run. The database character set AL32UTF8 s all the translated versions of Oracle Oracle Application Application Express. Express Change the for You can manually install translated versions of Oracle Application Express using SQL*Plus. The the Restart Processes installation files are encoded in AL32UTF8. Configure APEX_PUBLIC_ Note: Unlocking the Regardless of the target database character set, to install a translated version of APEX_PUBLIC_ Oracle Application Express, you must set the character set value of the Changing the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. for the APEX_PUBLIC_ The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express and Install translations: Oracle Application Express Listener American_America.AL32UTF8 Disabling Oracle XML Japanese_Japan.AL32UTF8 DB Protocol Server Configure RESTful Services 3.4.8.1 Installing a Translated Version of Oracle Application Express Enable Network Services in Oracle Database 11g Granting Connect Whether you are installing for the first time or upgrading from a previous release, you must run the Privileges load_lang.sql script to run a translated version of Oracle Application Express. Troubleshooting an Invalid ACL Error The installation scripts are located in subdirectories identified by a language code in the unzipped Security Considerations distribution apex/builder. For example, the German version is located in apex/builder/de and the About Managing JOB_QUEUE_PROCESSES Japanese version is located in apex/builder/ja. Within each of directory, there is a language loading Viewing the Number of script identified by the language code (for example, load_de.sql or load_ja.sql). JOB_QUEUE_PROCESSES Changing the Number To install a translated version of Oracle Application Express: of JOB_QUEUE_PROCESSES 1. Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For About Developing Oracle example: Application Express in Other Languages Bourne or Korn shell: Installing a Translated Version of Oracle NLS_LANG=American_America.AL32UTF8 Application Express export NLS_LANG Create a Workspace and Add Oracle Application C shell: Express s Creating a Workspace setenv NLS_LANG American_America.AL32UTF8 Manually Creating Oracle Application Express For Windows based systems: s Logging in to Your
Hide Navigation
set NLS_LANG=American_America.AL32UTF8
2. Navigate to the directory under apex/builder based on the language you need to install. For This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
example for German, navigate to apex/builder/de. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
On UNIX and Linux: This Page Recommended $ sqlplus /nolog Pre-installation Tasks SQL> CONNECT SYS as SYSDBA Choosing a Web Listener ing from OTN and Enter : SYS_ Configuring Oracle Application Express Listener 3. Execute the following statement: Install the Oracle Database and Complete ALTER SESSION SET CURRENT_SCHEMA = APEX_040200; Pre-installation Tasks and Install 4. Execute the appropriate language specific script. For example: Oracle Application Express @load_lang.sql Change the for the Where lang is the specific language (for example, load_de.sql for German or load_ja.sql Restart Processes Configure for Japanese). APEX_PUBLIC_ 3.4.9 Configuring the SHARED_SERVERS Parameter Unlocking the APEX_PUBLIC_ The embedded PL/SQL gateway uses the shared server architecture of the Oracle database. To Changing the achieve acceptable performance when using the embedded PL/SQL gateway, ensure the for the SHARED_SERVERS database initialization parameter is set to a reasonable value (that is, not 0 or 1). APEX_PUBLIC_ For a small group of concurrent s, Oracle recommends a value of 5 for SHARED_SERVERS. and Install Consider the following example: Oracle Application Express Listener 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Disabling Oracle XML DB Protocol Server specifying the SYSDBA role. For example: Configure RESTful Services On Windows: Enable Network Services in Oracle Database 11g SYSTEM_DRIVE:\ sqlplus /nolog Granting Connect SQL> CONNECT SYS as SYSDBA Privileges Enter : SYS_ Troubleshooting an Invalid ACL Error On UNIX and Linux: Security Considerations About Managing $ sqlplus /nolog JOB_QUEUE_PROCESSES SQL> CONNECT SYS as SYSDBA Viewing the Number of Enter : SYS_ JOB_QUEUE_PROCESSES Changing the Number of 2. Run the following statement: JOB_QUEUE_PROCESSES About Developing Oracle ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE=BOTH; Application Express in Other Languages 3.4.10 Create a Workspace and Add Oracle Application Express Installing a Translated Version of Oracle s Application Express Create a Workspace and You access the Oracle Application Express home page by logging in to a workspace using a Web Add Oracle Application browser. Your Web browser must have JavaScript enabled. See "Browser Requirements". Express s Creating a Workspace A workspace is a virtual private database allowing multiple s to work within the same Oracle Manually Creating Oracle Application Express installation while keeping their objects, data and applications private. Each Application Express workspace has a unique ID and name. s Logging in to Your
Hide Navigation
An instance can create a workspace manually within Oracle Application Express istration Services or have s submit requests. Oracle Application Express istration Services is a separate application for managing an entire Oracle Application Express instance. See
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
"Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express istration Guide.
See Also:
Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express
This Page Topics: Recommended Pre-installation Tasks Creating a Workspace Manually Choosing a Web Listener Creating Oracle Application Express s ing from OTN and Configuring Oracle Logging in to Your Workspace Application Express Listener Install the Oracle 3.4.10.1 Creating a Workspace Manually Database and Complete Pre-installation Tasks and Install To create an Oracle Application Express workspace manually: Oracle Application Express 1. to Oracle Application Express istration Services. Oracle Application Express Change the for istration Services is a separate application for managing an entire Oracle Application the Express instance. You using the and created or reset during the Restart Processes Configure installation process. APEX_PUBLIC_ a. In a Web browser, navigate to the Oracle Application Express istration Services Unlocking the application. APEX_PUBLIC_ Because your setup uses the embedded PL/SQL gateway, go to: Changing the for the http://hostname:port/apex/apex_ APEX_PUBLIC_ Where: and Install Oracle Application hostname is the name of the system where Oracle XML DB Protocol server is installed. Express Listener Disabling Oracle XML port is the port number assigned to HTTP on the Oracle XML DB Protocol server. In a DB Protocol Server default installation, this number is 8080. Configure RESTful Services Enable Network Services apex is the database access descriptor (DAD) defined in the configuration file. in Oracle Database 11g Granting Connect b. On the page: Privileges Troubleshooting an In name, enter . Invalid ACL Error Security Considerations In , enter the Oracle Application Express About Managing you specified in "Change the for the ". JOB_QUEUE_PROCESSES Viewing the Number of Click to istration. JOB_QUEUE_PROCESSES Changing the Number of See Also: JOB_QUEUE_PROCESSES See "Logging in to Oracle Application Express istration Services" in About Developing Oracle Application Express in Oracle Application Express istration Guide. Other Languages Installing a Translated Version of Oracle Next, create a workspace. Application Express Create a Workspace and 2. Click Manage Workspaces. Add Oracle Application Express s 3. Under Workspace Actions, click Create Workspace. Creating a Workspace Manually The Create Workspace Wizard appears. Creating Oracle Application Express 4. For Identify Workspace, enter the following: s Logging in to Your
Hide Navigation
a. Workspace Name - Enter a unique workspace name. b. Workspace ID - Leave Workspace ID blank to have the new Workspace ID automatically
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
generated. A Workspace ID must be a positive integer greater than 100000. c. Workspace Description - Enter a workspace description. d. Click Next. 5. For Identify Schema, specify whether you are re-using an existing schema or creating a new one.
If you are using an existing schema: This Page Recommended a. For Re-use existing schema, select Yes. Pre-installation Tasks b. Select a schema from the list. Choosing a Web Listener c. Click Next. ing from OTN and Configuring Oracle If you are creating a new schema: Application Express Listener Install the Oracle a. For Re-use existing schema, select No. Database and Complete Pre-installation Tasks b. Enter a schema name and . and Install c. Specify a space quota. Oracle Application d. Click Next. Express Change the for 6. For Identify , enter the Workspace information and click Next. the Restart Processes 7. Confirm your selections and click Create Workspace. Configure APEX_PUBLIC_ 3.4.10.2 Creating Oracle Application Express s Unlocking the APEX_PUBLIC_ To create an Oracle Application Express : Changing the 1. to Oracle Application Express istration Services as described in the previous section. for the APEX_PUBLIC_ See "Logging in to Oracle Application Express istration Services" in Oracle Application Express istration Guide. and Install Oracle Application 2. Click the Manage Workspaces icon. Express Listener Disabling Oracle XML The istration page appears. DB Protocol Server Configure RESTful 3. Click Manage Developers and s. Services Enable Network Services 4. Click Create . in Oracle Database 11g Granting Connect The Create page appears. Privileges Troubleshooting an 5. Under Attributes, enter: Invalid ACL Error Security Considerations a. name - Enter the name used to to the system. Restrictions include: About Managing JOB_QUEUE_PROCESSES Maximum length of 100 characters Viewing the Number of No spaces JOB_QUEUE_PROCESSES Changing the Number Only these special characters are permitted: ampersand (@) and period (.) of JOB_QUEUE_PROCESSES b. Email Address - Enter the valid email address for this . About Developing Oracle Application Express in c. First Name - Enter the first or given name to further identify the . Other Languages Installing a Translated d. Last Name - Enter the last or family name to further identify the . Version of Oracle Application Express e. Description - Enter comments about this . Create a Workspace and Add Oracle Application f. Default Date Format - Enter the default Oracle date format for the . This controls Express s the default date format within SQL Workshop. Creating a Workspace Manually 6. Under Privileges: Creating Oracle Application Express a. Workspace - Select a workspace from the list. s Logging in to Your
Hide Navigation
b. Default Schemas - Specify the default schema used for data browsing, application creation, and SQL script execution.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
When using workspaces that have more than one schema available, this schema is the default. This setting does not control security, only the 's preference. c. is a workspace - Specify if this should have workspace privileges. s are given access to all components. Additionally, they can manage s, groups, and development services. Components may not be available if they are
switched off by Instance s. This Page d. is a developer - Specify if this should have developer privileges. Recommended Pre-installation Tasks Developers must have access to either Application Builder, SQL Workshop, or both. These Choosing a Web Listener ing from OTN and components may not be available if they are switched off by the Instance . Configuring Oracle Application Express Listener e. Application Builder Access - Determines whether a developer has access to the Install the Oracle Application Builder. Database and Complete Pre-installation Tasks f. SQL Workshop Access - Determines whether a developer has access to the SQL and Install Workshop. Oracle Application Express g. Team Development Access - Determines whether a developer has access to the Team Change the for Development. the Restart Processes Configure h. Set Availability - Select Locked to prevent the from being used. APEX_PUBLIC_ Select Unlocked to allow the to be used. Unlocking the If the has exceeded the maximum failures allowed, specified in Workspace APEX_PUBLIC_ Preferences, then their will be locked automatically. Changing the 7. Under : for the APEX_PUBLIC_ - Enter a case sensitive . and Install Confirm - Enter the again. Oracle Application Express Listener Require Change of On First Use - Select No to allow the to use the Disabling Oracle XML same until it expires. Select Yes to require the to change the DB Protocol Server Configure RESTful immediately when logging in the first time. Services Enable Network Services 8. Click Create or Create and Create Another. in Oracle Database 11g Granting Connect 3.4.10.3 Logging in to Your Workspace Privileges Troubleshooting an Invalid ACL Error Once you create a workspace, you must to it using your credentials (that is, the workspace Security Considerations name, name, and ). About Managing JOB_QUEUE_PROCESSES Viewing the Number of See Also: JOB_QUEUE_PROCESSES Changing the Number See "Creating Workspaces" and "Managing Workspace Requests" in Oracle of Application Express istration Guide JOB_QUEUE_PROCESSES About Developing Oracle Application Express in To to your workspace: Other Languages Installing a Translated 1. In a Web browser, navigate to the Oracle Application Express page. Version of Oracle Application Express Because your setup uses the embedded PL/SQL gateway, go to: Create a Workspace and Add Oracle Application http://hostname:port/apex/ Express s Creating a Workspace Where: Manually Creating Oracle hostname is the name of the system where Oracle XML DB Protocol server is installed. Application Express s Logging in to Your
Hide Navigation
port is the port number assigned to HTTP on the Oracle XML DB Protocol server. In a
default installation, this number is 8080. This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
apex is the database access descriptor (DAD) defined in the configuration file.
For s who have upgraded from earlier releases, or who have a custom configuration, this value may be htmldb or something else. your DAD with your Oracle Application Express . The page appears. 2. Under , enter the following:
This Page Workspace field - Enter the name of your workspace. Recommended name field - Enter your name. Pre-installation Tasks Choosing a Web Listener field - Enter your case-sensitive . ing from OTN and Configuring Oracle 3. Click . Application Express Listener Install the Oracle Note that, depending on your setup, you might be required to change your when you Database and Complete for the first time. Pre-installation Tasks and Install 3.5 ing from OTN and Configuring Oracle HTTP Oracle Application Express Server Change the for the This section describes how to install Oracle Application Express by ing a ZIP file from OTN Restart Processes and then configuring Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Configure APEX_PUBLIC_ Oracle Application Server 10g. Unlocking the Topics: APEX_PUBLIC_ Install the Oracle Database and Complete Pre-installation Tasks Changing the for the and Install Oracle Application Express APEX_PUBLIC_ Change the for the and Install Oracle Application Restart Processes Express Listener Disabling Oracle XML Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server DB Protocol Server 10g Configure RESTful Services Enable Network Services in Oracle Database 11g Enable Network Services in Oracle Database 11g Security Considerations Granting Connect Privileges About Managing JOB_QUEUE_PROCESSES Troubleshooting an Invalid ACL Error About Running Oracle Application Express in Other Languages Security Considerations About Managing About Obfuscating PlsqlDatabase Parameter JOB_QUEUE_PROCESSES Viewing the Number of Create a Workspace and Add Oracle Application Express s JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES See Also: About Developing Oracle "About the Oracle Application Express Runtime Environment" Application Express in Other Languages Installing a Translated 3.5.1 Install the Oracle Database and Complete Pre-installation Version of Oracle Application Express Tasks Create a Workspace and Add Oracle Application Oracle Application Express requires an Oracle database that is Release 10.2.0.4 or later or Oracle Express s Database 10g Express Edition. To learn more, see the Oracle Database Installation Guide for your Creating a Workspace operating environment and "Recommended Pre-installation Tasks". Manually Creating Oracle Application Express 3.5.2 and Install Oracle Application Express s Logging in to Your
Hide Navigation
To install Oracle Application Express: 1. For installations where the development will be in English only, the file
This Book
Entire Library
apex_4.2_en.zip from the Oracle Application Express page. Where the development
will include languages other than English, apex_4.2.zip from the Oracle Application
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
Express page. See:
Main Categories Security
Note that the actual file name may differ if a more recent release has shipped since this document was published.
This Page Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Application Express Listener Install the Oracle Database and Complete Pre-installation Tasks and Install Oracle Application Express Change the for the Restart Processes Configure APEX_PUBLIC_ Unlocking the APEX_PUBLIC_ Changing the for the APEX_PUBLIC_ and Install Oracle Application Express Listener Disabling Oracle XML DB Protocol Server Configure RESTful Services Enable Network Services in Oracle Database 11g Granting Connect Privileges Troubleshooting an Invalid ACL Error Security Considerations About Managing JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
http://www.oracle.com/technetwork/developer-tools/apex/s/index.html
2. Unzip ed zip file: If English only, unzip apex_4.2_en.zip as follows, preserving directory names: UNIX and Linux: $unzip apex_4.2_en.zip Windows: Double click the file apex_4.2_en.zip in Windows Explorer If multiple languages, unzip apex_4.2.zip as follows, preserving directory names: UNIX and Linux: $unzip apex_4.2.zip Windows: Double click the file apex_4.2.zip in Windows Explorer
Note: You should keep the directory tree where you unzip the files short and not under directories that contain spaces. For example, within Windows unzip to C:\TEMP.
3. Change your working directory to apex. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
5. Disable any existing complexity rules for the default profile. See "Configuring Protection" in Oracle Database Security Guide. 6. Select the appropriate installation option. Full development environment provides complete access to the Application Builder environment to develop applications. A Runtime environment enables s to run applications that cannot be modified. To learn more, see "About the Oracle Application Express Runtime Environment". Available installation options include: Full development environment. Run apexins.sql ing the following four arguments in the order shown: @apexins.sql tablespace_apex tablespace_files tablespace_temp images
Where: tablespace_apex is the name of the tablespace for the Oracle Application Express
Hide Navigation
application . tablespace_files is the name of the tablespace for the Oracle Application Express
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
files . tablespace_temp is the name of the temporary tablespace or tablespace group. images is the virtual directory for Oracle Application Express images. To
future Oracle Application Express upgrades, define the virtual image directory as /i/.
Example:
This Page @apexins.sql SYSAUX SYSAUX TEMP /i/ Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Note: Configuring Oracle If you receive the following error, please exit SQL*Plus and change Application Express Listener your working directory to apex: Install the Oracle Database and Complete SP2-0310: unable to open file "apexins.sql" Pre-installation Tasks and Install Oracle Application Express Runtime environment. Run apxrtins.sql ing the following arguments in the Change the for the order shown: Restart Processes Configure @apxrtins.sql tablespace_apex tablespace_files tablespace_temp images APEX_PUBLIC_ Where: Unlocking the APEX_PUBLIC_ tablespace_apex is the name of the tablespace for the Oracle Application Express application . Changing the for the tablespace_files is the name of the tablespace for the Oracle Application Express APEX_PUBLIC_ files . and Install Oracle Application tablespace_temp is the name of the temporary tablespace. Express Listener Disabling Oracle XML images is the virtual directory for Oracle Application Express images. To DB Protocol Server future Oracle Application Express upgrades, define the virtual image directory as Configure RESTful /i/. Services Enable Network Services Example: in Oracle Database 11g Granting Connect @apxrtins.sql SYSAUX SYSAUX TEMP /i/ Privileges Troubleshooting an Invalid ACL Error Security Considerations See Also: About Managing Oracle Database PL/SQL Language Reference for more information about JOB_QUEUE_PROCESSES SQL*Plus Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of When Oracle Application Express installs, it creates three new database s: JOB_QUEUE_PROCESSES About Developing Oracle APEX_040200 - The that owns the Oracle Application Express schema and metadata. Application Express in Other Languages FLOWS_FILES - The that owns the Oracle Application Express ed files. Installing a Translated Version of Oracle APEX_PUBLIC_ - The minimally privileged used for Oracle Application Express Application Express configuration with Oracle Application Express Listener or Oracle HTTP Server and mod_plsql. Create a Workspace and Add Oracle Application If you are upgrading from a previous release, then FLOWS_FILES already exists and Express s APEX_PUBLIC_ is created if it does not already exist. Creating a Workspace Manually Creating Oracle Application Express Tip: s Logging in to Your
Hide Navigation
Oracle Application Express must be installed from a writable directory on the file system. See "Reviewing a Log of an Installation Session".
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
3.5.3 Change the for the In a new installation of Oracle Application Express, or if you are converting a runtime environment to a development environment, you must change the of the internal . In an upgrade scenario, the will be preserved and carried over from the prior release.
Main Categories Security Tip: This Page You use the to to Oracle Application Express Recommended istration Services and manage an entire Oracle Application Express Pre-installation Tasks Choosing a Web Listener instance. ing from OTN and Configuring Oracle Application Express Listener To change the for the : Install the Oracle Database and Complete 1. Change your working directory to the apex directory where you unzipped the installation Pre-installation Tasks software. and Install Oracle Application 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Express Change the for specifying the SYSDBA role. For example: the Restart Processes On Windows: Configure APEX_PUBLIC_ SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Unlocking the Enter : SYS_ APEX_PUBLIC_ On UNIX and Linux: Changing the for the $ sqlplus /nolog APEX_PUBLIC_ SQL> CONNECT SYS as SYSDBA Enter : SYS_ and Install Oracle Application 3. Run apxchpwd.sql. For example: Express Listener Disabling Oracle XML DB Protocol Server @apxchpwd.sql Configure RESTful Services When prompted, enter a for the . Enable Network Services in Oracle Database 11g Granting Connect See Also: Privileges Oracle Database PL/SQL Language Reference for more information about Troubleshooting an Invalid ACL Error SQL*Plus Security Considerations About Managing JOB_QUEUE_PROCESSES 3.5.4 Restart Processes Viewing the Number of JOB_QUEUE_PROCESSES After you install Oracle Application Express, you must restart the processes that you stopped before Changing the Number of you began the installation. In addition, restart Oracle HTTP Server. JOB_QUEUE_PROCESSES About Developing Oracle 3.5.5 Configure Oracle HTTP Server Distributed with Oracle Application Express in Database 11g or Oracle Application Server 10g Other Languages Installing a Translated Version of Oracle This section describes how to configure Oracle HTTP Server with mod_plsql distributed with Oracle Application Express Database 11g or Oracle Application Server 10g. Create a Workspace and Add Oracle Application Topics: Express s Creating a Workspace Unlocking the APEX_PUBLIC_ Manually Changing the for the APEX_PUBLIC_ Creating Oracle Application Express Copying the Images Directory s Configuring Oracle HTTP Server 11g or Oracle Application Server 10g Logging in to Your
Hide Navigation
Disabling Oracle XML DB Protocol Server
3.5.5.1 Unlocking the APEX_PUBLIC_ This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
The APEX_PUBLIC_ is locked at the end of a new installation of Oracle Application Express. You must unlock this before configuring the database access descriptor (DAD) in a new installation.
Tip:
If you are upgrading from a prior release of Oracle Application Express, this step This Page is unnecessary. Recommended Pre-installation Tasks Choosing a Web Listener To unlock the APEX_PUBLIC_ : ing from OTN and Configuring Oracle 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Application Express Listener specifying the SYSDBA role. For example: Install the Oracle Database and Complete On Windows: Pre-installation Tasks and Install SYSTEM_DRIVE:\ sqlplus /nolog Oracle Application SQL> CONNECT SYS as SYSDBA Express Enter : SYS_ Change the for the Restart Processes On UNIX and Linux: Configure APEX_PUBLIC_ $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Unlocking the Enter : SYS_ APEX_PUBLIC_ 2. Run the following statement: Changing the for the ALTER APEX_PUBLIC_ UNLOCK APEX_PUBLIC_ and Install 3.5.5.2 Changing the for the APEX_PUBLIC_ Oracle Application Express Listener Disabling Oracle XML The APEX_PUBLIC_ is created with a random in a new installation of Oracle DB Protocol Server Application Express. You must change the for this before configuring the database Configure RESTful access descriptor (DAD) in a new installation. Services Enable Network Services in Oracle Database 11g Tip: Granting Connect Privileges If you are upgrading from a prior release of Oracle Application Express, this step Troubleshooting an is unnecessary. Invalid ACL Error Security Considerations About Managing To change the for the APEX_PUBLIC_ : JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: Changing the Number of JOB_QUEUE_PROCESSES On Windows: About Developing Oracle SYSTEM_DRIVE:\ sqlplus /nolog Application Express in Other Languages SQL> CONNECT SYS as SYSDBA Installing a Translated Enter : SYS_ Version of Oracle Application Express On UNIX and Linux: Create a Workspace and Add Oracle Application $ sqlplus /nolog Express s SQL> CONNECT SYS as SYSDBA Creating a Workspace Enter : SYS_ Manually Creating Oracle 2. Run the following statement: Application Express s Logging in to Your
Hide Navigation
ALTER APEX_PUBLIC_ IDENTIFIED BY new_
Where new_ is the new you are setting for APEX_PUBLIC_. You will use This Book
Entire Library
this when creating the DAD in the sections that follow.
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
3.5.5.2.1 About Expiration in Oracle Database 11g
Main Categories Security
APEX_PUBLIC_ to expire in 180 days. As a result, your Oracle Application Express instance will
In the default profile in Oracle Database 11g, the parameter _LIFE_TIME is set to 180. If you are using Oracle Database 11g with Oracle Application Express, this causes the for become unusable until you change the .
This Page To prevent this behavior, create another profile in which the _LIFE_TIME parameter is set to Recommended unlimited and alter the APEX_PUBLIC_ and assign it to the new profile. Pre-installation Tasks Choosing a Web Listener ing from OTN and See Also: Configuring Oracle Oracle Database Security Guide for information on creating profiles and Application Express Listener Install the Oracle asg them to database s. Database and Complete Pre-installation Tasks and Install 3.5.5.3 Copying the Images Directory Oracle Application Express Whether you are loading a new installation or upgrading from a previous release, you must copy the Change the for the images directory from the top level of the apex\images directory, for example C:\TEMP, to the Restart Processes location on the file system containing the Oracle home for Oracle HTTP Server. Configure APEX_PUBLIC_ Topics: Unlocking the Copying the Images Directory After an Upgrade APEX_PUBLIC_ Copying the Images Directory in a New Installation Changing the 3.5.5.3.1 Copying the Images Directory After an Upgrade for the APEX_PUBLIC_ During an upgrade, you overwrite your existing images directory. Before you begin the upgrade, to and Install ensure that you can revert to the previous version, Oracle recommends that you create a copy of your Oracle Application existing images directory for Oracle Application Express, indicating the release number of the images Express Listener (for example, images_3_1). Disabling Oracle XML DB Protocol Server To locate the images directory on the file system, review the following files for the text alias /i/: Configure RESTful Services Oracle Application Server 10g—see the marvel.conf files. Enable Network Services Oracle HTTP Server distributed with Oracle Database 11g—see the dads.conf files. in Oracle Database 11g Granting Connect Privileges When you locate the images directory path, copy the existing images directory to a backup location. Troubleshooting an Invalid ACL Error Use the following command syntax to copy the apex\images directory from the Oracle Database home Security Considerations to the existing images directory path, overwriting the existing images: About Managing JOB_QUEUE_PROCESSES Oracle Application Server 10g: Viewing the Number of JOB_QUEUE_PROCESSES On Windows: Changing the Number of xcopy /E /I APEX_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images JOB_QUEUE_PROCESSES About Developing Oracle On UNIX and Linux: Application Express in Other Languages -rf APEX_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache Installing a Translated Version of Oracle Oracle HTTP Server distributed with Oracle Database 11g: Application Express Create a Workspace and On Windows: Add Oracle Application Express s xcopy /E /I APEX_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\images Creating a Workspace Manually Creating Oracle On UNIX and Linux: Application Express -rf APEX_HOME/apex/images ORACLE_HTTPSERVER_HOME/ohs s Logging in to Your
Hide Navigation
In the preceding syntax examples: APEX_HOME is the directory where the Oracle Application Express software was unzipped, for
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
example C:\TEMP if installing on Windows. ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server
Oracle home.
3.5.5.3.2 Copying the Images Directory in a New Installation After installation, copy the directory apex/images.
Oracle Application Server 10g: This Page Recommended On Windows: Pre-installation Tasks Choosing a Web Listener xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images ing from OTN and Configuring Oracle On UNIX and Linux: Application Express Listener Install the Oracle -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache Database and Complete Pre-installation Tasks Oracle HTTP Server distributed with Oracle Database 11g: and Install Oracle Application On Windows: Express Change the for xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\images the Restart Processes Configure On UNIX and Linux: APEX_PUBLIC_ -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/ohs Unlocking the APEX_PUBLIC_ In the preceding syntax examples: Changing the ORACLE_HOME is the directory where the Oracle Application Express software was unzipped, for for the example C:\TEMP if installing on Windows. APEX_PUBLIC_ ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server and Install Oracle home. Oracle Application Express Listener Disabling Oracle XML 3.5.5.4 Configuring Oracle HTTP Server 11g or Oracle Application DB Protocol Server Server 10g Configure RESTful Services Enable Network Services Perform the following post installation steps outlined in this section. in Oracle Database 11g Granting Connect Topics: Privileges Troubleshooting an Editing the dads.conf File Invalid ACL Error Stopping and Restarting Oracle HTTP Server Security Considerations About Managing JOB_QUEUE_PROCESSES Note: Viewing the Number of JOB_QUEUE_PROCESSES Within the context of this document, ORACLE_HTTPSERVER_HOME is the location Changing the Number where Oracle HTTP Server is installed. of JOB_QUEUE_PROCESSES About Developing Oracle 3.5.5.4.1 Editing the dads.conf File Application Express in Other Languages If this is a new installation of Oracle Application Express, you must edit the dads.conf or Installing a Translated marvel.conf file. The dads.conf file contains the information about the Database Access Descriptor Version of Oracle Application Express (DAD) to access Oracle Application Express. Create a Workspace and Add Oracle Application To edit the dads.conf file: Express s Creating a Workspace 1. Use a text editor and open the dads.conf. Manually Creating Oracle Oracle Application Server 10g: Application Express s Logging in to Your
Hide Navigation
On Windows see: ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf\dads.conf
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
On UNIX and Linux see: ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf/dads.conf
Oracle HTTP Server distributed with Oracle Database 11g: On Windows see: ORACLE_HTTPSERVER_HOME\ohs\modplsql\conf\dads.conf
This Page Recommended On UNIX and Linux see: Pre-installation Tasks Choosing a Web Listener ORACLE_HTTPSERVER_HOME/ohs/modplsql/conf/dads.conf ing from OTN and Configuring Oracle 2. In the dads.conf file, replace ORACLE_HTTPSERVER_HOME, host, port, service_name, and Application Express Listener apex_public__ with values appropriate for your environment. Note that the Install the Oracle Database and Complete apex_public__ is the you changed in "Changing the for the Pre-installation Tasks APEX_PUBLIC_ ". and Install Oracle Application Note that the path listed is only an example. The path in the dads.conf file should reference the Express file system path described in "Copying the Images Directory". Change the for the Alias /i/ "ORACLE_HTTPSERVER_HOME/Apache/images/" Restart Processes Configure
APEX_PUBLIC_ Order deny,allow Unlocking the PlsqlDocumentPath docs APEX_PUBLIC_ AllowOverride None PlsqlDocumentProcedure wwv_flow_file_mgr.process_ Changing the PlsqlDatabaseConnectString host:port:service_name ServiceNameFormat for the PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8 APEX_PUBLIC_ PlsqlAuthenticationMode Basic SetHandler pls_handler and Install PlsqlDocumentTablename wwv_flow_file_objects$ Oracle Application PlsqlDatabasename APEX_PUBLIC_ Express Listener Disabling Oracle XML PlsqlDefaultPage apex DB Protocol Server PlsqlDatabase apex_public__ Configure RESTful PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize Services Allow from all Enable Network Services
in Oracle Database 11g Granting Connect 3. Locate the line containing PlsqlNLSLanguage. Privileges Troubleshooting an The PlsqlNLSLanguage setting determines the language setting of the DAD. The character set Invalid ACL Error Security Considerations portion of the PlsqlNLSLanguage value must be set to AL32UTF8, regardless of whether or not About Managing the database character set is AL32UTF8. For example: JOB_QUEUE_PROCESSES Viewing the Number of ... JOB_QUEUE_PROCESSES PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8 Changing the Number ... of JOB_QUEUE_PROCESSES 4. Save and exit the dads.conf file. About Developing Oracle Application Express in Other Languages 3.5.5.4.2 Stopping and Restarting Oracle HTTP Server Installing a Translated Version of Oracle To stop and restart Oracle HTTP Server: Application Express Create a Workspace and Windows: Add Oracle Application Express s If database is 10g and lower, execute the following: Creating a Workspace Manually ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl stopproc ias-component=HTTP_Server Creating Oracle ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl startproc ias-component=HTTP_Server Application Express s Logging in to Your
Hide Navigation
UNIX and Linux If database is 10g and lower, execute the following:
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl stopproc ias-component=HTTP_Server ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl startproc ias-component=HTTP_Server
Note: If you are using Oracle HTTP Server that is included with Oracle Fusion Middleware 11.1.1, you may need to replace the ias-component name above if the name given to the component was something other than HTTP_Server when
This Page it was installed. The default name is ohs1. Recommended Pre-installation Tasks Choosing a Web Listener 3.5.5.5 Disabling Oracle XML DB Protocol Server ing from OTN and Configuring Oracle Application Express Listener If you were previously using the embedded PL/SQL Gateway and now wish to use Oracle HTTP server Install the Oracle and mod_plsql, you need to disable the Oracle XML DB Protocol server. Database and Complete Pre-installation Tasks To disable Oracle XML DB Protocol server: and Install Oracle Application 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Express specifying the SYSDBA role. For example: Change the for the On Windows: Restart Processes Configure SYSTEM_DRIVE:\ sqlplus /nolog APEX_PUBLIC_ SQL> CONNECT SYS as SYSDBA Unlocking the Enter : SYS_ APEX_PUBLIC_ On UNIX and Linux: Changing the for the $ sqlplus /nolog APEX_PUBLIC_ SQL> CONNECT SYS as SYSDBA Enter : SYS_ and Install Oracle Application 2. Run the following command: Express Listener Disabling Oracle XML EXEC DBMS_XDB.SETHTTPPORT(0); DB Protocol Server Configure RESTful Services 3.5.6 Enable Network Services in Oracle Database 11g 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 Granting Connect Privileges 2. Therefore, if you are running Oracle Application Express with Oracle Database 11g Release 1 or 2, Troubleshooting an you must use the new DBMS_NETWORK_ACL_ package to grant connect privileges to any host for Invalid ACL Error the APEX_040200 database . Failing to grant these privileges results in issues with: Security Considerations About Managing Sending outbound mail in Oracle Application Express. s can call methods from the JOB_QUEUE_PROCESSES APEX_MAIL package, but issues arise when sending outbound email. Viewing the Number of JOB_QUEUE_PROCESSES Using Web services in Oracle Application Express. Changing the Number of PDF/report printing. JOB_QUEUE_PROCESSES About Developing Oracle Topics: Application Express in Other Languages Granting Connect Privileges Installing a Translated Version of Oracle Troubleshooting an Invalid ACL Error Application Express Create a Workspace and Add Oracle Application Tip: Express s To run the examples described in this section, the compatible initialization Creating a Workspace parameter of the database must be set to at least 11.1.0.0.0. By default an 11g Manually Creating Oracle database will already have the parameter set properly, but a database upgraded Application Express to 11g from a prior version may not. See "Creating and Configuring an Oracle s Logging in to Your
Database" in Oracle Database 's Guide for information about
Hide Navigation
changing database initialization parameters. This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
3.5.6.1 Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_040200 database . This example assumes you connected to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.
Main Categories Security
DECLARE ACL_PATH
VARCHAR2(4000);
This Page BEGIN Recommended -- Look for the ACL currently assigned to '*' and give APEX_040200 Pre-installation Tasks -- the "connect" privilege if APEX_040200 does not have the privilege yet. Choosing a Web Listener ing from OTN and Configuring Oracle SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS Application Express Listener WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Install the Oracle Database and Complete IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', Pre-installation Tasks 'connect') IS NULL THEN and Install DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH, Oracle Application 'APEX_040200', TRUE, 'connect'); Express END IF; Change the for the Restart Processes EXCEPTION Configure -- When no ACL has been assigned to '*'. APEX_PUBLIC_ WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_.CREATE_ACL('power_s.xml', Unlocking the 'ACL that lets power s to connect to everywhere', APEX_PUBLIC_ 'APEX_040200', TRUE, 'connect'); DBMS_NETWORK_ACL_.ASSIGN_ACL('power_s.xml','*'); Changing the END; for the / APEX_PUBLIC_ COMMIT; and Install Oracle Application The following example demonstrates how to provide less privileged access to local network resources. Express Listener This example would enable indexing the Oracle Application Express Online Help and could possibly Disabling Oracle XML enable email and PDF printing if those servers were also on the local host. DB Protocol Server Configure RESTful DECLARE Services ACL_PATH VARCHAR2(4000); Enable Network Services BEGIN in Oracle Database 11g Granting Connect -- Look for the ACL currently assigned to 'localhost' and give APEX_040200 Privileges -- the "connect" privilege if APEX_040200 does not have the privilege yet. Troubleshooting an SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS Invalid ACL Error WHERE HOST = 'localhost' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Security Considerations About Managing IF DBMS_NETWORK_ACL_.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200', JOB_QUEUE_PROCESSES 'connect') IS NULL THEN Viewing the Number of DBMS_NETWORK_ACL_.ADD_PRIVILEGE(ACL_PATH, JOB_QUEUE_PROCESSES Changing the Number 'APEX_040200', TRUE, 'connect'); of END IF; JOB_QUEUE_PROCESSES About Developing Oracle EXCEPTION Application Express in -- When no ACL has been assigned to 'localhost'. Other Languages WHEN NO_DATA_FOUND THEN Installing a Translated DBMS_NETWORK_ACL_.CREATE_ACL('local-access-s.xml', Version of Oracle 'ACL that lets s to connect to localhost', Application Express 'APEX_040200', TRUE, 'connect'); Create a Workspace and Add Oracle Application DBMS_NETWORK_ACL_.ASSIGN_ACL('local-access-s.xml','localhost'); Express s END; Creating a Workspace / Manually COMMIT; Creating Oracle Application Express s 3.5.6.2 Troubleshooting an Invalid ACL Error Logging in to Your
Hide Navigation
If you receive an ORA-44416: Invalid ACL error after running the previous script, use the following query to identify the invalid ACL:
This Book
Entire Library
REM Show the dangling references to dropped s in the ACL that is assigned REM to '*'.
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
SELECT ACL, PRINCIPAL FROM DBA_NETWORK_ACLS NACL, XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL.ACLID = ACE.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL);
This Page Next, run the following code to fix the ACL: Recommended Pre-installation Tasks DECLARE Choosing a Web Listener ACL_ID RAW(16); ing from OTN and CNT NUMBER; Configuring Oracle BEGIN Application Express Listener -- Look for the object ID of the ACL currently assigned to '*' Install the Oracle SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS Database and Complete WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL; Pre-installation Tasks and Install -- If just some s referenced in the ACL are invalid, remove just those Oracle Application Express -- s in the ACL. Otherwise, drop the ACL completely. Change the for SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE the WHERE ACLID = ACL_ID AND Restart Processes EXISTS (SELECT NULL FROM ALL_S WHERE NAME = PRINCIPAL); Configure APEX_PUBLIC_ IF (CNT > 0) THEN Unlocking the FOR R IN (SELECT PRINCIPAL FROM XDS_ACE APEX_PUBLIC_ WHERE ACLID = ACL_ID AND Changing the NOT EXISTS (SELECT NULL FROM ALL_S for the WHERE NAME = PRINCIPAL)) LOOP APEX_PUBLIC_ UPDATE XDB.XDB$ACL SET OBJECT_VALUE = and Install DELETEXML(OBJECT_VALUE, Oracle Application '/ACL/ACE[PRINCIPAL="'||R.PRINCIPAL||'"]') Express Listener WHERE OBJECT_ID = ACL_ID; Disabling Oracle XML END LOOP; DB Protocol Server Configure RESTful Services ELSE Enable Network Services DELETE FROM XDB.XDB$ACL WHERE OBJECT_ID = ACL_ID; in Oracle Database 11g END IF; Granting Connect Privileges END; Troubleshooting an / Invalid ACL Error Security Considerations REM commit the changes. About Managing JOB_QUEUE_PROCESSES Viewing the Number of COMMIT; JOB_QUEUE_PROCESSES Changing the Number Once the ACL has been fixed, you must run the first script in this section to apply the ACL to the of APEX_040200 . See "Granting Connect Privileges". JOB_QUEUE_PROCESSES About Developing Oracle Application Express in 3.5.7 Security Considerations Other Languages Installing a Translated Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that Version of Oracle s and other sensitive data are not transmitted in clear text in HTTP requests. Without the use Application Express of SSL, s could potentially be exposed, compromising security. Create a Workspace and Add Oracle Application SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with Express s Creating a Workspace symmetric key cryptography to provide authentication, encryption, and data integrity. Manually Creating Oracle 3.5.8 About Managing JOB_QUEUE_PROCESSES Application Express s Logging in to Your
Hide Navigation
JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. In Oracle
Application Express Release 4.2, transactional and SQL scripts require jobs. If JOB_QUEUE_PROCESSES is not enabled and working properly, you cannot successfully execute a script.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Topics: Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES
3.5.8.1 Viewing the Number of JOB_QUEUE_PROCESSES
There are three ways to view the number of JOB_QUEUE_PROCESSES: This Page Recommended In the installation log file Pre-installation Tasks On the About Application Express page in Oracle Application Express Choosing a Web Listener ing from OTN and From SQL*Plus Configuring Oracle Application Express Listener 3.5.8.1.1 Viewing JOB_QUEUE_PROCESSES in the Installation Log File Install the Oracle Database and Complete After installing or upgrading Oracle Application Express to Release 4.2, you can view the number of Pre-installation Tasks JOB_QUEUE_PROCESSES in the installation log files. See "Reviewing a Log of an Installation Session". and Install Oracle Application 3.5.8.1.2 Viewing JOB_QUEUE_PROCESSES in Oracle Application Express Express Change the for You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. the Restart Processes To view the About Application Express page: Configure APEX_PUBLIC_ 1. to Oracle Application Express. See "Logging in to Your Workspace". Unlocking the 2. Click the istration icon. APEX_PUBLIC_ 3. From the Tasks list, click About Application Express. Changing the for the The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. APEX_PUBLIC_ 3.5.8.1.3 Viewing JOB_QUEUE_PROCESSES from SQL*Plus and Install Oracle Application You can also view the number of JOB_QUEUE_PROCESSES from SQL*Plus by running the following SQL Express Listener Disabling Oracle XML statement: DB Protocol Server Configure RESTful SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Services Enable Network Services in Oracle Database 11g 3.5.8.2 Changing the Number of JOB_QUEUE_PROCESSES Granting Connect Privileges You can change the number of JOB_QUEUE_PROCESSES by running a SQL statement in SQL*Plus: Troubleshooting an Invalid ACL Error To update the number of JOB_QUEUE_PROCESSES: Security Considerations About Managing 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS JOB_QUEUE_PROCESSES Viewing the Number of specifying the SYSDBA role: JOB_QUEUE_PROCESSES Changing the Number On Windows: of JOB_QUEUE_PROCESSES SYSTEM_DRIVE:\ sqlplus /nolog About Developing Oracle SQL> CONNECT SYS as SYSDBA Application Express in Enter : SYS_ Other Languages Installing a Translated On UNIX and Linux: Version of Oracle Application Express $ sqlplus /nolog Create a Workspace and SQL> CONNECT SYS as SYSDBA Add Oracle Application Enter : SYS_ Express s Creating a Workspace Manually 2. In SQL*Plus run the following SQL statement: Creating Oracle Application Express ALTER SYSTEM SET JOB_QUEUE_PROCESSES =
s Logging in to Your
Hide Navigation
For example, running the statement ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
3.5.9 About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German, Spanish, French, Italian, Japanese, Korean, Brazilian Portuguese, Simplified Chinese, and Traditional Chinese. A single instance of Oracle Application Express can be installed with one or more of these translated versions. Developers can choose to run the Application Express development environment in any of the installed languages by
simply selecting the language from the Application Builder screen or home page. This Page Recommended In order to install other languages you must use the apex_4.2.zip file which contains the extra files Pre-installation Tasks referenced below. If you previously ed apex_4.2_en.zip, then you do not need to re-install Choosing a Web Listener Oracle Application Express. Simply apex_4.2.zip and unzip the file into the same directory ing from OTN and where you unzipped apex_4.2_en.zip. Configuring Oracle Application Express Listener The translated version of Oracle Application Express should be loaded into a database that has a Install the Oracle Database and Complete character set that s the specific language. If you attempt to install a translated version of Pre-installation Tasks Oracle Application Express into a database that does not the character encoding of the and Install language, the installation may fail or the translated Oracle Application Express instance may appear Oracle Application corrupt when run. The database character set AL32UTF8 s all the translated versions of Oracle Express Change the for Application Express. the Restart Processes You can manually install translated versions of Oracle Application Express using SQL*Plus. The Configure installation files are encoded in AL32UTF8. APEX_PUBLIC_ Unlocking the Note: APEX_PUBLIC_ Regardless of the target database character set, to install a translated version of Changing the Oracle Application Express, you must set the character set value of the for the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. APEX_PUBLIC_ and Install The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express Oracle Application translations: Express Listener Disabling Oracle XML American_America.AL32UTF8 DB Protocol Server Configure RESTful Japanese_Japan.AL32UTF8 Services Enable Network Services 3.5.9.1 Installing a Translated Version of Oracle Application Express in Oracle Database 11g Granting Connect Privileges Whether you are installing for the first time or upgrading from a previous release, you must run the Troubleshooting an load_lang.sql script to run a translated version of Oracle Application Express. Invalid ACL Error Security Considerations The installation scripts are located in subdirectories identified by a language code in the unzipped About Managing JOB_QUEUE_PROCESSES distribution apex/builder. For example, the German version is located in apex/builder/de and the Viewing the Number of Japanese version is located in apex/builder/ja. Within each of directory, there is a language loading JOB_QUEUE_PROCESSES script identified by the language code (for example, load_de.sql or load_ja.sql). Changing the Number of JOB_QUEUE_PROCESSES To install a translated version of Oracle Application Express: About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
1. Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For example: Bourne or Korn shell: NLS_LANG=American_America.AL32UTF8 export NLS_LANG
C shell: setenv NLS_LANG American_America.AL32UTF8
Hide Navigation
For Windows based systems: set NLS_LANG=American_America.AL32UTF8
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
2. Navigate to the directory under apex/builder based on the language you need to install. For example for German, navigate to apex/builder/de. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: On Windows: SYSTEM_DRIVE:\ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA This Page Enter : SYS_ Recommended Pre-installation Tasks Choosing a Web Listener On UNIX and Linux: ing from OTN and Configuring Oracle $ sqlplus /nolog Application Express Listener SQL> CONNECT SYS as SYSDBA Install the Oracle Enter : SYS_ Database and Complete Pre-installation Tasks 3. Execute the following statement: and Install Oracle Application ALTER SESSION SET CURRENT_SCHEMA = APEX_040200; Express Change the for 4. Execute the appropriate language specific script. For example: the Restart Processes @load_lang.sql Configure APEX_PUBLIC_ Where lang is the specific language (for example, load_de.sql for German or load_ja.sql Unlocking the for Japanese). APEX_PUBLIC_ Changing the 3.5.10 About Obfuscating PlsqlDatabase Parameter for the APEX_PUBLIC_ The PlsqlDatabase parameter specifies the for logging in to the database. You can use the dadTool.pl utility to obfuscate s in the dads.conf file. and Install Oracle Application You can find the dadTool.pl utility in the following directory: Express Listener Disabling Oracle XML For UNIX and Linux based systems: DB Protocol Server Configure RESTful ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf Services Enable Network Services For Windows based systems: in Oracle Database 11g Granting Connect ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf Privileges Troubleshooting an Invalid ACL Error 3.5.10.1 Obfuscating s Security Considerations About Managing JOB_QUEUE_PROCESSES To obfuscate s, run dadTool.pl by following the instructions in the dadTool.REE file. Viewing the Number of JOB_QUEUE_PROCESSES 3.5.11 Create a Workspace and Add Oracle Application Express Changing the Number of s JOB_QUEUE_PROCESSES About Developing Oracle You access the Oracle Application Express home page by logging in to a workspace using a Web Application Express in browser. Your Web browser must have JavaScript enabled. See "Browser Requirements". Other Languages Installing a Translated A workspace is a virtual private database allowing multiple s to work within the same Oracle Version of Oracle Application Express Application Express installation while keeping their objects, data and applications private. Each Create a Workspace and workspace has a unique ID and name. Add Oracle Application Express s An instance can create a workspace manually within Oracle Application Express Creating a Workspace istration Services or have s submit requests. Oracle Application Express istration Manually Services is a separate application for managing an entire Oracle Application Express instance. See Creating Oracle "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Application Express s istration Guide. Logging in to Your
See Also:
Hide Navigation
Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
Topics: Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your Workspace
3.5.11.1 Creating a Workspace Manually This Page Recommended Pre-installation Tasks To create an Oracle Application Express workspace manually: Choosing a Web Listener ing from OTN and 1. to Oracle Application Express istration Services. Oracle Application Express Configuring Oracle istration Services is a separate application for managing an entire Oracle Application Application Express Listener Express instance. You using the and created or reset during the Install the Oracle Database and Complete installation process. Pre-installation Tasks and Install a. In a Web browser, navigate to the Oracle Application Express istration Services Oracle Application application. Express Change the for Because your setup uses Apache and mod_plsql, go to: the Restart Processes http://hostname:port/pls/apex/apex_ Configure APEX_PUBLIC_ Where: Unlocking the hostname is the name of the system where Oracle HTTP Server is installed. APEX_PUBLIC_ port is the port number assigned to Oracle HTTP Server. In a default installation, this Changing the for the number is 7777. APEX_PUBLIC_ pls is the indicator to use the mod_plsql cartridge. and Install Oracle Application apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. Express Listener Disabling Oracle XML b. On the page: DB Protocol Server Configure RESTful In name, enter . Services Enable Network Services In , enter the Oracle Application Express in Oracle Database 11g you specified in "Change the for the ". Granting Connect Privileges Click to istration. Troubleshooting an Invalid ACL Error Security Considerations See Also: About Managing JOB_QUEUE_PROCESSES See "Logging in to Oracle Application Express istration Services" in Viewing the Number of Oracle Application Express istration Guide. JOB_QUEUE_PROCESSES Changing the Number of Next, create a workspace. JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
2. Click Manage Workspaces. 3. Under Workspace Actions, click Create Workspace. The Create Workspace Wizard appears. 4. For Identify Workspace, enter the following: a. Workspace Name - Enter a unique workspace name. b. Workspace ID - Leave Workspace ID blank to have the new Workspace ID automatically generated. A Workspace ID must be a positive integer greater than 100000.
Hide Navigation
c. Workspace Description - Enter a workspace description. d. Click Next.
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
5. For Identify Schema, specify whether you are re-using an existing schema or creating a new one. If you are using an existing schema: a. For Re-use existing schema, select Yes. b. Select a schema from the list. c. Click Next.
This Page If you are creating a new schema: Recommended Pre-installation Tasks a. For Re-use existing schema, select No. Choosing a Web Listener b. Enter a schema name and . ing from OTN and Configuring Oracle c. Specify a space quota. Application Express Listener d. Click Next. Install the Oracle Database and Complete 6. For Identify , enter the Workspace information and click Next. Pre-installation Tasks and Install 7. Confirm your selections and click Create Workspace. Oracle Application Express Change the for 3.5.11.2 Creating Oracle Application Express s the Restart Processes To create an Oracle Application Express : Configure APEX_PUBLIC_ 1. to Oracle Application Express istration Services as described in the previous section. See "Logging in to Oracle Application Express istration Services" in Oracle Application Unlocking the Express istration Guide. APEX_PUBLIC_ Changing the 2. Click the Manage Workspaces icon. for the APEX_PUBLIC_ The istration page appears. and Install 3. Click Manage Developers and s. Oracle Application Express Listener 4. Click Create . Disabling Oracle XML DB Protocol Server The Create page appears. Configure RESTful Services 5. Under Attributes, enter: Enable Network Services in Oracle Database 11g a. name - Enter the name used to to the system. Restrictions include: Granting Connect Privileges Maximum length of 100 characters Troubleshooting an No spaces Invalid ACL Error Only these special characters are permitted: ampersand (@) and period (.) Security Considerations About Managing b. Email Address - Enter the valid email address for this . JOB_QUEUE_PROCESSES Viewing the Number of c. First Name - Enter the first or given name to further identify the . JOB_QUEUE_PROCESSES Changing the Number d. Last Name - Enter the last or family name to further identify the . of JOB_QUEUE_PROCESSES e. Description - Enter comments about this . About Developing Oracle Application Express in f. Default Date Format - Enter the default Oracle date format for the . This controls Other Languages Installing a Translated the default date format within SQL Workshop. Version of Oracle Application Express 6. Under Privileges: Create a Workspace and Add Oracle Application a. Workspace - Select a workspace from the list. Express s Creating a Workspace b. Default Schemas - Specify the default schema used for data browsing, application Manually creation, and SQL script execution. Creating Oracle Application Express When using workspaces that have more than one schema available, this schema is the s Logging in to Your
Hide Navigation
default. This setting does not control security, only the 's preference. c. is a workspace - Specify if this should have workspace
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
privileges. s are given access to all components. Additionally, they can manage s, groups, and development services. Components may not be available if they are switched off by Instance s. d. is a developer - Specify if this should have developer privileges. Developers must have access to either Application Builder, SQL Workshop, or both. These
components may not be available if they are switched off by the Instance . This Page Recommended e. Application Builder Access - Determines whether a developer has access to the Pre-installation Tasks Application Builder. Choosing a Web Listener ing from OTN and Configuring Oracle f. SQL Workshop Access - Determines whether a developer has access to the SQL Application Express Listener Workshop. Install the Oracle Database and Complete g. Team Development Access - Determines whether a developer has access to the Team Pre-installation Tasks Development. and Install Oracle Application h. Set Availability - Select Locked to prevent the from being used. Express Select Unlocked to allow the to be used. Change the for the If the has exceeded the maximum failures allowed, specified in Workspace Restart Processes Configure Preferences, then their will be locked automatically. APEX_PUBLIC_ 7. Under : Unlocking the APEX_PUBLIC_ - Enter a case sensitive . Changing the Confirm - Enter the again. for the APEX_PUBLIC_ Require Change of On First Use - Select No to allow the to use the same until it expires. Select Yes to require the to change the and Install immediately when logging in the first time. Oracle Application Express Listener 8. Click Create or Create and Create Another. Disabling Oracle XML DB Protocol Server Configure RESTful 3.5.11.3 Logging in to Your Workspace Services Enable Network Services Once you create a workspace, you must to it using your credentials (that is, the workspace in Oracle Database 11g Granting Connect name, name, and ). Privileges Troubleshooting an Invalid ACL Error See Also: Security Considerations See "Creating Workspaces" and "Managing Workspace Requests" in Oracle About Managing Application Express istration Guide JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number To to your workspace: of JOB_QUEUE_PROCESSES 1. In a Web browser, navigate to the Oracle Application Express page. About Developing Oracle Application Express in Because your setup uses the HTTP server, go to: Other Languages Installing a Translated http://hostname:port/pls/apex/ Version of Oracle Application Express Where: Create a Workspace and Add Oracle Application hostname is the name of the system where Oracle HTTP Server is installed. Express s Creating a Workspace port is the port number assigned to the Oracle HTTP Server. In a default installation, this Manually number is 7777. Creating Oracle Application Express pls is the indicator to use the mod_plsql cartridge. s Logging in to Your
Hide Navigation
apex is the database access descriptor (DAD) defined in the configuration file.
For s who have upgraded from earlier releases, or who have a custom configuration, This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
this value may be htmldb or something else. your DAD with your Oracle Application Express . The page appears. 2. Under , enter the following: Workspace field - Enter the name of your workspace. name field - Enter your name.
field - Enter your case-sensitive . This Page Recommended 3. Click . Pre-installation Tasks Choosing a Web Listener Note that, depending on your setup, you might be required to change your when you ing from OTN and Configuring Oracle for the first time. Application Express Listener Install the Oracle 3.6 Post Installation Tasks for Upgrade Installations Database and Complete Pre-installation Tasks Once you have verified that your upgrade installation was successful and all upgraded applications and Install Oracle Application function properly, you should remove schemas from prior Oracle Application Express installations. Express Change the for Topics: the Restart Processes Remove Prior Oracle Application Express Installations Configure Fix Invalid ACL in Oracle Database 11g APEX_PUBLIC_ 3.6.1 Remove Prior Oracle Application Express Installations Unlocking the APEX_PUBLIC_ The database s associated with schemas from prior installations are privileged s and should Changing the be removed when they are no longer necessary. Removing schemas from a prior installation is a two for the step process. First you if a prior installation exists and then you remove the schemas. APEX_PUBLIC_ and Install 3.6.1.1 if a Prior Installation Exists Oracle Application Express Listener To if a prior installation exists: Disabling Oracle XML DB Protocol Server 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as Configure RESTful Services SYS. For example: Enable Network Services in Oracle Database 11g On Windows: Granting Connect Privileges SYSTEM_DRIVE:\ sqlplus /nolog Troubleshooting an SQL> CONNECT SYS as SYSDBA Invalid ACL Error Enter : SYS_ Security Considerations About Managing On UNIX and Linux: JOB_QUEUE_PROCESSES Viewing the Number of $ sqlplus /nolog JOB_QUEUE_PROCESSES SQL> CONNECT SYS as SYSDBA Changing the Number Enter : SYS_ of JOB_QUEUE_PROCESSES About Developing Oracle 2. Run the following query: Application Express in Other Languages SELECT name Installing a Translated FROM dba_s Version of Oracle WHERE (name LIKE 'FLOWS_%' OR NAME LIKE 'APEX_%') Application Express AND NAME NOT IN ( Create a Workspace and SELECT 'FLOWS_FILES' Add Oracle Application FROM DUAL Express s UNION Creating a Workspace SELECT 'APEX_PUBLIC_' FROM DUAL Manually Creating Oracle UNION Application Express SELECT SCHEMA s s Logging in to Your
Hide Navigation
FROM dba_registry WHERE comp_id = 'APEX');
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
If the results contain entries in the form FLOWS_XXXXXX or APEX_XXXXXX where XXXXXX represents six numbers, those entries are candidates for removal.
3.6.1.2 Remove Schemas from Prior Installations To remove schemas from prior installations: 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS
specifying the SYSDBA role. For example: This Page Recommended On Windows: Pre-installation Tasks Choosing a Web Listener SYSTEM_DRIVE:\ sqlplus /nolog ing from OTN and SQL> CONNECT SYS as SYSDBA Configuring Oracle Enter : SYS_ Application Express Listener Install the Oracle Database and Complete On UNIX and Linux: Pre-installation Tasks and Install $ sqlplus /nolog Oracle Application SQL> CONNECT SYS as SYSDBA Express Enter : SYS_ Change the for the 2. Execute a statement similar to the following example: Restart Processes Configure DROP FLOWS_030000 CASCADE; APEX_PUBLIC_ Unlocking the 3.6.2 Fix Invalid ACL in Oracle Database 11g APEX_PUBLIC_ Changing the After following the instructions in"Remove Prior Oracle Application Express Installations", you may need to fix an invalid ACL if you are running Oracle Database 11g and you enabled network services for the APEX_PUBLIC_ for the prior Oracle Application Express schema. and Install To fix an invalid ACL: Oracle Application Express Listener 1. Change your working directory to the apex directory where you unzipped the installation Disabling Oracle XML software. DB Protocol Server Configure RESTful 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Services specifying the SYSDBA role. For example: Enable Network Services in Oracle Database 11g On Windows: Granting Connect Privileges SYSTEM_DRIVE:\ sqlplus /nolog Troubleshooting an SQL> CONNECT SYS as SYSDBA Invalid ACL Error Security Considerations Enter : SYS_ About Managing JOB_QUEUE_PROCESSES On UNIX and Linux: Viewing the Number of JOB_QUEUE_PROCESSES $ sqlplus /nolog Changing the Number SQL> CONNECT SYS as SYSDBA of Enter : SYS_ JOB_QUEUE_PROCESSES About Developing Oracle 3. Execute a statement similar to following: Application Express in Other Languages EXEC DBMS_NETWORK_ACL_.DELETE_PRIVILEGE('power_s.xml', 'FLOWS_030000'); Installing a Translated Version of Oracle Application Express 3.7 Performance Optimization Tasks Create a Workspace and Add Oracle Application Performance of web applications heavily depend on their size and how often a browser has to request Express s static content like images, CSS and JavaScript files. To improve performance, most web servers allow Creating a Workspace Manually you to enable on-the-fly file compression and settings on how long browsers can cache a file. Please Creating Oracle see your web server manual on how to enable gzip compression and setting the expired header Application Express attribute for optimal performance of your Application Express application. s Logging in to Your
Hide Navigation
This Book
Entire Library
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search Main Categories Security
3.8 About the Oracle Application Express Runtime Environment The Oracle Application Express runtime environment enables s to run a production application without ing the ability to change or edit the application. It includes only the packages necessary to run your applications, making it a more hardened environment. It does not provide a Web interface for istration. You ister the Oracle Application Express runtime environment using SQL*Plus or SQL Developer and the APEX_INSTANCE_ API. To learn more see, "Managing a Runtime Environment" and in
Oracle Application Express Application Builder 's Guide. This Page Topics: Recommended Pre-installation Tasks Converting a Runtime Environment to a Full Development Environment Choosing a Web Listener ing from OTN and Converting a Full Development Environment to a Runtime Environment Configuring Oracle Application Express Listener 3.8.1 Converting a Runtime Environment to a Full Development Install the Oracle Database and Complete Environment Pre-installation Tasks and Install To convert an Oracle Application Express runtime environment to a full development environment: Oracle Application Express 1. Change your working directory to the apex directory where you unzipped the installation Change the for software. the Restart Processes 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Configure specifying the SYSDBA role. For example: APEX_PUBLIC_ Unlocking the On Windows: APEX_PUBLIC_ SYSTEM_DRIVE:\ sqlplus /nolog Changing the SQL> CONNECT SYS as SYSDBA for the Enter : SYS_ APEX_PUBLIC_ On UNIX and Linux: and Install Oracle Application $ sqlplus /nolog Express Listener SQL> CONNECT SYS as SYSDBA Disabling Oracle XML Enter : SYS_ DB Protocol Server Configure RESTful 3. Run apxdvins.sql. For example: Services Enable Network Services @apxdvins.sql in Oracle Database 11g Granting Connect Privileges 4. Follow the instructions in "Change the for the ". Troubleshooting an Invalid ACL Error Security Considerations See Also: About Managing Oracle Database PL/SQL Language Reference for more information about JOB_QUEUE_PROCESSES SQL*Plus Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of 3.8.2 Converting a Full Development Environment to a Runtime JOB_QUEUE_PROCESSES Environment About Developing Oracle Application Express in Other Languages Export all Websheet applications prior to converting a full development environment to a runtime Installing a Translated environment. When you convert a development environment to runtime, existing Websheet data grids Version of Oracle and reports will be deleted from all workspaces. Converting the environment back to a full Application Express development environment will not restore these Websheet data grids or reports. Create a Workspace and Add Oracle Application To convert an Oracle Application Express full development environment to a runtime environment: Express s Creating a Workspace 1. Change your working directory to the apex directory where you unzipped the installation Manually Creating Oracle software. Application Express s 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS Logging in to Your
Hide Navigation
specifying the SYSDBA role. For example: On Windows:
This Book
Entire Library
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA
Quick Lookup Home · Master Index · Master Glossary · Master Book List · Advanced Search
Enter : SYS_
On UNIX and Linux:
Main Categories Security This Page Recommended Pre-installation Tasks Choosing a Web Listener ing from OTN and Configuring Oracle Application Express Listener Install the Oracle Database and Complete Pre-installation Tasks and Install Oracle Application Express Change the for the Restart Processes Configure APEX_PUBLIC_ Unlocking the APEX_PUBLIC_ Changing the for the APEX_PUBLIC_ and Install Oracle Application Express Listener Disabling Oracle XML DB Protocol Server Configure RESTful Services Enable Network Services in Oracle Database 11g Granting Connect Privileges Troubleshooting an Invalid ACL Error Security Considerations About Managing JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES About Developing Oracle Application Express in Other Languages Installing a Translated Version of Oracle Application Express Create a Workspace and Add Oracle Application Express s Creating a Workspace Manually Creating Oracle Application Express s Logging in to Your
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter : SYS_
3. Run apxdevrm.sql. For example: @apxdevrm.sql
See Also:
Oracle Database PL/SQL Language Reference for more information about SQL*Plus
Reader Comment subject from
[email protected]
Anonymous
Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the and conditions. Use the OTN forums for product questions. For or consulting, file a service request through My Oracle .
Previous
Up
Next
Copyright © 2003, Home 2013, Oracle and/or its s. All rights reserved. Legal Notices
Book Contents Index Master List Index