Oracle® Application Express

Installation Guide Release 3.2
E13366-03

August 2009

Oracle Application Express Installation Guide, Release 3.2 E13366-03 Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved. Primary Author: Contributors: Terri Jennings

Marco Adelfio, Christina Cho, Joel Kallman, Anne Romano, and Jason Straub

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Contents
Preface ................................................................................................................................................................. ix
Audience....................................................................................................................................................... Documentation Accessibility ..................................................................................................................... Related Documents ..................................................................................................................................... Conventions ................................................................................................................................................. Third-Party License Information............................................................................................................... ix ix x xi xi

1

Oracle Application Express Installation Overview
Overview of the Installation Process.................................................................................................... Upgrading from a Previous Version of Oracle Application Express.............................................. About the Oracle Application Express Runtime Environment....................................................... About Choosing an HTTP Server ......................................................................................................... About Oracle HTTP Server and mod_plsql ................................................................................... Where Images Are Stored When Using Oracle HTTP Server .............................................. About the Embedded PL/SQL Gateway........................................................................................ Security Considerations When Using the Embedded PL/SQL Gateway .......................... Where Images Are Stored When Using the Embedded PL/SQL Gateway ....................... Selecting an HTTP Server in an Oracle RAC Environment ......................................................... Available Installation Scenarios............................................................................................................ Scenario 1: Downloading from OTN and Configuring the Embedded PL/SQL Gateway .... Scenario 2: Downloading from OTN and Configuring Oracle HTTP Server ........................... Scenario 3: Installing from the Database and Configure the Embedded PL/SQL Gateway .. Scenario 4: Installing from the Database and Configure Oracle HTTP Server ......................... 1-1 1-2 1-2 1-3 1-3 1-3 1-4 1-4 1-4 1-4 1-5 1-5 1-5 1-6 1-6

2

Oracle Application Express Installation Requirements
Oracle Database Requirement ............................................................................................................... Oracle JVM Requirement .................................................................................................................. Checking the shared_pool_size of the Target Database............................................................... Browser Requirement.............................................................................................................................. HTTP Server Requirements ................................................................................................................... Disk Space Requirement ........................................................................................................................ Oracle XML DB Requirement................................................................................................................ Oracle Text Requirement ........................................................................................................................ PL/SQL Web Toolkit ................................................................................................................................ 2-1 2-1 2-1 2-2 2-2 2-3 2-3 2-3 2-4

iii

..... 3-3 Download and Install Oracle Application Express.............................. 3-30 Security Considerations ........... 3-22 Changing the Password for the APEX_PUBLIC_USER Account ................................................... 3-27 Granting Connect Privileges ................................................... 3-13 Installing a Translated Version of Oracle Application Express ................... 3-8 Enable Network Services in Oracle Database 11g ...................... 3-2 Install the Oracle Database and Complete Pre-installation Tasks ....................................................................................... 3-7 Enabling Oracle XML DB HTTP Server.. 3-19 Download and Install Oracle Application Express............ 3-21 Restart Processes ........................................................................................... 3-6 Updating the Images Directory When Upgrading from a Previous Release......... 3-5 Configure the Embedded PL/SQL Gateway ...................... 3-19 Install the Oracle Database and Complete Pre-installation Tasks ........................................................................ 3-18 Downloading from OTN and Configuring Oracle HTTP Server................................................................................................... 3-6 Verifying the Oracle XML DB HTTP Server Port........................................................................... 3-5 Running the apex_epg_config................................................................................ 3-23 Configuring Oracle HTTP Server 11g or Oracle Application Server 10g ........................................................ 3-12 Security Considerations .........................................................................................................3 Downloading from Oracle Technology Network Recommended Pre-installation Tasks ....... 3-22 Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g 3-22 Unlocking the APEX_PUBLIC_USER Account ............... 3-31 About Running Oracle Application Express in Other Languages......... 3-9 Troubleshooting an Invalid ACL Error ............................. 3-5 Restart Processes .. 3-31 Installing a Translated Version of Oracle Application Express . 3-15 Configuring the SHARED_SERVERS Parameter ................... 3-1 Choosing an HTTP Server ...................................................................................... 3-19 Change the Password for the ADMIN Account ................................................................................................................................................................................................................... 3-25 Enable Network Services in Oracle Database 11g ................. 3-8 Disabling Oracle XML DB HTTP Server ........................................................................................................................................................................................................................................................................... 3-14 Changing the Number of JOB_QUEUE_PROCESSES................................................................................... 3-31 iv ........................................................................................................................................................................................................ 3-17 Logging in to Your Workspace ................................................................... 3-11 Enable Indexing of Online Help in Oracle Database 11gR2 and Higher ................................................................................................................... 3-15 Create a Workspace and Add Oracle Application Express Users ...................................................sql Configuration Script ................................................................................................................................................................... 3-3 Change the Password for the ADMIN Account ................................................. 3-29 Enable Indexing of Online Help in Oracle Database 11gR2 and Higher ...... 3-13 About Managing JOB_QUEUE_PROCESSES .................................................................................. 3-16 Creating Oracle Application Express Users.............................................................. 3-16 Creating a Workspace Manually ................................................................................................................................................................................................... 3-14 Viewing the Number of JOB_QUEUE_PROCESSES ................................................................ 3-23 Copy the Images Directory.................................................................................................................................................................................................................. 3-27 Troubleshooting an Invalid ACL Error ................................................ 3-13 About Running Oracle Application Express in Other Languages......................................................................... 3-9 Granting Connect Privileges ...................... 3-2 Downloading from OTN and Configuring the Embedded PL/SQL Gateway...........

........... 4-12 Configuring the SHARED_SERVERS Parameter ........................................................................................ Changing the Number of JOB_QUEUE_PROCESSES................................................................................................................................................................. 4-16 Install the Oracle Database and Complete Pre-installation Tasks ................................................................................................................................................................................................................................................................................ Creating Oracle Application Express Users..................................................................................................................................................... 4-10 About Running Oracle Application Express in Other Languages................................ About Obfuscating PlsqlDatabasePassword Parameter ..................... 4-11 Changing the Number of JOB_QUEUE_PROCESSES.............................. 4-9 Security Considerations .. 4-6 Troubleshooting an Invalid ACL Error ...................................................................About Managing JOB_QUEUE_PROCESSES ......................... 4-1 Recommended Pre-installation Tasks ............................. 4-3 Verifying the Oracle XML DB HTTP Server Port......................................... Obfuscating Passwords....................................................................................... 4-16 v ................... 4-8 Enable Indexing of Online Help in Oracle Database 11gR2 and Higher ............................................... 4-15 Installing from the Database and Configure Oracle HTTP Server ....................... Remove Schemas from Prior Installations ......................... Logging in to Your Workspace ............................................................................................................................................................... About the Oracle Application Express Runtime Environment............................................................................................ 4-6 Granting Connect Privileges ..... Converting a Full Development Environment to a Runtime Environment ............................................................................. Verify if a Prior Installation Exists.... 4-13 Creating Oracle Application Express Users............................................................sql Configuration Script ..................... 4-2 Installing from the Database and Configure the Embedded PL/SQL Gateway ... 4-10 About Managing JOB_QUEUE_PROCESSES ........................... 4-5 Enable Network Services in Oracle Database 11g ....................... 4-4 Enabling Oracle XML DB HTTP Server....................................................................................................................................................................................................... 4-3 Configure the Embedded PL/SQL Gateway .......................... Converting a Runtime Environment to a Full Development Environment ............................................................................ 4-12 Create a Workspace and Add Oracle Application Express Users ............... 4-2 Install the Oracle Database and Complete Pre-installation Tasks ............................................................................ 4-4 Disabling Oracle XML DB HTTP Server .. 4-10 Installing a Translated Version of Oracle Application Express ...... 3-32 3-32 3-33 3-33 3-34 3-34 3-34 3-35 3-36 3-37 3-37 3-37 3-38 3-38 3-38 3-39 3-39 4 Configuration Tasks When Installing from the Database About Patching Oracle Application Express.. Create a Workspace and Add Oracle Application Express Users ....................................... Remove Prior Oracle Application Express Installations ................ 4-3 Running the apxconf.................................................................... Post Installation Tasks for Upgrade Installations.............................................................. Creating a Workspace Manually .......................... 4-1 Choosing an HTTP Server .................................................. 4-11 Viewing the Number of JOB_QUEUE_PROCESSES ................................................................................................................................................................................................................................................................................................................ 4-14 Logging in to Your Oracle Application Express Workspace.................................................................................................................................................................................. Viewing the Number of JOB_QUEUE_PROCESSES ................................................. Fix Invalid ACL in Oracle Database 11g..................................................................................................................................... 4-13 Creating a Workspace Manually .......................................................................

..................................................................................................................................................................................................... 4-34 Convert a Full Development Environment to a Runtime Environment....... 4-29 Creating Oracle Application Express Users.................. Images Displaying Incorrectly in Oracle Application Express .......................................................................................................... 4-32 Remove Schemas from Prior Installations .................................................................................................................................................................................................. 4-17 Unlock the APEX_PUBLIC_USER Database User ................................................ 4-29 Creating a Workspace Manually ...................................................................................................................... Problems Searching Online Help....................................................................................................................... 4-28 Obfuscating Passwords.................... 4-27 Changing the Number of JOB_QUEUE_PROCESSES....... 4-32 Verify if Prior Installation Exist .......... 4-24 Security Considerations ................................ 4-32 Fix Invalid ACL in Oracle Database 11g.................... 4-31 Post Installation Tasks for Upgrade Installations............ 4-22 Troubleshooting an Invalid ACL Error ................................................................................................................................................ Reverting to a Previous Release After a Failed Upgrade Installation ................. 4-29 Create a Workspace and Add Oracle Application Express Users ........................ 4-19 Configure Oracle HTTP Server 11g or Oracle Application Server 10g ....................... Removing the Oracle Application Express Release 3.......................................................................................... 4-18 Copy the Images Directory............................. Verifying the Validity of an Oracle Application Express Installation ..... 4-23 Enable Indexing of Online Help in Oracle Database 11gR2 and Higher ........................................................................................................................................ 4-33 Convert a Runtime Environment to a Full Development Environment.......... 4-27 Viewing the Number of JOB_QUEUE_PROCESSES ............................................................................................................................................................... A-1 A-1 A-1 A-2 A-2 A-2 A-4 A-5 A-5 A-5 A-6 A-6 vi ...................... 4-26 About Managing JOB_QUEUE_PROCESSES ................2 Schema .................................................................................................................. 4-21 Granting Connect Privileges ................................ 4-34 A Oracle Application Express Troubleshooting Reviewing a Log of an Installation Session... Cleaning Up After a Failed Installation................................................................................. 4-33 About the Oracle Application Express Runtime Environment.............................................................................................................................................. 4-26 Installing a Translated Version of Oracle Application Express ..... 4-17 Change the Password for the APEX_PUBLIC_USER Database User ......................................................... 4-30 Logging in to Your Oracle Application Express Workspace................................................................................................. Online Help Not Working ..................................................................... Removing Oracle Application Express from the Database......................... 4-25 About Running Oracle Application Express in Other Languages................................................................................................................................. Verifying If You Have a Previous Version of Oracle Application Express ..................... 4-32 Remove Prior Oracle Application Express Installations ........................................................... Reverting to a Previous Release........................................................................................................................................ 4-20 Enable Network Services in Oracle Database 11g ..........................................Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g 4-16 Change the Password for the ADMIN Account......................................................... 4-28 About Obfuscating PlsqlDatabasePassword Parameter ............ Online Help Not Working When Using a Virtual Host ...........................

................................................................... Copy the Images Directory......................................................... Unlock the APEX_PUBLIC_USER Account............................. Installing a Translated Version of Oracle Application Express ........................................ Troubleshooting an Invalid ACL Error ......... Change the Password for the ADMIN Account .............................................conf............................................................ Creating Oracle Application Express Users.................................................................... Troubleshooting an Invalid ACL Error ..................................................................... Modify the Oracle9i httpd............................................................................................... About Running Oracle Application Express in Other Languages.................................................................................................................................................................................................................................................................... Change the Password for the ADMIN Account..................................................... Modify the Oracle9i httpd....................... About Managing JOB_QUEUE_PROCESSES ................................................... Viewing the Number of JOB_QUEUE_PROCESSES ................................................................................. Security Considerations ................................................................................................... About Running Oracle Application Express in Other Languages............... Install the Database and Configure Oracle HTTP Server .................................................................................................... Creating a Workspace Manually ...................................................................................... B-1 B-2 B-2 B-2 B-4 B-5 B-5 B-5 B-6 B-6 B-7 B-8 B-9 B-10 B-11 B-12 B-12 B-13 B-14 B-14 B-15 B-15 B-15 B-15 B-16 B-17 B-18 B-19 B-19 B-19 B-20 B-20 B-21 B-21 B-22 B-23 B-23 B-25 B-25 B-27 B-27 B-28 B-28 B-29 B-29 B-30 vii ...........................................................app File ....0.............................................................................. Change the Password for the APEX_PUBLIC_USER Account.... About Obfuscating PlsqlDatabasePassword Parameter .........................................................................3................... Granting Connect Privileges ...................... Security Considerations .............................................................................................................................................................................................................. Change the Password for the APEX_PUBLIC_USER Database User .................................................................................................................... Unlock the APEX_PUBLIC_USER Database User ............................. Viewing the Number of JOB_QUEUE_PROCESSES ................................................................... Stop and Restart Oracle HTTP Server............................................................ Granting Connect Privileges .......................................... Downloading from OTN and Configuring Oracle HTTP Server ......................................................................................................................... Copy the Images Directory......................................................................................................................................... Modifying the wdbsvr..................................................................................................................... Installing a Translated Version of Oracle Application Express ................................................................................... Configure Oracle HTTP Server Distributed with Oracle Database Release 9....................... Create a Workspace and Add Oracle Application Express Users ......................................... Configure Oracle HTTP Server ........................ Restart Processes .......... Changing the Number of JOB_QUEUE_PROCESSES..................................app File ................................. Download and Install the Software...............................B Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 Recommended Pre-installation Tasks ... Install the Oracle Database and Complete Pre-installation Tasks ..... Obfuscating Passwords........................................................................... About Enabling Network Services in Oracle Database 11g ....................................................... Logging in to Your Oracle Application Express Workspace..................................... About Enabling Network Services in Oracle Database 11g .............................................. About Managing JOB_QUEUE_PROCESSES ............................................................................................................................................ Modifying the wdbsvr........................................conf............................................................................................... Install the Oracle Database and Complete Pre-installation Tasks ........................................................ Changing the Number of JOB_QUEUE_PROCESSES...........................

............. Using the Tasks Links on a Page.............................................................. Issues with Interactive Report Regions .. Accessing Item Help.................................................................................................................................................................. Editing Existing Filters ........................................ Logging in to Your Oracle Application Express Workspace........... Fixing a Validation Error ....................................................................................................................................................................................................................................................................................................................................................................................................................................... Identifying when a Validation Fails ................................. Creating a Workspace Manually .................................................................................................................................................................................................................................................. Accessing Page Help ....................... Managing Bulk Updates................... B-30 B-31 B-31 B-31 B-32 B-33 C Third-Party License Apache License ............................................................ Understanding the Structure of a Page................................................................................................... Specifying Rows to Display .............................. Dealing with Raised Validations ................................................................................................................................................................................................. D-1 D-2 D-2 D-3 D-4 D-4 D-4 D-5 D-5 D-5 D-5 D-6 D-8 D-8 D-8 D-8 D-8 D-9 Index viii ...................... Creating Oracle Application Express Users........... Create a Workspace and Add Oracle Application Express Users ................................................................................................................................. Searching an Interactive Report . C-1 D Accessibility in Oracle Application Express General Violations ........................................................................................................................................................................... Utilizing Drill Down Links ................................................................................................................................................................................................................................... Reviewing Error Messages ........................................................................About Obfuscating PlsqlDatabasePassword Parameter .................................................................................................................................................................................................................................................................... Obfuscating Passwords........ Accessing Help Text . Accessing Interactive Report Regions Using a Keyboard ............................................................. Tips for Accessing Form Pages in Oracle Application Express..........

you must have administrative privileges on the computer where you installed your Oracle database and familiarity with object-relational database management concepts. visit the Oracle Accessibility Program Web site at http://www. and contains markup to facilitate access by the disabled community. Accessibility of Code Examples in Documentation Screen readers may not always correctly read the code examples in this document. services. ix . however. This Preface contains these topics: ■ ■ ■ ■ ■ Audience Documentation Accessibility Related Documents Conventions Third-Party License Information Audience Oracle Application Express Installation Guide is intended for anyone responsible for installing Oracle Application Express. The conventions for writing code require that closing braces should appear on an otherwise empty line. To use this manual. including users that are disabled.Preface This guide explains how to install and configure Oracle Application Express. To that end.com/accessibility/. Documentation Accessibility Our goal is to make Oracle products. This documentation is available in HTML format. and supporting documentation accessible to all users. some screen readers may not always read a line of text that consists solely of a bracket or brace. our documentation includes features that make information available to users of assistive technology. and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers.oracle. Accessibility standards will continue to evolve over time. For more information.

Information about TRS is available at http://www.1711. which is installed by default when you install Oracle. see these Oracle resources: ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Oracle Application Express Release Notes Oracle Database 2 Day + Oracle Application Express Developer's Guide Oracle Application Express Application Builder User's Guide Oracle Application Express Administration Guide Oracle Application Express SQL Workshop and Utilities Guide Oracle Application Express API Reference Oracle Application Migration Guide Oracle Application Express Advanced Tutorials Oracle Database Concepts Oracle HTTP Server Administrator's Guide Oracle9i Application Server Administrator's Guide Oracle Database Advanced Application Developer's Guide Oracle Database Administrator's Guide Oracle Database SQL Language Reference SQL*Plus User's Guide and Reference For information about Oracle error messages. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.Accessibility of Links to External Web Sites in Documentation This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Once you find the specific range. The OBEs provide x . and a list of phone numbers is available at http://www. use your browser's "find in page" feature to locate the specific message.223. you can search for a specific error message using the error message search feature of the Oracle online documentation.html. you can browse the error messages by range. see Oracle Database Error Messages.800. please visit the Oracle by Examples (OBEs) Application Express page. Oracle error message documentation is available only in HTML.fcc.fcc.gov/cgb/dro/trsphonebk.gov/cgb/consumerfacts/trs. located on Oracle’s Technology Network. use a telecommunications relay service (TRS) to call Oracle Support at 1. Many books in the documentation set use the sample schemas of the seed database. If you have access to the Oracle Database Documentation Library. Refer to Oracle Database Sample Schemas for information on how these schemas were created and how you can use them yourself. Related Documents For more information. Deaf/Hard of Hearing Access to Oracle Support Services To reach Oracle Support Services. For additional application examples. When connected to the Internet.html. An Oracle Support Services engineer will handle technical issues and provide customer support according to the Oracle service request process.

com/technology/products/database/application_e xpress/html/obes.oracle. code in examples. and the terms contained in the following notices do not change those rights.html Printed documentation is available for sale in the Oracle Store at http://oraclestore. emphasis. go to http://www. white papers. Monospace type indicates commands within a paragraph. or text that you enter. interactive flash charts. Anychart is a flexible Macromedia Flash-based solution that enables developers to create animated.com/technology/membership/ If you already have a user name and password for OTN. then you can go directly to the documentation section of the OTN Web site at http://www. or terms defined in text or the glossary. please visit the Oracle Technology Network (OTN). or other collateral. xi . Note. however.com/ To download free release notes.com Any attempt to unbundle the AnyChart Flash Chart Component from an Oracle product. or placeholder variables for which you supply particular values. including the third-party software. Oracle is required to provide the following notices. For more information about Anychart. URLs.oracle. compact.anychart. Italic type indicates book titles.step-by-step examples with screenshots on how to perform various tasks within Application Express. that the Oracle program license that accompanied this product determines your right to use the Oracle program.oracle. Flash charts used in interactive reports require Flash Player 9 or later. Flash charts are rendered by a browser and require Flash player 8 or later. AnyChart Flash chart support in Oracle Application Express is based on the Anychart Flash Chart Component.oracle. You must register online before using OTN. http://www.com/technology/documentation/ Conventions The following text conventions are used in this document: Convention boldface italic monospace Meaning Boldface type indicates graphical user interface elements associated with an action. registration is free and can be done at http://www. Third-Party License Information Oracle Application Express contains third-party code. text that appears on the screen. installation documentation. or to use the AnyChart Flash Chart Component outside of the Oracle product will be in violation of this license and will result in the immediate termination of this license.

either express or implied.fckeditor. HTML Editor Minimal and HTML Editor Standard. "Third-Party License" on page C-1. see: ■ AnyChart AnyGantt Flash Gantt Component: http://www. see Appendix C.com/products/anygantt/overview/ ■ AnyChart AnyMap extension: http://www. For more information about FCKeditor.oracle.html#05 xii . Installation and configuration instructions can be found on Oracle Technology Network. See Installing and Configuring Apache FOP at: http://www. To learn more.0 (the "License").3. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. This software is licensed under the Apache License.2 for the following item types.20. "Third-Party License" on page C-1. FCKeditor Oracle Application Express uses FCKeditor version 2.anychart.5 libraries and a custom XSL-FO processing JSP. this is now a supported report server configuration. To view a copy of the Apache License. To view a copy of the Apache License.0 (the "License"). go to: http://www. see Appendix C. If you wish to use Apache FOP as your report server for PDF region printing. This software is licensed under the Apache License.AnyChart AnyGantt Flash Gantt and AnyChart AnyMap This release of Oracle Application Express includes the AnyChart AnyGantt Flash Gantt Component and the AnyChart AnyMap extension.anychart. See the License for the specific language governing permissions and limitations under the License. These products are not exposed through the Oracle Application Express user interface. or to use the AnyChart AnyGantt Flash Gantt Component or the AnyChart AnyMap extension outside of the Oracle product will be in violation of this license and will result in the immediate termination of this license. Unless required by applicable law or agreed to in writing. Version 2.net/ Apache FOP Oracle Application Express includes the Apache FOP Version 0. but can be used programatically in any Oracle Application Express application. Version 2.com/products/anymap/overview/ Any attempt to unbundle the AnyChart AnyGantt Flash Gantt Component or the AnyChart AnyMap extension from an Oracle product. software distributed under the License is distributed on an "AS IS" BASIS.com/technology/products/database/application_express/ html/configure_printing.

Available options include the embedded PL/SQL gateway or Oracle HTTP Server and mod_plsql. Install the software: As described in Figure 1–1. To learn more. see "About Choosing an HTTP Server" on page 1-3. the required installation steps depend upon: ■ 3. To learn more. Oracle Application Express Installation Overview 1-1 ■ . Which HTTP server you decide to use. Plan your installation: This chapter offers an overview of the steps required to install Oracle Application Express. see "About the Oracle Application Express Runtime Environment" on page 1-2. This chapter contains these topics: ■ ■ ■ ■ ■ Overview of the Installation Process Upgrading from a Previous Version of Oracle Application Express About the Oracle Application Express Runtime Environment About Choosing an HTTP Server Available Installation Scenarios Overview of the Installation Process The installation process consists of four parts: 1. Available options include downloading a ZIP file from Oracle Technology Network (OTN). 2. A runtime environment is an appropriate choice for production implementations in which you want to run applications that cannot be modified. How you install the Oracle Application Express. or using the version of Oracle Application Express that installs with Oracle Database 11g or later.1 Oracle Application Express Installation Overview This chapter provides an overview of installing Oracle Application Express and describes issues to consider before installing. During the planning phase. you should also determine whether to install a full development environment or runtime environment. A full development environment provides complete access to the Application Builder environment to develop applications. Verify installation requirements: "Oracle Application Express Installation Requirements" describes the minimum requirements that your system must meet before you install the software.

Upgrading from a Previous Version of Oracle Application Express

Figure 1–1 Key Decision Points in the Installation Process

Upgrading from a Previous Version of Oracle Application Express
If you have version 1.5.0.00.33, 1.5.1.00.12, 1.6.0.00.87, 1.6.1.00.03, 2.0.0.00.49, 2.2.1.00.04, 3.0.0.00.20, 3.0.1.00.07, 3.0.1.00.08, 3.0.1.00.12, 3.1.0.00.32, 3.1.1.00.09 or 3.1.2.00.02 of Oracle Application Express, following any of the installation scenarios in this guide upgrades your Oracle Application Express instance to version 3.2 and creates Oracle Application Express 3.2 database objects in a new schema and migrates the application metadata to the new version.

About the Oracle Application Express Runtime Environment
For testing and production instances, Oracle Application Express supports the ability to install just a runtime version of Oracle Application Express. This runtime environment minimizes the installed footprint and privileges and improves application security since in a runtime instance developers cannot advertently update a production application. An Oracle Application Express runtime environment enables you to run production applications, but it does not provide a Web interface for administration. A runtime environment only includes the packages necessary to run your application, making it a more hardened environment. You administer the Oracle Application Express runtime environment using SQL*Plus or SQL Developer and the APEX_INSTANCE_ADMIN API. To learn more see, "Managing a Runtime Environment" in Oracle Application Express Application Builder User's Guide. Scripts are provided to remove or add the developer interface from an existing instance. To learn more, see "About the Oracle Application Express Runtime Environment" in "Downloading from Oracle Technology Network" on page 3-1 and "Configuration Tasks When Installing from the Database" on page 4-1.

1-2 Oracle Application Express Installation Guide

About Choosing an HTTP Server

About Choosing an HTTP Server
In order to run, Oracle Application Express must have access to either Oracle HTTP Server and mod_plsql or the embedded PL/SQL gateway. Topics in this section include:
■ ■ ■

About Oracle HTTP Server and mod_plsql About the Embedded PL/SQL Gateway Selecting an HTTP Server in an Oracle RAC Environment

About Oracle HTTP Server and mod_plsql
Oracle HTTP Server uses the mod_plsql plug-in to communicate with the Oracle Application Express engine within the Oracle database. It functions as communication broker between the Web server and the Oracle Application Express objects in the Oracle database. More specifically, it maps browser requests into database stored procedure calls over a SQL*Net connection. The following graphic illustrates the Oracle Application Express architecture using Oracle HTTP Server and mod_plsql.

See Also:

"HTTP Server Requirements" on page 2-2

Note that this three tier architecture consists of the following components: a Web browser, Oracle HTTP Server (Apache) with mod_plsql, and an Oracle database containing Oracle Application Express. Advantages of Oracle HTTP Server (Apache) with mod_plsql:
■ ■

Separation of mid-tier for the database tier Appropriate for Oracle Real Application Clusters (Oracle RAC) environments

Where Images Are Stored When Using Oracle HTTP Server
In an Oracle HTTP Server or Oracle Application Server configuration, images are stored on the file system in the location referenced by the alias /i/. If you are upgrading Oracle Application Express from a prior release, you can locate the images directory on the file system, by reviewing the following files and searching for the text alias /i/:
■ ■

Oracle9i HTTP Server Release 2—see the httpd.conf file. Oracle HTTP Server distributed with Oracle Database 11g—see the dads.conf file. Oracle Application Server 10g—see the marvel.conf file.

Specific examples for locating the text alias /i/ can be found in "Downloading from Oracle Technology Network" on page 3-1 and "Configuration Tasks When Installing from the Database" on page 4-1.

Oracle Application Express Installation Overview

1-3

About Choosing an HTTP Server

About the Embedded PL/SQL Gateway
The embedded PL/SQL gateway installs with Oracle Database 11g. It provides the Oracle database with a Web server and also the necessary infrastructure to create dynamic applications. The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database and includes the core features of mod_plsql. The following graphic illustrates the Oracle Application Express architecture using the embedded PL/SQL gateway.

As shown in the previous graphic, the embedded PL/SQL gateway is a simple two tier architecture and consists of theses components: a Web browser and an Oracle database, containing the embedded PL/SQL and Oracle Application Express. Advantages of the embedded PL/SQL gateway:
■ ■ ■

Ease of configuration Included in the database No separate server installation

Security Considerations When Using the Embedded PL/SQL Gateway
The embedded PL/SQL gateway runs in the database as part of the XML DB HTTP Protocol Listener. The XML DB HTTP Protocol Listener and embedded PL/SQL gateway provides the equivalent core features of Oracle HTTP Server and mod_ plsql. Because the HTTP Listener runs in the same database where Oracle Application Express is installed, it is not possible to separate the HTTP listener from the database. For this reason, it is not recommended to use the embedded PL/SQL gateway for applications that run on the Internet. Additionally, the embedded PL/SQL gateway does not provide the same flexibility of configuration and detailed logging as Oracle HTTP Server with mod_plsql.

Where Images Are Stored When Using the Embedded PL/SQL Gateway
When running Oracle Application Express with the embedded PL/SQL gateway, images are stored directly in the database within the Oracle XML DB repository. You can access images by using the WebDAV feature of Oracle XML DB or by using FTP. To learn more, see "Using Protocols to Access the Repository" in Oracle XML DB Developer's Guide.

Selecting an HTTP Server in an Oracle RAC Environment
When running Oracle Application Express in an Oracle Real Application Clusters (Oracle RAC) environment, Oracle recommends that you use Oracle HTTP Server with mod_plsql. Oracle HTTP Server with mod_plsql permits you to specify a connection in the service name format, so that one HTTP Server can access all nodes. Oracle recommends that you do not select the embedded PL/SQL gateway option for Oracle RAC installations. The embedded PL/SQL gateway uses an HTTP Server built

1-4 Oracle Application Express Installation Guide

it does not take advantage of the Oracle RAC shared architecture.Available Installation Scenarios into the database instance. Required installation steps in this scenario include: ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Download and Install Oracle Application Express Step 3: Change the Password for the ADMIN Account Step 4: Restart Processes Step 5: Configure the Embedded PL/SQL Gateway Step 6: Enable Network Services in Oracle Database 11g Step 7: Security Considerations Step 8: About Running Oracle Application Express in Other Languages Step 9: About Managing JOB_QUEUE_PROCESSES Step 10: Configuring the SHARED_SERVERS Parameter Step 11: Create a Workspace and Add Oracle Application Express Users Scenario 2: Downloading from OTN and Configuring Oracle HTTP Server Follow the steps in this scenario if you are downloading Oracle Application Express from Oracle Technology Network (OTN) and configuring Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Oracle Application Server 10g. and because of this. This section provides an overview of each installation scenario. See Also: "About Choosing an HTTP Server" on page 1-3 and "About the Oracle Application Express Runtime Environment" on page 1-2 Topics in this section include: ■ Scenario 1: Downloading from OTN and Configuring the Embedded PL/SQL Gateway Scenario 2: Downloading from OTN and Configuring Oracle HTTP Server Scenario 3: Installing from the Database and Configure the Embedded PL/SQL Gateway Scenario 4: Installing from the Database and Configure Oracle HTTP Server ■ ■ ■ Scenario 1: Downloading from OTN and Configuring the Embedded PL/SQL Gateway Follow the steps in this scenario if you are downloading Oracle Application Express from Oracle Technology Network (OTN) and configuring the embedded PL/SQL gateway. Required steps in this scenario include: ■ ■ Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Download and Install Oracle Application Express Oracle Application Express Installation Overview 1-5 . Available Installation Scenarios How you install Oracle Application Express depends upon where you install the software from and which HTTP server you decide to use.

Required steps in this scenario include: ■ ■ ■ ■ ■ ■ ■ ■ Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Configure the Embedded PL/SQL Gateway Step 3: Enable Network Services in Oracle Database 11g Step 4: Security Considerations Step 5: About Running Oracle Application Express in Other Languages Step 6: About Managing JOB_QUEUE_PROCESSES Step 7: Configuring the SHARED_SERVERS Parameter Step 8: Create a Workspace and Add Oracle Application Express Users Scenario 4: Installing from the Database and Configure Oracle HTTP Server Follow the steps in this scenario if you are using a version of Oracle Application Express that installs with Oracle Database 11g or later and configuring Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Oracle Application Server 10g. ■ ■ ■ ■ ■ ■ Scenario 3: Installing from the Database and Configure the Embedded PL/SQL Gateway Follow the steps in this scenario if you are using a version of Oracle Application Express that installs with Oracle Database 11g or later and configuring the embedded PL/SQL gateway. Required steps in this scenario include: ■ ■ Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g Step 3: Enable Network Services in Oracle Database 11g Step 4: Security Considerations Step 5: About Running Oracle Application Express in Other Languages Step 6: About Managing JOB_QUEUE_PROCESSES Step 7: About Obfuscating PlsqlDatabasePassword Parameter Step 8: Create a Workspace and Add Oracle Application Express Users ■ ■ ■ ■ ■ ■ 1-6 Oracle Application Express Installation Guide .Available Installation Scenarios ■ ■ ■ Step 3: Change the Password for the ADMIN Account Step 4: Restart Processes Step 5: Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g Step 6: Enable Network Services in Oracle Database 11g Step 7: Security Considerations Step 8: About Running Oracle Application Express in Other Languages Step 9: About Managing JOB_QUEUE_PROCESSES Step 10: About Obfuscating PlsqlDatabasePassword Parameter Step 11: Create a Workspace and Add Oracle Application Express Users See Also: "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1.

Oracle Application Express Installation Overview 1-7 .Available Installation Scenarios See Also: "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1.

Available Installation Scenarios 1-8 Oracle Application Express Installation Guide .

see the Oracle Application Express page on Oracle Technology Network (OTN). Oracle Application Express Installation Requirements 2-1 . Note: You can upgrade the version of Oracle Application Express in Oracle Database Express Edition 10g Release 2 (10. you must install Oracle Java Virtual Machine (JVM).2. by installing Oracle Application Express version 3.2 Oracle Application Express Installation Requirements This chapter describes the requirements for installing Oracle Application Express. This chapter contains these topics: ■ ■ ■ ■ ■ ■ ■ Oracle Database Requirement Browser Requirement HTTP Server Requirements Disk Space Requirement Oracle XML DB Requirement Oracle Text Requirement PL/SQL Web Toolkit Oracle Database Requirement Oracle Application Express version 3. For more information.0. see the Oracle Database Installation Guide for your operating environment.1).2.2). Checking the shared_pool_size of the Target Database Note: Ignore this requirement if your configuration uses non-null values for the database initialization parameters SGA_TARGET (in Oracle Database 10g and 11g) or MEMORY_TARGET (in Oracle Database 11g). To learn more. Oracle JVM Requirement If you plan to run Oracle Application Express with an Oracle database earlier than Oracle Database 10g release 1 (10.2 requires an Oracle database that is release 9.3 or later.

2-2 Oracle Application Express Installation Guide .0 or later HTTP Server Requirements In order to run.0 and CSS 1. Determine the current values of the shared_pool_size parameter: SQL> SHOW PARAMETER SHARED_POOL_SIZE 4. This command displays the name and location of the server parameter file or the initialization parameter file. Shut down the database: SQL> SHUTDOWN 6. To check the shared_pool_size of the target database: 1.0 or later version Firefox 1.ora). 5. Start the database: SQL> STARTUP 2. 3.ora): SQL> SHOW PARAMETER PFILE. enter the following command to determine whether the system uses an initialization parameter file (initsid.Browser Requirement Oracle Application Express requires the shared_pool_size of the target database to be at least 100 MB. Oracle Application Express must have access to one of the following: ■ ■ Embedded PL/SQL gateway Oracle HTTP Server and mod_plsql Oracle XML DB HTTP Server with the embedded PL/SQL gateway installs with Oracle Database 11g. 7.ora) or a server parameter file (spfiledbname. change the values of the SHARED_POOL_SIZE parameter to at least 100 MB in the initialization parameter file (initsid. It provides the database with a Web server and the necessary infrastructure to create dynamic applications. If necessary. Web browsers must support Java Script and the HTML 4. set the value of the SHARED_POOL_ SIZE initialization parameter to at least 100 MB: SQL> ALTER SYSTEM SET SHARED_POOL_SIZE='100M' SCOPE=spfile.0 standards. The following browsers meet these requirements: ■ ■ Microsoft Internet Explorer 6. If the system is using a server parameter file. If the system uses an initialization parameter file. Restart the database: SQL> STARTUP Browser Requirement To view or develop Oracle Application Express applications.

0\db_1\ctx\admin\defaults\drdefus. drdefus.2) or later Oracle9i Application Server release 1 (1.sql Oracle Application Express Installation Requirements 2-3 .2. ensure that the default language preferences for Oracle Text have been installed. log in to the Oracle database where you plan to install Oracle Application Express and run the appropriate drdeflang. Oracle Text Requirement Oracle Text must be installed in order to use the searchable online Help in Oracle Application Express.Oracle Text Requirement Oracle HTTP Server uses the mod_plsql plug-in to communicate with the Oracle Application Express engine within the Oracle database. to run the language preferences script for US English. Oracle Text is installed as part of Oracle Database. See Also: Oracle XML DB Developer's Guide for more information about manually adding Oracle XML DB to an existing database Tip: The installer does a prerequisite check for Oracle XML DB and will exit if it is not installed. If you are using a preconfigured database created either during an installation or by Database Configuration Assistant (DBCA). The following products include appropriate versions of HTTP Server and mod_plsql: ■ ■ ■ ■ Oracle9i release 2 (9. In addition. By default. Oracle XML DB is already installed and configured.0.2) or later Oracle Database 10g Companion CD release 1 or 2 Oracle Database 11g release 1 See Also: "About Choosing an HTTP Server" on page 1-3 Disk Space Requirement Oracle Application Express disk space requirements are as follows: ■ ■ ■ ■ Free space for Oracle Application Express software files on the file system: 450 MB Free space in Oracle Application Express tablespace: 125 MB Free space in SYSTEM tablespace: 85 MB Free space in Oracle Application Express tablespace for each additional language (other than English) installed: 34 MB Oracle XML DB Requirement Oracle XML DB must be installed in the Oracle database that you want to use. which by default is located in ORACLE_BASE\ORACLE_ HOME\ctx\admin\defaults.sql: jstraub: c:\> sqlplus /nolog SQL> connect ctxsys Enter password: password SQL> @c:\oracle\product\10.sql script.2. For example. To install the Oracle Text default language.

0.6 or later. PL/SQL Web Toolkit Oracle Application Express requires the PL/SQL Web Toolkit version 10. 2-4 Oracle Application Express Installation Guide .txt file contained in the directory apex/owa. please review the README. Tip: The installer does a prerequisite check for Oracle Text and will exit if it is not installed.6.PL/SQL Web Toolkit See Also: Oracle Text Application Developer's Guide for more information on Oracle Text and "Enabling Network Services in Oracle Database 11g" for your configuration scenario.0.1.2.2. and for instructions on installing version 10.1. For instructions on determining the current version of the PL/SQL Web Toolkit.

If Automatic Storage Management (ASM) is running. The instructions in this chapter apply to both new and upgrade installations. shut down all instances on each node. Shut down any existing Oracle Database instances with normal or immediate priority. You can use the Windows Services utility. 2. located either in the Windows Control Panel or from the Administrative Tools menu (under Start and then Programs). shut down all databases that use ASM except for the database where you will install Oracle Application Express. the Apache Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed. This chapter contains these topics: ■ ■ ■ ■ ■ ■ Recommended Pre-installation Tasks Choosing an HTTP Server Downloading from OTN and Configuring the Embedded PL/SQL Gateway Downloading from OTN and Configuring Oracle HTTP Server Post Installation Tasks for Upgrade Installations About the Oracle Application Express Runtime Environment Note: Within the context of this document. to Downloading from Oracle Technology Network 3-1 . and then shut down the ASM instance. except for the database where you plan to install the Oracle Application Express schemas. see "Upgrading from a Previous Version of Oracle Application Express" on page 1-2. Review and satisfy all Oracle Application Express installation requirements. To learn more. On Oracle Real Application Clusters (Oracle RAC) systems. Recommended Pre-installation Tasks Before installing Oracle Application Express.3 Downloading from Oracle Technology Network This chapter describes how to install Oracle Application Express by downloading a ZIP file from Oracle Technology Network (OTN) and completing the appropriate postinstallation tasks. Oracle recommends that you complete the following steps: 1. See "Oracle Application Express Installation Requirements" on page 2-1.

Right-click the name of the service and from the menu. Names of Oracle databases are preceded with OracleService. Oracle Application Express must have access to either the embedded PL/SQL gateway or Oracle HTTP Server and mod_plsql. Oracle recommends that you create a backup of the current installation of Oracle Database installation before you install Oracle Application Express. Downloading from OTN and Configuring the Embedded PL/SQL Gateway This section describes how to install Oracle Application Express by downloading a ZIP file from OTN and then configuring the embedded PL/SQL gateway. Topics in this section include: ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Download and Install Oracle Application Express Change the Password for the ADMIN Account Restart Processes Configure the Embedded PL/SQL Gateway Enable Network Services in Oracle Database 11g Enable Indexing of Online Help in Oracle Database 11gR2 and Higher Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES Configuring the SHARED_SERVERS Parameter Create a Workspace and Add Oracle Application Express Users 3-2 Oracle Application Express Installation Guide .Choosing an HTTP Server shut down Oracle Database and ASM instances. if you are performing a remote installation. To learn more. Start the Oracle Database instance that contains the target database. You can use Oracle Database Recovery Manager. Back up the Oracle Database installation. shut down the OracleCSService service. After backing up the system. then start the listener. which is included the Oracle Database installation. The Oracle ASM service is named OracleASMService+ASM. which ASM uses. Note: If you are connecting to a remote database. 3. In addition. See Also: Oracle Database Backup and Recovery User's Guide 4. see "About Choosing an HTTP Server" on page 1-3. to perform the backup. Do not start other processes such as the listener or Oracle HTTP Server. Choosing an HTTP Server In order to run. make sure the database listener for the remote database has started. However. you must start the Oracle instance that contains the target Oracle database. choose Stop.

2. Full development environment provides complete access to the Application Builder environment to develop applications.zip as follows. 6.com/technology/products/database/application_ express/download.0.2. 2.zip Windows: Double click the file apex_3.3 or later.sql passing the following four arguments in the order shown: @apexins tablespace_apex tablespace_files tablespace_temp images Where: Downloading from Oracle Technology Network 3-3 . preserving directory names: ■ ■ UNIX and Linux: Unzip apex_3. To learn more.zip in Windows Explorer 3. 4.zip from the Oracle Application Express download page. Change your working directory to apex. Download the file apex_3. Run apexins. Download and Install Oracle Application Express To install Oracle Application Express: 1. Unzip apex_3. Available installation options include: ■ Full development environment. see "About the Oracle Application Express Runtime Environment" on page 1-2. See: http://www. see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page 3-1.2. Disable any existing password complexity rules for the default profile.2.2.Downloading from OTN and Configuring the Embedded PL/SQL Gateway See Also: "About the Oracle Application Express Runtime Environment" on page 1-2 Install the Oracle Database and Complete Pre-installation Tasks Oracle Application Express requires an Oracle database that is release 9. Select the appropriate installation option. See "Configuring Password Protection" in Oracle Database Security Guide.oracle.html Note that the actual file name may differ if a more recent release has shipped since this document was published. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 5. A Runtime environment enables users to run applications that cannot be modified. To learn more. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.

The account that owns the Oracle Application Express uploaded files. images is the virtual directory for Oracle Application Express images. Tip: Oracle Application Express must be installed from a writable directory on the file system. FLOWS_FILES.The account that owns the Oracle Application Express schema and metadata. ■ ■ If you are upgrading from a previous release. tablespace_temp is the name of the temporary tablespace. To support future Oracle Application Express upgrades. images is the virtual directory for Oracle Application Express images. Run apxrtins.Downloading from OTN and Configuring the Embedded PL/SQL Gateway – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user. APEX_PUBLIC_USER . FLOWS_FILES .The minimally privileged account used for Oracle Application Express configuration with Oracle HTTP Server and mod_plsql.sql passing the following arguments in the order shown: @apxrtins tablespace_apex tablespace_files tablespace_temp images Where: – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user. tablespace_files is the name of the tablespace for the Oracle Application Express files user. See "Reviewing a Log of an Installation Session" on page A-1. define the virtual image directory as /i/. To support future Oracle Application Express upgrades. Example: @apexins SYSAUX SYSAUX TEMP /i/ ■ Runtime environment. tablespace_temp is the name of the temporary tablespace. define the virtual image directory as /i/. Example: @apxrtins SYSAUX SYSAUX TEMP /i/ See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus When Oracle Application Express installs it creates three new database accounts: ■ APEX_030200 . already exists and APEX_PUBLIC_USER is created if it does not already exist. 3-4 Oracle Application Express Installation Guide . tablespace_files is the name of the tablespace for the Oracle Application Express files user.

you must change the password of the internal ADMIN account. Note: The Oracle XML DB HTTP Server with the embedded PL/SQL gateway is not supported before Oracle Database 11g. you run a configuration file and unlock the ANONYMOUS account. However.sql. For example: @apxchpwd When prompted enter a password for the ADMIN account.Downloading from OTN and Configuring the Embedded PL/SQL Gateway Change the Password for the ADMIN Account In a new installation of Oracle Application Express. Topics in this section include: ■ ■ ■ ■ ■ Running the apex_epg_config. you must restart the processes that you stopped before you began the installation. See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus Restart Processes After you install Oracle Application Express. you must configure it before you can use it with Oracle Application Express. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Run apxchpwd. Change your working directory to the apex directory where you unzipped the installation software. Configure the Embedded PL/SQL Gateway The embedded PL/SQL gateway installs with the Oracle Database 11g. such as listener and other processes. To change the password for the ADMIN account: 1. or if you are converting a runtime environment to a development environment. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. In an upgrade scenario.sql Configuration Script Updating the Images Directory When Upgrading from a Previous Release Verifying the Oracle XML DB HTTP Server Port Enabling Oracle XML DB HTTP Server Disabling Oracle XML DB HTTP Server Downloading from Oracle Technology Network 3-5 . the password will be preserved and carried over from the prior release. To accomplish this. 2.

Enter the following statement to unlock the ANONYMOUS account: ALTER USER ANONYMOUS ACCOUNT UNLOCK. To run the apex_epg_config. 2. this step is unnecessary.sql script to update the images directory.sql script: 3-6 Oracle Application Express Installation Guide . Change your working directory to the apex directory where you unzipped the Oracle Application Express software.sql Configuration Script In a new installation. To run the apxldimg.Downloading from OTN and Configuring the Embedded PL/SQL Gateway See Also: "About Choosing an HTTP Server" on page 1-3 and "About the Embedded PL/SQL Gateway" on page 1-4 Running the apex_epg_config. you configure the embedded PL/SQL gateway by running the configuration script apex_epg_config. Note: If you are upgrading and have previously configured the embedded PL/SQL gateway.sql configuration script: 1.sql passing the file system path to the base directory where the Oracle Application Express software was unzipped as shown in the following example: ■ On Windows: @apex_epg_config SYSTEM_DRIVE:\TEMP ■ On UNIX and Linux: @apex_epg_config /tmp 4.sql. Then. you must run the apxldimg. Run apex_epg_config.sql as described in the prior section. Updating the Images Directory When Upgrading from a Previous Release If you are upgrading Oracle Application Express from a previous release. Tip: If you are not upgrading from a prior release of Oracle Application Express. The images will be loaded by running apex_epg_config. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. you unlock the ANONYMOUS account. skip this section and go to "Updating the Images Directory When Upgrading from a Previous Release" on page 3-6.

GETHTTPPORT FROM DUAL. Run apxldimg. If the port number returns 0. Verifying the Oracle XML DB HTTP Server Port The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database. follow the instructions in "Enabling Oracle XML DB HTTP Server" on page 3-8. 3.sql SYSTEM_DRIVE:\TEMP ■ On UNIX and Linux: @apxldimg.sql /tmp Tip: The above examples assume that you unzipped Oracle Application Express in a directory called TEMP on Windows and tmp on UNIX or Linux. To verify the port number where the Oracle XML DB HTTP Server is running: 1. Enter the following statement to verify the port number: SELECT DBMS_XDB.Downloading from OTN and Configuring the Embedded PL/SQL Gateway 1. Downloading from Oracle Technology Network 3-7 .sql passing the file system path to the base directory where the Oracle Application Express software was unzipped as shown in the following example: ■ On Windows: @apxldimg. You can determine if the Oracle XML DB HTTP server is enabled by verifying the associated port number. To enable it. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. the Oracle XML DB HTTP Server is disabled. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.

review the following documentation: "Using Protocols to Access the Repository" in Oracle XML DB Developer's Guide.Downloading from OTN and Configuring the Embedded PL/SQL Gateway Enabling Oracle XML DB HTTP Server The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Enter a statement similar to the following: EXEC DBMS_XDB. such as 80. ■ ■ Disabling Oracle XML DB HTTP Server The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database.SETHTTPPORT(port). To enable Oracle XML DB HTTP server: 1. Note: Port numbers less than 1024 are reserved for use by privileged processes on many operating systems. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Run the following command: 3-8 Oracle Application Express Installation Guide . "Protocol Address Configuration" and "Port Number Limitations" in Oracle Database Net Services Reference. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. To disable Oracle XML DB HTTP server: 1.SETHTTPPORT(8080). To enable the XML DB HTTP listener on a port less than 1024. For example: EXEC DBMS_XDB.

line .RES. Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express. ACL_ID RAW(16). DECLARE ACL_PATH VARCHAR2(4000). SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. BEGIN -. you must use the new DBMS_NETWORK_ACL_ ADMIN package to grant connect privileges to any host for the APEX_030200 database user.Downloading from OTN and Configuring the Embedded PL/SQL Gateway EXEC DBMS_XDB. PDF/report printing. -SELECT SYS_OP_R2O(extractValue(P.. Therefore.the "connect" privilege if APEX_030200 does not have the privilege yet.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -. Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section. PATH_VIEW P WHERE extractValue(P. the compatible initialization parameter of the database must be set to at least 11.RES.Look for the ACL currently assigned to '*' and give APEX_030200 -. but issues arise when sending outbound email. using the Find link). the following exception will be raised: --.If it does.RES. ■ ■ ■ Using Web services in Oracle Application Express.(for example.. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11. Enable Network Services in Oracle Database 11g By default. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.ORA-06512: at "XDB. -.1. ACL_PATH) = 1.1).0.XDB$ACL A. By default an 11g database will already have the parameter set properly.0.DBMS_XDBZ". but a database upgraded to 11g from a prior version may not.1). ensure that the ACL is valid -.0. Users can call methods from the APEX_MAIL package. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. Searching for content in online Help (that is. Downloading from Oracle Technology Network 3-9 .Before checking the privilege. -. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters. does not contain stale references to dropped users). Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user.SETHTTPPORT(0). if you are running Oracle Application Express with Oracle Database 11g release 1 (11.

xml'.'localhost').CREATE_ACL('local-access-users. ACL_ID RAW(16).RES. If it does. DBMS_NETWORK_ACL_ADMIN. 3-10 Oracle Application Express Installation Guide . ACL_PATH) = 1.CHECK_PRIVILEGE(ACL_PATH. 'APEX_030200'. the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB.Look for the ACL currently -. SELECT SYS_OP_R2O(extractValue(P.When no ACL has been assigned to 'localhost'. 'connect'). TRUE. / COMMIT. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. Before checking the privilege. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'.Downloading from OTN and Configuring the Embedded PL/SQL Gateway DBMS_XDBZ..xml'.XDB$ACL A. 'ACL that lets power users to connect to everywhere'. EXCEPTION -.xml'. DECLARE ACL_PATH VARCHAR2(4000).the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet.CREATE_ACL('power_users. IF DBMS_NETWORK_ACL_ADMIN. line . 'APEX_030200'.ASSIGN_ACL('power_users. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. 'connect').'*'). 'ACL that lets power users to connect to everywhere'. END IF. DBMS_XDBZ. does not contain stale references to dropped users). TRUE.RES. TRUE. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.. 'connect'). IF DBMS_NETWORK_ACL_ADMIN. END.ValidateACL(ACL_ID).CHECK_PRIVILEGE(ACL_PATH. 'APEX_030200'. 'APEX_030200'. The following example demonstrates how to provide less privileged access to local network resources.ADD_PRIVILEGE(ACL_PATH. END IF.ASSIGN_ACL('local-access-users.When no ACL has been assigned to '*'. 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. BEGIN -. ensure that the ACL is valid (for example. 'connect'). EXCEPTION -. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. TRUE. DBMS_NETWORK_ACL_ADMIN.xml'.DBMS_XDBZ".ValidateACL(ACL_ID). 'APEX_030200'. PATH_VIEW P WHERE extractValue(P.RES.

BEGIN -. run the following code to fix the ACL: DECLARE ACL_ID RAW(16). / COMMIT. END. drop the ACL completely. ELSE DELETE FROM XDB. Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script.Downloading from OTN and Configuring the Embedded PL/SQL Gateway END. IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB. '/ACL/ACE[PRINCIPAL="'||R.ACLID = ACE. CNT NUMBER. See "Granting Connect Privileges" on page 3-9. Downloading from Oracle Technology Network 3-11 .users in the ACL. SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). / REM commit the changes.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). remove just those -. SELECT ACL. Otherwise.XDB$ACL WHERE OBJECT_ID = ACL_ID. COMMIT. XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. use the following query to identify the invalid ACL: REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'. END IF. you must run the first script in this section to apply the ACL to the APEX_030200 user. END LOOP.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID.If just some users referenced in the ACL are invalid. -.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE. PRINCIPAL FROM DBA_NETWORK_ACLS NACL. Next. Once the ACL has been fixed.

if step 2 did not return a value.ctx_adm. To determine if the ability to use an Oracle Text URL datastore is already granted to a database role: 1.set_parameter('file_access_role'. This returns either NULL or the database role which is granted the ability to use an Oracle Text URL datastore. then create a new database role as shown in the following example: CREATE ROLE APEX_URL_DATASTORE_ROLE. 'APEX_URL_DATASTORE_ ROLE'). then the permission to use an Oracle Text URL datastore has not been granted to database user APEX_030200. 3-12 Oracle Application Express Installation Guide . For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. 3. then use the Oracle Text API to grant permission to the newly created database role with the following statement: EXEC ctxsys. 5. Lastly. There is a change in the default behavior and permissions to use an Oracle Text URL datastore in database 11gR2 and higher. If no value is returned by step 2.Downloading from OTN and Configuring the Embedded PL/SQL Gateway Enable Indexing of Online Help in Oracle Database 11gR2 and Higher The ability to search Oracle Application Express online Help is accomplished through Oracle Text and a URL datastore. If users attempt to search Oracle Application Express online Help in Oracle database 11gR2 and encounter the following error. Run the following command: SELECT par_value FROM ctxsys. the permission to use an Oracle Text URL datastore must be granted to the APEX_030200 database user. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. This is accomplished by assigning this specific privilege to a datbase role and then granting this role to the APEX_030200 database user.ctx_parameters WHERE par_name = 'FILE_ACCESS_ ROLE'. Grant this role to the database user APEX_030200 with the following statement: GRANT APEX_URL_DATASTORE_ROLE to APEX_030200. If step 2 returned a value. use this database role name instead of the example APEX_URL_DATASTORE_ROLE. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10758: index owner does not have the privilege to use file or URL datastore To enable the indexing of online Help in Oracle Application Express.

compromising security. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express. If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. load_de.AL32UTF8 Japanese_Japan. At runtime. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America. Simplified Chinese. making sure that the character set is AL32UTF8. The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. Brazilian Portuguese. A single instance of Oracle Application Express can be installed with one or more of these translated versions. French. encryption. Spanish.sql).Downloading from OTN and Configuring the Embedded PL/SQL Gateway Security Considerations Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in HTTP requests. and Traditional Chinese. Korean. For example. there is a language loading script identified by the language code (for example. For example: Downloading from Oracle Technology Network 3-13 . to install a translated version of Oracle Application Express. You can manually install translated versions of Oracle Application Express using SQL*Plus. and data integrity. Italian. you must run the load_lang. the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja.sql script to run a translated version of Oracle Application Express. Japanese.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. passwords could potentially be exposed. Set the NLS_LANG environment variable. Note: Regardless of the target database character set. Without the use of SSL. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. The installation files are encoded in AL32UTF8. SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication. the installation may fail or the translated Oracle Application Express instance may appear corrupt when run. Within each of directory. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. each user's Web browser language settings determine the specific language version. To install a translated version of Oracle Application Express: 1.sql or load_ja.

Downloading from OTN and Configuring the Embedded PL/SQL Gateway ■ Bourne or Korn shell: NLS_LANG=American_America.2.AL32UTF8 2. 4.sql for German or load_ja. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. you can view the number of JOB_QUEUE_ 3-14 Oracle Application Express Installation Guide . For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. For example: @load_lang. Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200.AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America.2. you cannot successfully execute a script. If JOB_QUEUE_PROCESSES is not enabled and working properly. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3. transactional support and SQL scripts require jobs. load_de. In Oracle Application Express release 3.sql Where lang is the specific language (for example.AL32UTF8 export NLS_LANG ■ C shell: setenv NLS_LANG American_America. Execute the appropriate language specific script.sql for Japanese).

click About Application Express.Downloading from OTN and Configuring the Embedded PL/SQL Gateway PROCESSES in the installation log files. ensure the SHARED_SERVERS database initialization parameter is set to a reasonable value (that is. For a small group of concurrent users. For example: ■ On Windows: Downloading from Oracle Technology Network 3-15 . To achieve acceptable performance when using the embedded PL/SQL gateway. Log in to Oracle Application Express. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example. The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. On the Administration list. 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Changing the Number of JOB_QUEUE_PROCESSES 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: 1. Configuring the SHARED_SERVERS Parameter The embedded PL/SQL gateway uses the shared server architecture of the Oracle Database. See "Logging in to Your Workspace" on page 3-18. See "Reviewing a Log of an Installation Session" on page A-1. To view the About Application Express page: 1. Oracle recommends a value of 5 for SHARED_SERVERS. Consider the following example: 1. not 0 or 1).

go to: http://hostname:port/apex/apex_admin Where: hostname is the name of the system where Oracle XML DB HTTP server is installed. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance.0 standards. Run the following statement: ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE=BOTH. a. Each workspace has a unique ID and name. 3-16 Oracle Application Express Installation Guide . See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express Topics in this section include: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. Your Web browser must support JavaScript and the HTML 4. If your setup uses the embedded PL/SQL gateway.0 and CSS 1. See "Browser Requirement" on page 2-2. An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests. Log in to Oracle Application Express Administration Services. navigate to the Oracle Application Express Administration Services application. data and applications private.Downloading from OTN and Configuring the Embedded PL/SQL Gateway SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser. In a Web browser. You log in using the ADMIN account and password created or reset during the installation process.

When Help is available. Log in to Oracle Application Express Administration Services as described in the previous section. Click Next. click Manage Developers and Users. Under Manage Workspaces. Confirm your selections and click Create. The Create Workspace Wizard appears. For Identify Workspace. enter admin. a. On the Login page: – – – In Username. For Identify Schema. 3. the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. c. click Create Workspace. enter the appropriate information. Click Manage Workspaces. 2. 5. b. Fields marked with an asterisk are required. Tip: To learn more about a specific attribute. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. select Yes. 4. enter the Workspace administrator information and click Next. 7.Downloading from OTN and Configuring the Embedded PL/SQL Gateway port is the port number assigned to Oracle XML DB HTTP server. Select a schema from the list. Under Manage Workspaces. create a workspace. apex is the database access descriptor (DAD) defined in the configuration file. The Manage Developers and Users page appears. 5. Click Login. Click Create. b. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1. click the item label. In Password. 4. Downloading from Oracle Technology Network 3-17 . Next. 2. The Create/Edit User page appears. enter the Oracle Application Express administrator account password you specified when you installed Oracle Application Express. 3. See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. For Re-use existing schema. Under User Attributes. enter a workspace name and description and click Next. For Identify Administrator. In a default installation. 6. this number is 8080. select the Oracle Forms application schema. Click Manage Workspaces.

Downloading from OTN and Configuring the Embedded PL/SQL Gateway 6. Under Account Control. user name. this value may be htmldb or something else. alter passwords of users within the same workspace.Select Yes to require the user to change the password immediately after logging in with the current. Require Change of Password on First Use . temporary password. select No.To add this user as a developer or Workspace administrator. and manage development services. enter the following: 3-18 Oracle Application Express Installation Guide . In a Web browser. In addition to having developer privileges. For users who have upgraded from earlier releases. In a default installation. manage groups. For developers or end users. workspace activity. and password). and schema reports. select Yes. be sure the password meets the requirements. Logging in to Your Workspace Once you create a workspace. workspace administrators can create and edit user accounts. If your setup uses the embedded PL/SQL gateway. navigate to the Oracle Application Express Login page. select No. or who have a custom configuration. For end users. you must log in to it using your login credentials (that is. Under Developer Privileges. specify the following: ■ Account Availability . select Yes. 2. select No. 7. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to your workspace: 1. port is the port number assigned to Oracle XML DB HTTP server. Otherwise. apex is the database access descriptor (DAD) defined in the configuration file. ■ 9. Developers can create and modify applications and database objects as well as view developer activity. the workspace name. this number is 8080. Verify your DAD with your Oracle Application Express administrator. select the appropriate privileges: ■ User is a developer . type a case-sensitive password for this account. Under Login. application. go to: http://hostname:port/apex Where: – – – hostname is the name of the system where Oracle XML DB HTTP server is installed. session state. ■ User is a workspace administrator .To add this user as a Workspace administrator. Click Create User or Create and Create Another. If your organization has set up a password policy. The Login page appears. 8. Under Password.Select Unlocked to enable a user to log in to this account.

depending on your setup.2. Click Login.Enter your case-sensitive password. you might be required to change your password when you log in for the first time.zip from the Oracle Application Express download page.com/technology/products/database/application_ express/download.3 or later. To learn more.oracle. Download and Install Oracle Application Express To install Oracle Application Express: 1.html Downloading from Oracle Technology Network 3-19 . See: http://www. Note that. Downloading from OTN and Configuring Oracle HTTP Server This section describes how to install Oracle Application Express by downloading a ZIP file from OTN and then configuring Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Oracle Application Server 10g. Password field . Username field . Topics in this section include: ■ ■ ■ ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Download and Install Oracle Application Express Change the Password for the ADMIN Account Restart Processes Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g Enable Network Services in Oracle Database 11g Enable Indexing of Online Help in Oracle Database 11gR2 and Higher Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES About Obfuscating PlsqlDatabasePassword Parameter Create a Workspace and Add Oracle Application Express Users See Also: "About the Oracle Application Express Runtime Environment" on page 1-2 and "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1 ■ ■ ■ ■ ■ ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Oracle Application Express requires an Oracle database that is release 9. see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page 3-1. 3.Enteryour user name.Enter the name of your workspace.Downloading from OTN and Configuring Oracle HTTP Server ■ ■ ■ Workspace field .2. Download the file apex_3.0.

Available installation options include: ■ Full development environment. Example: @apexins SYSAUX SYSAUX TEMP /i/ ■ Runtime environment. see "About the Oracle Application Express Runtime Environment" on page 1-2. Run apxrtins.zip Windows: Double click the file apex_3.2. images is the virtual directory for Oracle Application Express images. Unzip apex_3. A Runtime environment enables users to run applications that cannot be modified. See "Configuring Password Protection" in Oracle Database Security Guide. tablespace_files is the name of the tablespace for the Oracle Application Express files user. define the virtual image directory as /i/.2. 2. 6. To learn more. preserving directory names: ■ ■ UNIX and Linux: Unzip apex_3. Change your working directory to apex. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 5. tablespace_temp is the name of the temporary tablespace. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.Downloading from OTN and Configuring Oracle HTTP Server Note that the actual file name may differ if a more recent release has shipped since this document was published.zip in Windows Explorer 3. Run apexins. Select the appropriate installation option. Full development environment provides complete access to the Application Builder environment to develop applications.sql passing the following arguments in the order shown: @apxrtins tablespace_apex tablespace_files tablespace_temp images 3-20 Oracle Application Express Installation Guide . To support future Oracle Application Express upgrades. Disable any existing password complexity rules for the default profile.zip as follows.sql passing the following four arguments in the order shown: @apexins tablespace_apex tablespace_files tablespace_temp images Where: – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user.2.

In an upgrade scenario.The minimally privileged account used for Oracle Application Express configuration with Oracle HTTP Server and mod_plsql. the password will be preserved and carried over from the prior release. 2. tablespace_files is the name of the tablespace for the Oracle Application Express files user. ■ ■ If you are upgrading from a previous release. or if you are converting a runtime environment to a development environment. APEX_PUBLIC_USER . FLOWS_FILES. To support future Oracle Application Express upgrades.Downloading from OTN and Configuring Oracle HTTP Server Where: – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user. See "Reviewing a Log of an Installation Session" on page A-1. you must change the password of the internal ADMIN account. Change the Password for the ADMIN Account In a new installation of Oracle Application Express. FLOWS_FILES .The account that owns the Oracle Application Express uploaded files. images is the virtual directory for Oracle Application Express images. To change the password for the ADMIN account: 1. define the virtual image directory as /i/. already exists and APEX_PUBLIC_USER is created if it does not already exist. Change your working directory to the apex directory where you unzipped the installation software. 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 password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog Downloading from Oracle Technology Network 3-21 . tablespace_temp is the name of the temporary tablespace.The account that owns the Oracle Application Express schema and metadata. Example: @apxrtins SYSAUX SYSAUX TEMP /i/ See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus When Oracle Application Express installs it creates three new database accounts: ■ APEX_030200 . Tip: Oracle Application Express must be installed from a writable directory on the file system.

Downloading from OTN and Configuring Oracle HTTP Server SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Tip: If you are upgrading from a prior release of Oracle Application Express. In addition. You must unlock this account before configuring the database access descriptor (DAD) in a new installation.sql. Run apxchpwd. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3-22 Oracle Application Express Installation Guide . this step is unnecessary. Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g This section describes how to configure Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Oracle Application Server 10g. such as listener and other processes. you must restart the processes that you stopped before you began the installation. restart Oracle HTTP Server. To unlock the APEX_PUBLIC_USER account: 1. For example: @apxchpwd When prompted enter a password for the ADMIN account. Topics in this section include: ■ ■ ■ ■ Unlocking the APEX_PUBLIC_USER Account Changing the Password for the APEX_PUBLIC_USER Account Copy the Images Directory Configuring Oracle HTTP Server 11g or Oracle Application Server 10g See Also: "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1 Unlocking the APEX_PUBLIC_USER Account The APEX_PUBLIC_USER account is locked at the end of a new installation of Oracle Application Express. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus Restart Processes After you install Oracle Application Express.

Downloading from OTN and Configuring Oracle HTTP Server

2.

Run the following statement:
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK

Changing the Password for the APEX_PUBLIC_USER Account
The APEX_PUBLIC_USER account is created with a random password in a new installation of Oracle Application Express. You will must change the password for this account 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 is unnecessary.

To change the password for the APEX_PUBLIC_USER account:
1.

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 password: SYS_password

On UNIX and Linux:
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

2.

Run the following statement:
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password

Where new_password is the new password you are setting for APEX_PUBLIC_ USER. You will use this password when creating the DAD in the sections that follow. About Password Expiration in Oracle Database 11g In the default profile in Oracle Database 11g, the parameter PASSWORD_LIFE_TIME is set to 180. If you are using Oracle Database 11g with Oracle Application Express, this causes the password for APEX_ PUBLIC_USER to expire in 180 days. As a result, your Oracle Application Express instance will become unusable until you change the password. To prevent this behavior, create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it the new profile.
See Also:

Oracle Database Security Guide for information on creating profiles and assigning them to database users.

Copy the Images Directory
Whether you are loading a new installation or upgrading from a previous release, you must copy the images directory from the top level of the apex\images directory to the location on the file system containing the Oracle home for Oracle HTTP Server. Topics in this section include:

Copying the Images Directory After an Upgrade

Downloading from Oracle Technology Network 3-23

Downloading from OTN and Configuring Oracle HTTP Server

Copying the Images Directory in a New Installation

Copying the Images Directory After an Upgrade During an upgrade, you must overwrite your existing images directory. Before you begin the upgrade, to ensure that you can revert to the previous version, Oracle recommends that you create a copy of your existing images directory for Oracle Application Express, indicating the release number of the images (for example, images_3_1). To locate the images directory on the file system, review the following files for the text alias /i/:
■ ■ ■

Oracle HTTP Server distributed Oracle9i Release 2—see the httpd.conf file. Oracle Application Server 10g—see the marvel.conf or dads.conf files. Oracle HTTP Server distributed with Oracle Database 11g—see the marvel.conf or dads.conf files.

When you locate the images directory path, copy the existing images directory to a backup location. Doing so enables you to revert to the previous release, if that becomes necessary. After you copy the existing images directory, use the following command syntax to copy the apex\images directory from the Oracle Database home to the existing images directory path, overwriting the existing images:

Oracle Application Server 10g: – On Windows:
xcopy /E /I APEX_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images

On UNIX and Linux:
cp -rf APEX_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache

Oracle HTTP Server distributed with Oracle Database 11g: – On Windows:
xcopy /E /I APEX_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\images

On UNIX and Linux:
cp -rf APEX_HOME/apex/images ORACLE_HTTPSERVER_HOME/ohs

In the preceding syntax examples:

APEX_HOME is the directory where the Oracle Application Express software was unzipped ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server Oracle home

Copying the Images Directory in a New Installation After installation, copy the directory apex/images.

Oracle Application Server 10g: – On Windows:
xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images

On UNIX and Linux:
cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache

3-24 Oracle Application Express Installation Guide

Downloading from OTN and Configuring Oracle HTTP Server

Oracle HTTP Server distributed with Oracle Database 11g: – On Windows:
xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\images

On UNIX and Linux:
cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/ohs

In the preceding syntax examples:
■ ■

ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server Oracle home

Configuring Oracle HTTP Server 11g or Oracle Application Server 10g
Perform the following postinstallation steps if:

This is a new installation of Oracle Application Express (that is, you are not upgrading from a previous release). You are running Oracle HTTP Server distributed with Oracle Database 11g or Oracle Application Server 10g. Oracle HTTP Server is installed in an Oracle home.

Topics in this section include:
■ ■

Editing the dads.conf File Stopping and Restarting Oracle HTTP Server

Note that these instructions do not apply if you are running Oracle HTTP Server release 9.0.3. To learn more, see "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1.
Note: Within the context of this document, ORACLE_HTTPSERVER_ HOME is the location where Oracle HTTP Server is installed.

Editing the dads.conf File If this is a new installation of Oracle Application Express, you must edit the dads.conf file. The dads.conf file contains the information about the DAD to access Oracle Application Express. To edit the dads.conf file:
1.

Use a text editor and open the dads.conf.

Oracle Application Server 10g: – On Windows see:
ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf\dads.conf

On UNIX and Linux see:
ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf/dads.conf

Oracle HTTP Server distributed with Oracle Database 11g: – On Windows see:

Downloading from Oracle Technology Network 3-25

Downloading from OTN and Configuring Oracle HTTP Server

ORACLE_HTTPSERVER_HOME\ohs\modplsql\conf\dads.conf

On UNIX and Linux see:
ORACLE_HTTPSERVER_HOME/ohs/modplsql/conf/dads.conf

2.

In the dads.conf file, replace ORACLE_HTTPSERVER_HOME, host, port, service_name, and apex_public_user_password with values appropriate for your environment. Note that the apex_public_user_password is the password you changed in "Changing the Password for the APEX_PUBLIC_USER Account" on page 3-23. Note that the path listed is only an example. The path in the dads.conf file should reference the file system path described in "Copy the Images Directory" on page 3-23.
Alias /i/ "ORACLE_HTTPSERVER_HOME/Apache/images/" AddType text/xml xbl AddType text/x-component htc <Location /pls/apex> Order deny,allow PlsqlDocumentPath docs AllowOverride None PlsqlDocumentProcedure PlsqlDatabaseConnectString PlsqlNLSLanguage PlsqlAuthenticationMode SetHandler PlsqlDocumentTablename PlsqlDatabaseUsername PlsqlDefaultPage PlsqlDatabasePassword PlsqlRequestValidationFunction Allow from all </Location>

wwv_flow_file_mgr.process_download host:port:service_name ServiceNameFormat AMERICAN_AMERICA.AL32UTF8 Basic pls_handler wwv_flow_file_objects$ APEX_PUBLIC_USER apex apex_public_user_password wwv_flow_epg_include_modules.authorize

3.

Locate the line containing PlsqlNLSLanguage. The PlsqlNLSLanguage setting determines the language setting of the DAD. The character set portion of the PlsqlNLSLanguage value must be set to AL32UTF8, regardless of whether or not the database character set is AL32UTF8. For example:
... PlsqlNLSLanguage ... AMERICAN_AMERICA.AL32UTF8

4.

Save and exit the dads.conf file.

Stopping and Restarting Oracle HTTP Server To stop and restart Oracle HTTP Server:

For UNIX and Linux, execute the following:
ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl stopproc ias-component=HTTP_Server ORACLE_HTTPSERVER_HOME/opmn/bin/opmnctl startproc ias-component=HTTP_Server

For Windows, execute the following:
ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl stopproc ias-component=HTTP_Server ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl startproc ias-component=HTTP_Server

3-26 Oracle Application Express Installation Guide

PATH_VIEW P WHERE extractValue(P. ■ ■ ■ Using Web services in Oracle Application Express. but a database upgraded to 11g from a prior version may not. Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express.ORA-06512: at "XDB.RES..1).. SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. you must use the new DBMS_NETWORK_ACL_ ADMIN package to grant connect privileges to any host for the APEX_030200 database user. -.1.Downloading from OTN and Configuring Oracle HTTP Server Enable Network Services in Oracle Database 11g By default. Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user. Searching for content in online Help (that is. using the Find link). By default an 11g database will already have the parameter set properly. BEGIN -.DBMS_XDBZ". PDF/report printing.the "connect" privilege if APEX_030200 does not have the privilege yet.If it does. DECLARE ACL_PATH VARCHAR2(4000).(for example.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -. Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section.XDB$ACL A. ACL_PATH) = 1.0. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.0. Therefore.1). ensure that the ACL is valid -.0. line . but issues arise when sending outbound email. ACL_ID RAW(16).RES. does not contain stale references to dropped users).Look for the ACL currently assigned to '*' and give APEX_030200 -. the following exception will be raised: --.RES.Before checking the privilege. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. the compatible initialization parameter of the database must be set to at least 11. Downloading from Oracle Technology Network 3-27 . -SELECT SYS_OP_R2O(extractValue(P. -. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters. if you are running Oracle Application Express with Oracle Database 11g release 1 (11. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11. Users can call methods from the APEX_MAIL package.

CREATE_ACL('power_users. ensure that the ACL is valid (for example. 'connect'). DBMS_NETWORK_ACL_ADMIN. IF DBMS_NETWORK_ACL_ADMIN.Downloading from OTN and Configuring Oracle HTTP Server DBMS_XDBZ. 'connect').DBMS_XDBZ". 'APEX_030200'.xml'. 'APEX_030200'. EXCEPTION -..When no ACL has been assigned to 'localhost'. END IF. ACL_ID RAW(16). 'APEX_030200'. TRUE. 'APEX_030200'. TRUE. EXCEPTION -. The following example demonstrates how to provide less privileged access to local network resources. TRUE. If it does.RES.ValidateACL(ACL_ID).the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet.RES.CHECK_PRIVILEGE(ACL_PATH. IF DBMS_NETWORK_ACL_ADMIN. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.CREATE_ACL('local-access-users. 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. does not contain stale references to dropped users).'localhost'). 'connect'). / COMMIT.RES.. TRUE. 3-28 Oracle Application Express Installation Guide . WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH. END.ASSIGN_ACL('power_users. BEGIN -. the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB.When no ACL has been assigned to '*'. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'. DECLARE ACL_PATH VARCHAR2(4000). '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. END. 'connect').ValidateACL(ACL_ID). 'ACL that lets power users to connect to everywhere'. PATH_VIEW P WHERE extractValue(P.ADD_PRIVILEGE(ACL_PATH. Before checking the privilege.ADD_PRIVILEGE(ACL_PATH.'*').xml'. 'ACL that lets power users to connect to everywhere'.xml'. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN.XDB$ACL A.ASSIGN_ACL('local-access-users. SELECT SYS_OP_R2O(extractValue(P. ACL_PATH) = 1. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'.Look for the ACL currently -. line . DBMS_NETWORK_ACL_ADMIN. END IF. DBMS_XDBZ.xml'.

CNT NUMBER. IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB. you must run the first script in this section to apply the ACL to the APEX_030200 user.If just some users referenced in the ACL are invalid.users in the ACL. SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). END LOOP.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID. -.XDB$ACL WHERE OBJECT_ID = ACL_ID. / REM commit the changes. END. END IF. XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL.Downloading from OTN and Configuring Oracle HTTP Server / COMMIT. drop the ACL completely.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). PRINCIPAL FROM DBA_NETWORK_ACLS NACL. Downloading from Oracle Technology Network 3-29 . BEGIN -. run the following code to fix the ACL: DECLARE ACL_ID RAW(16). use the following query to identify the invalid ACL: REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'. Next. See "Granting Connect Privileges" on page 3-27. Otherwise.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE. Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script. ELSE DELETE FROM XDB. Once the ACL has been fixed. '/ACL/ACE[PRINCIPAL="'||R. COMMIT.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL.ACLID = ACE. remove just those -. SELECT ACL.

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10758: index owner does not have the privilege to use file or URL datastore To enable the indexing of online Help in Oracle Application Express. then the permission to use an Oracle Text URL datastore has not been granted to database user APEX_030200. 4. There is a change in the default behavior and permissions to use an Oracle Text URL datastore in database 11gR2 and higher. Grant this role to the database user APEX_030200 with the following statement: GRANT APEX_URL_DATASTORE_ROLE to APEX_030200. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Run the following command: SELECT par_value FROM ctxsys.Downloading from OTN and Configuring Oracle HTTP Server Enable Indexing of Online Help in Oracle Database 11gR2 and Higher The ability to search Oracle Application Express online Help is accomplished through Oracle Text and a URL datastore. If users attempt to search Oracle Application Express online Help in Oracle database 11gR2 and encounter the following error. the permission to use an Oracle Text URL datastore must be granted to the APEX_030200 database user. 5.ctx_parameters WHERE par_name = 'FILE_ACCESS_ ROLE'.ctx_adm. This returns either NULL or the database role which is granted the ability to use an Oracle Text URL datastore. Lastly. 3. then create a new database role as shown in the following example: CREATE ROLE APEX_URL_DATASTORE_ROLE. use this database role name instead of the example APEX_URL_DATASTORE_ROLE. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. If step 2 returned a value. if step 2 did not return a value. 3-30 Oracle Application Express Installation Guide . 'APEX_URL_DATASTORE_ ROLE'). This is accomplished by assigning this specific privilege to a datbase role and then granting this role to the APEX_030200 database user. then use the Oracle Text API to grant permission to the newly created database role with the following statement: EXEC ctxsys.set_parameter('file_access_role'. To determine if the ability to use an Oracle Text URL datastore is already granted to a database role: 1. If no value is returned by step 2.

and Traditional Chinese. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. A single instance of Oracle Application Express can be installed with one or more of these translated versions. If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. to install a translated version of Oracle Application Express. Japanese. Italian. making sure that the character set is AL32UTF8. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express. the installation may fail or the translated Oracle Application Express instance may appear corrupt when run. and data integrity. you must run the load_lang.AL32UTF8 Japanese_Japan. For example: Downloading from Oracle Technology Network 3-31 . the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. To install a translated version of Oracle Application Express: 1.sql). Simplified Chinese.sql or load_ja. Set the NLS_LANG environment variable. compromising security. passwords could potentially be exposed. Brazilian Portuguese. You can manually install translated versions of Oracle Application Express using SQL*Plus. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America. Note: Regardless of the target database character set. encryption. For example. Without the use of SSL. load_de. there is a language loading script identified by the language code (for example.sql script to run a translated version of Oracle Application Express. The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. Korean.Downloading from OTN and Configuring Oracle HTTP Server Security Considerations Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in HTTP requests. Within each of directory.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. At runtime. Spanish. French. each user's Web browser language settings determine the specific language version. SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication. The installation files are encoded in AL32UTF8.

sql Where lang is the specific language (for example. transactional support and SQL scripts require jobs.2.2. Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200.AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3.sql for German or load_ja. 4. For example: @load_lang. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs.AL32UTF8 export NLS_LANG ■ C shell: setenv NLS_LANG American_America. load_de. If JOB_QUEUE_PROCESSES is not enabled and working properly.AL32UTF8 2. Execute the appropriate language specific script. In Oracle Application Express release 3.Downloading from OTN and Configuring Oracle HTTP Server ■ Bourne or Korn shell: NLS_LANG=American_America. you can view the number of JOB_QUEUE_ 3-32 Oracle Application Express Installation Guide . you cannot successfully execute a script. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3.sql for Japanese).

On the Administration list.pl utility to obfuscate passwords in the dads.Downloading from OTN and Configuring Oracle HTTP Server PROCESSES in the installation log files. You can find the dadTool. You can use the dadTool. To view the About Application Express page: 1. Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Changing the Number of JOB_QUEUE_PROCESSES 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: 1. running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20.pl utility in the following directory: ■ For UNIX and Linux based systems: ORACLE_BASE/ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf ■ For Windows based systems: Downloading from Oracle Technology Network 3-33 . Log in to Oracle Application Express. click About Application Express. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example. See "Logging in to Your Workspace" on page 3-36. About Obfuscating PlsqlDatabasePassword Parameter The PlsqlDatabasePassword parameter specifies the password for logging in to the database.conf file. See "Reviewing a Log of an Installation Session" on page A-1. 2. The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.

A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Log in to Oracle Application Express Administration Services. apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. data and applications private. navigate to the Oracle Application Express Administration Services application. a.Downloading from OTN and Configuring Oracle HTTP Server ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf Obfuscating Passwords To obfuscate passwords. See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express Topics in this section include: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. You log in using the ADMIN account and password created or reset during the installation process. See "Browser Requirement" on page 2-2. pls is the indicator to use the mod_plsql cartridge.README file. Each workspace has a unique ID and name.0 and CSS 1. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. In a Web browser. go to: http://hostname:port/pls/apex/apex_admin Where: hostname is the name of the system where Oracle HTTP Server is installed. In a default installation. See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. this number is 7777. Your Web browser must support JavaScript and the HTML 4.pl by following the instructions in the dadTool. 3-34 Oracle Application Express Installation Guide . run dadTool.0 standards. If your setup uses Apache and mod_plsql. port is the port number assigned to Oracle HTTP Server. An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests.

the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. 2. enter a workspace name and description and click Next. Under Manage Workspaces. See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. 4. Next. Tip: To learn more about a specific attribute. If your organization has set up a password policy. 3. enter the Oracle Application Express administrator account password you specified when you installed Oracle Application Express. Click Manage Workspaces. Click Login. select the Oracle Forms application schema. 4. For Identify Workspace. type a case-sensitive password for this account. 2. 5. The Create Workspace Wizard appears. Select a schema from the list. Click Next. a. 3. select Yes. click the item label. The Create/Edit User page appears. Fields marked with an asterisk are required. Log in to Oracle Application Express Administration Services as described in the previous section. click Create Workspace. On the Login page: – – – In Username. be sure the password meets the requirements. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1.Downloading from OTN and Configuring Oracle HTTP Server b. Confirm your selections and click Create. click Manage Developers and Users. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. create a workspace. c. enter admin. The Manage Developers and Users page appears. Click Create. 6. 7. Under Manage Workspaces. For Identify Administrator. When Help is available. 6. 5. b. Under Password. Click Manage Workspaces. Under User Attributes. For Identify Schema. enter the Workspace administrator information and click Next. In Password. enter the appropriate information. For Re-use existing schema. Downloading from Oracle Technology Network 3-35 .

In a default installation. 2. apex is the database access descriptor (DAD) defined in the configuration file. select Yes. The Login page appears.To add this user as a Workspace administrator. Developers can create and modify applications and database objects as well as view developer activity. workspace administrators can create and edit user accounts. For users who have upgraded from earlier releases. navigate to the Oracle Application Express Login page. ■ 9. user name. select No. enter the following: ■ ■ ■ Workspace field . and manage development services. 3-36 Oracle Application Express Installation Guide . In addition to having developer privileges. and schema reports. ■ User is a workspace administrator . In a Web browser.Enteryour user name. select No. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to your workspace: 1. go to: http://hostname:port/apex Where: – – – hostname is the name of the system where Oracle XML DB HTTP server is installed. Password field . this number is 8080.Enter the name of your workspace. Under Developer Privileges.Enter your case-sensitive password.To add this user as a developer or Workspace administrator. specify the following: ■ Account Availability . alter passwords of users within the same workspace. and password). select No. Username field . If your setup uses the embedded PL/SQL gateway. For developers or end users. Logging in to Your Workspace Once you create a workspace. manage groups. select the appropriate privileges: ■ User is a developer . you must log in to it using your login credentials (that is. application. Click Create User or Create and Create Another. the workspace name. For end users.Select Yes to require the user to change the password immediately after logging in with the current. this value may be htmldb or something else. Under Account Control. 8. port is the port number assigned to Oracle XML DB HTTP server. session state. or who have a custom configuration. workspace activity. Otherwise. temporary password. Require Change of Password on First Use . Under Login. Verify your DAD with your Oracle Application Express administrator. select Yes.Downloading from OTN and Configuring Oracle HTTP Server 7.Select Unlocked to enable a user to log in to this account.

those entries are candidates for removal. First you verify if a prior installation exists and then you remove the schemas.Post Installation Tasks for Upgrade Installations 3. you should remove schemas from prior Oracle Application Express installations. Removing schemas from a prior installation is a two step process. you might be required to change your password when you log in for the first time. Run the following query: SELECT username FROM dba_users WHERE (username LIKE 'FLOWS_%' OR USERNAME LIKE 'APEX_%') AND USERNAME NOT IN ( SELECT 'FLOWS_FILES' FROM DUAL UNION SELECT 'APEX_PUBLIC_USER' FROM DUAL UNION SELECT SCHEMA s FROM dba_registry WHERE comp_id = 'APEX'). depending on your setup. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Downloading from Oracle Technology Network 3-37 . Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. Note that. Verify if a Prior Installation Exists To verify if a prior installation exists: 1. If the results contain entries in the form FLOWS_XXXXXX or APEX_XXXXXX where XXXXXX represents six numbers. Post Installation Tasks for Upgrade Installations Once you have verified that your upgrade installation was successful and all upgraded applications function properly. Click Login. Topics in this section include: ■ ■ Remove Prior Oracle Application Express Installations Fix Invalid ACL in Oracle Database 11g Remove Prior Oracle Application Express Installations The database users associated with schemas from prior installations are privileged users and should be removed when they are no longer necessary.

Fix Invalid ACL in Oracle Database 11g After following the instructions in"Remove Prior Oracle Application Express Installations" on page 3-37. It includes only the packages necessary to run your applications. 'FLOWS_ 030000').DELETE_PRIVILEGE('power_users. you may need to fix an invalid ACL if you are running Oracle Database 11g and you enabled network services for the prior Oracle Application Express schema. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. 2. Execute a statement similar to following: EXEC DBMS_NETWORK_ACL_ADMIN. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. To fix an invalid ACL: 1. making it a more hardened environment. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Execute a statement similar to the following example: DROP USER FLOWS_030000 CASCADE. It does not provide a Web interface for administration. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.xml'. Change your working directory to the apex directory where you unzipped the installation software. 3-38 Oracle Application Express Installation Guide .About the Oracle Application Express Runtime Environment Remove Schemas from Prior Installations To remove schemas from prior installations: 1. About the Oracle Application Express Runtime Environment The Oracle Application Express runtime environment enables users to run a production application without supporting the ability to change or edit the application.

"Managing a Runtime Environment" and in Oracle Application Express Application Builder User's Guide. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog Downloading from Oracle Technology Network 3-39 . Follow the instructions in "Change the Password for the ADMIN Account" on page 3-21. 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Change your working directory to the apex directory where you unzipped the installation software. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. 2. Run apxdvins. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Change your working directory to the apex directory where you unzipped the installation software. For example: @apxdvins 4. See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus Converting a Full Development Environment to a Runtime Environment To convert an Oracle Application Express full development environment to a runtime environment: 1. To learn more see.About the Oracle Application Express Runtime Environment You administer the Oracle Application Express runtime environment using SQL*Plus or SQL Developer and the APEX_INSTANCE_ADMIN API.sql. Topics in this section include: ■ ■ Converting a Runtime Environment to a Full Development Environment Converting a Full Development Environment to a Runtime Environment Converting a Runtime Environment to a Full Development Environment To convert an Oracle Application Express runtime environment to a full development environment: 1.

For example: @apxdevrm See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus 3-40 Oracle Application Express Installation Guide .About the Oracle Application Express Runtime Environment SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3.sql. Run apxdevrm.

see "Upgrading from a Previous Version of Oracle Application Express" on page 1-2. Oracle recommends that you complete the following steps: Configuration Tasks When Installing from the Database 4-1 . Recommended Pre-installation Tasks Before installing Oracle Application Express.oracle. This chapter describes required postinstallation configuration tasks for Oracle Application Express when installed with Oracle Database 11g or later. To learn more. To learn more about downloading and installing Oracle Application Express from Oracle Technology Network (OTN) see "Downloading from Oracle Technology Network" on page 3-1. The instructions in this chapter apply to both new and upgrade installations. then check the Oracle Application Express page on the Oracle Technology Network (OTN) at the following URL for information about patch set releases or later versions of Oracle Application Express: http://www.html Upgrading to Oracle Database 11g will not patch Oracle Application Express. This chapter contains these topics: ■ ■ ■ ■ ■ ■ ■ About Patching Oracle Application Express Recommended Pre-installation Tasks Choosing an HTTP Server Installing from the Database and Configure the Embedded PL/SQL Gateway Installing from the Database and Configure Oracle HTTP Server Post Installation Tasks for Upgrade Installations About the Oracle Application Express Runtime Environment About Patching Oracle Application Express If you are already running Oracle Application Express.4 Configuration Tasks When Installing from the Database Oracle Application Express is installed by default with Oracle Database 11g.com/technology/products/database/application_ express/index.

Review and satisfy all Oracle Application Express installation requirements.Choosing an HTTP Server 1. to shut down Oracle Database and ASM instances. Oracle recommends that you create a backup of the current installation of Oracle Database installation before you install Oracle Application Express. you must start the Oracle instance that contains the target Oracle database. Topics in this section include: ■ Install the Oracle Database and Complete Pre-installation Tasks 4-2 Oracle Application Express Installation Guide . and then shut down the ASM instance. On Oracle Real Application Clusters (Oracle RAC) systems. Back up the Oracle Database installation. Choosing an HTTP Server In order to run. After backing up the system. Note: If you are connecting to a remote database. make sure the database listener for the remote database has started. 2. Shut down any existing Oracle Database instances with normal or immediate priority. shut down all databases that use ASM except for the database where you will install Oracle Application Express. However. then start the listener. In addition. if you are performing a remote installation. You can use Oracle Database Recovery Manager. To learn more. Names of Oracle databases are preceded with OracleService. Start the Oracle Database instance that contains the target database. You can use the Windows Services utility. Do not start other processes such as the listener or Oracle HTTP Server. which ASM uses. located either in the Windows Control Panel or from the Administrative Tools menu (under Start and then Programs). See Also: Oracle Database Backup and Recovery User's Guide 4. 3. except for the database where you plan to install the Oracle Application Express schemas. Installing from the Database and Configure the Embedded PL/SQL Gateway This section describes required postinstallation configuration tasks when running Oracle Application Express with the embedded PL/SQL gateway. see "About Choosing an HTTP Server" on page 1-3. The Oracle ASM service is named OracleASMService+ASM. See "Oracle Application Express Installation Requirements" on page 2-1. Oracle Application Express must have access to either the embedded PL/SQL gateway or Oracle HTTP Server and mod_plsql. Shut down any existing Oracle Database instances as well as Oracle-related processes. If Automatic Storage Management (ASM) is running. which is included the Oracle Database installation. Right-click the name of the service and from the menu. shut down the OracleCSService service. choose Stop. to perform the backup. shut down all instances on each node.

Installing from the Database and Configure the Embedded PL/SQL Gateway

■ ■ ■ ■ ■ ■ ■ ■

Configure the Embedded PL/SQL Gateway Enable Network Services in Oracle Database 11g Enable Indexing of Online Help in Oracle Database 11gR2 and Higher Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES Configuring the SHARED_SERVERS Parameter Create a Workspace and Add Oracle Application Express Users
See Also: "About the Oracle Application Express Runtime Environment" on page 4-33

Install the Oracle Database and Complete Pre-installation Tasks
Oracle Application Express automatically installs with Oracle Database 11g or later. To learn more about install the Oracle Database, see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page 4-1.

Configure the Embedded PL/SQL Gateway
Although the embedded PL/SQL gateway installs with the Oracle Database 11g, you must configure it before you can use it with Oracle Application Express. To accomplish, you run a configuration file and unlock the ANONYMOUS account.
Note:

The Oracle XML DB HTTP Server with the embedded PL/SQL gateway is not supported before Oracle Database 11g.

Topics in this section include:
■ ■ ■ ■

Running the apxconf.sql Configuration Script Verifying the Oracle XML DB HTTP Server Port Enabling Oracle XML DB HTTP Server Disabling Oracle XML DB HTTP Server

Running the apxconf.sql Configuration Script
In a new installation, you configure the embedded PL/SQL gateway by running the configuration script apxconf.sql. Then, you unlock the ANONYMOUS account.
Note:

If you are upgrading and have previously configured the embedded PL/SQL gateway, skip this section and go to "Enable Network Services in Oracle Database 11g" on page 4-6.

To run the apxconf.sql configuration script:
1. 2.

Change your working directory to ORACLE_BASE\ORACLE_HOME\apex or whatever convention used to indicate the Oracle home. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. For example:

On Windows:

Configuration Tasks When Installing from the Database 4-3

Installing from the Database and Configure the Embedded PL/SQL Gateway

SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

On UNIX and Linux:
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

3.

Run apxconf.sql as shown in the following example:
@apxconf

4.

When prompted, enter a password for the Application Express Admin account. Be sure to make a note of the password you enter. You will use this password to log in to Oracle Application Express Administration Services.

5. 6.

When prompted, enter the port for the Oracle XML DB HTTP server. The default port number is 8080. Enter the following statement to unlock the ANONYMOUS account:
ALTER USER ANONYMOUS ACCOUNT UNLOCK;

Verifying the Oracle XML DB HTTP Server Port
The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database. You can determine if the Oracle XML DB HTTP server is enabled by verifying the associated port number. To verify the port number where the Oracle XML DB HTTP Server is running:
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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

On UNIX and Linux:
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

2.

Enter the following statement to verify the port number:
SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;

If the port number returns 0, the Oracle XML DB HTTP Server is disabled.
3.

To enable it, follow the instructions in "Enabling Oracle XML DB HTTP Server" on page 4-4.

Enabling Oracle XML DB HTTP Server
The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database. To enable Oracle XML DB HTTP server:
4-4 Oracle Application Express Installation Guide

Installing from the Database and Configure the Embedded PL/SQL Gateway

1.

Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. For example:

Windows:
DRIVE_LETTER:\> sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

UNIX and Linux:
$ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

2.

Run the following statements:
EXEC DBMS_XDB.SETHTTPPORT(port); COMMIT;

For example:
EXEC DBMS_XDB.SETHTTPPORT(8080); COMMIT;

Note:

Port numbers less than 1024 are reserved for use by privileged processes on many operating systems. To enable the XML DB HTTP listener on a port less than 1024, such as 80, review the following documentation: "Using Protocols to Access the Repository" and "Using HTTP(S) on Nonstandard Ports" in Oracle XML DB Developer's Guide. "Protocol Address Configuration" and "Port Number Limitations" in Oracle Database Net Services Reference.

Disabling Oracle XML DB HTTP Server
The embedded PL/SQL gateway runs in the Oracle XML DB HTTP server in the Oracle database. To disable Oracle XML DB HTTP server:
1.

Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. For example:

Windows:
DRIVE_LETTER:\> sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

UNIX and Linux:
$ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password

2.

Run the following statements:
EXEC DBMS_XDB.SETHTTPPORT(0); COMMIT;

Configuration Tasks When Installing from the Database 4-5

Searching for content in online Help (that is.Installing from the Database and Configure the Embedded PL/SQL Gateway Enable Network Services in Oracle Database 11g By default. PATH_VIEW P WHERE extractValue(P.DBMS_XDBZ".1). ensure that the ACL is valid -. ■ ■ ■ Using Web services in Oracle Application Express. line . DECLARE ACL_PATH VARCHAR2(4000). 'connect') IS NULL THEN 4-6 Oracle Application Express Installation Guide . BEGIN -.1). Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user. the compatible initialization parameter of the database must be set to at least 11. does not contain stale references to dropped users).RES. using the Find link).0.(for example.RES.. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.0. Users can call methods from the APEX_MAIL package.ORA-06512: at "XDB.0. By default an 11g database will already have the parameter set properly. the following exception will be raised: --. -SELECT SYS_OP_R2O(extractValue(P. but a database upgraded to 11g from a prior version may not. ACL_ID RAW(16). you must use the new DBMS_NETWORK_ACL_ ADMIN package to grant connect privileges to any host for the APEX_030200 database user.CHECK_PRIVILEGE(ACL_PATH.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -. if you are running Oracle Application Express with Oracle Database 11g release 1 (11. DBMS_XDBZ. ACL_PATH) = 1. -.XDB$ACL A. Therefore.ValidateACL(ACL_ID). IF DBMS_NETWORK_ACL_ADMIN.1.If it does.RES. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.Look for the ACL currently assigned to '*' and give APEX_030200 -..the "connect" privilege if APEX_030200 does not have the privilege yet. 'APEX_030200'. SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. -.Before checking the privilege. but issues arise when sending outbound email. PDF/report printing. Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section.

xml'. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P.ASSIGN_ACL('power_users. Configuration Tasks When Installing from the Database 4-7 . IF DBMS_NETWORK_ACL_ADMIN. does not contain stale references to dropped users). '/Resource/XMLRef')) INTO ACL_ID FROM XDB. TRUE. 'connect'). 'connect'). WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB. DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'.'*').XDB$ACL A. ACL_ID RAW(16). 'connect').the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet. END IF.ASSIGN_ACL('local-access-users. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. ensure that the ACL is valid (for example. DBMS_XDBZ. The following example demonstrates how to provide less privileged access to local network resources. 'APEX_030200'. END IF.RES. EXCEPTION -. 'APEX_030200'.RES. 'APEX_030200'. EXCEPTION -.CHECK_PRIVILEGE(ACL_PATH.'localhost'). line . TRUE. If it does.ValidateACL(ACL_ID). Before checking the privilege. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL.ADD_PRIVILEGE(ACL_PATH..xml'.RES.When no ACL has been assigned to 'localhost'. / COMMIT. END. ACL_PATH) = 1.Installing from the Database and Configure the Embedded PL/SQL Gateway DBMS_NETWORK_ACL_ADMIN. DECLARE ACL_PATH VARCHAR2(4000).CREATE_ACL('local-access-users.xml'. BEGIN -.xml'. 'ACL that lets power users to connect to everywhere'. TRUE..CREATE_ACL('power_users.Look for the ACL currently -. 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. DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'.When no ACL has been assigned to '*'. / COMMIT. 'ACL that lets power users to connect to everywhere'. PATH_VIEW P WHERE extractValue(P. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. SELECT SYS_OP_R2O(extractValue(P. END.ADD_PRIVILEGE(ACL_PATH.DBMS_XDBZ". 'connect'). TRUE.

you must run the first script in this section to apply the ACL to the APEX_030200 user.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL).If just some users referenced in the ACL are invalid. END LOOP. BEGIN -. drop the ACL completely. IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID. 4-8 Oracle Application Express Installation Guide . run the following code to fix the ACL: DECLARE ACL_ID RAW(16).ACLID = ACE. ELSE DELETE FROM XDB. END IF. CNT NUMBER.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE. See "Granting Connect Privileges" on page 4-6. remove just those -.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL.users in the ACL. use the following query to identify the invalid ACL: REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'. SELECT ACL. / REM commit the changes.Installing from the Database and Configure the Embedded PL/SQL Gateway Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script. '/ACL/ACE[PRINCIPAL="'||R. Otherwise. -. COMMIT. Once the ACL has been fixed. XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL. Next. PRINCIPAL FROM DBA_NETWORK_ACLS NACL.XDB$ACL WHERE OBJECT_ID = ACL_ID. SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). END.

4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. This is accomplished by assigning this specific privilege to a datbase role and then granting this role to the APEX_030200 database user. If users attempt to search Oracle Application Express online Help in Oracle database 11gR2 and encounter the following error. 3. To determine if the ability to use an Oracle Text URL datastore is already granted to a database role: 1. Grant this role to the database user APEX_030200 with the following statement: GRANT APEX_URL_DATASTORE_ROLE to APEX_030200. This returns either NULL or the database role which is granted the ability to use an Oracle Text URL datastore. 5. If no value is returned by step 2. Configuration Tasks When Installing from the Database 4-9 . then the permission to use an Oracle Text URL datastore has not been granted to database user APEX_030200. If step 2 returned a value.ctx_adm. the permission to use an Oracle Text URL datastore must be granted to the APEX_030200 database user. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10758: index owner does not have the privilege to use file or URL datastore To enable the indexing of online Help in Oracle Application Express.ctx_parameters WHERE par_name = 'FILE_ACCESS_ ROLE'. use this database role name instead of the example APEX_URL_DATASTORE_ROLE.Installing from the Database and Configure the Embedded PL/SQL Gateway Enable Indexing of Online Help in Oracle Database 11gR2 and Higher The ability to search Oracle Application Express online Help is accomplished through Oracle Text and a URL datastore. if step 2 did not return a value. Run the following command: SELECT par_value FROM ctxsys. 'APEX_URL_DATASTORE_ ROLE'). For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. There is a change in the default behavior and permissions to use an Oracle Text URL datastore in database 11gR2 and higher. then use the Oracle Text API to grant permission to the newly created database role with the following statement: EXEC ctxsys. then create a new database role as shown in the following example: CREATE ROLE APEX_URL_DATASTORE_ROLE.set_parameter('file_access_role'. Lastly.

the installation may fail or the translated Oracle Application Express instance may appear corrupt when run. The installation files are encoded in AL32UTF8. load_de. you must run the load_lang.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. You can manually install translated versions of Oracle Application Express using SQL*Plus. Set the NLS_LANG environment variable. and Traditional Chinese. Spanish. Without the use of SSL. compromising security. there is a language loading script identified by the language code (for example. Korean. Japanese. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express.sql script to run a translated version of Oracle Application Express. Within each of directory. each user's Web browser language settings determine the specific language version. making sure that the character set is AL32UTF8.sql or load_ja. To install a translated version of Oracle Application Express: 1.AL32UTF8 Japanese_Japan. A single instance of Oracle Application Express can be installed with one or more of these translated versions. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. and data integrity. For example. Brazilian Portuguese. to install a translated version of Oracle Application Express. encryption. The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. At runtime. Note: Regardless of the target database character set. passwords could potentially be exposed.sql). the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. French. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America. If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. Italian. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. Simplified Chinese. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. For example: 4-10 Oracle Application Express Installation Guide . SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication.Installing from the Database and Configure the Embedded PL/SQL Gateway Security Considerations Oracle highly recommends you configure and use a Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in HTTP requests.

sql for German or load_ja. you cannot successfully execute a script. In Oracle Application Express release 3. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3. transactional support and SQL scripts require jobs.AL32UTF8 export NLS_LANG ■ C shell: setenv NLS_LANG American_America. If JOB_QUEUE_PROCESSES is not enabled and working properly.Installing from the Database and Configure the Embedded PL/SQL Gateway ■ Bourne or Korn shell: NLS_LANG=American_America.AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. For example: @load_lang.sql for Japanese). Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Execute the appropriate language specific script. 4. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. load_de.2.sql Where lang is the specific language (for example.2.AL32UTF8 2. you can view the number of JOB_QUEUE_ Configuration Tasks When Installing from the Database 4-11 .

Consider the following example: 1. To achieve acceptable performance when using the embedded PL/SQL gateway. Oracle recommends a value of 5 for SHARED_SERVERS. On the Administration list. For a small group of concurrent users. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example: ■ On Windows: 4-12 Oracle Application Express Installation Guide . See "Reviewing a Log of an Installation Session" on page A-1. Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. ensure the SHARED_SERVERS database initialization parameter is set to a reasonable value (that is. Configuring the SHARED_SERVERS Parameter The embedded PL/SQL gateway uses the shared server architecture of the Oracle Database. To view the About Application Express page: 1. See "Logging in to Your Oracle Application Express Workspace" on page 4-15. not 0 or 1). 2. The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Log in to Oracle Application Express. click About Application Express. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Changing the Number of JOB_QUEUE_PROCESSES 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: 1.Installing from the Database and Configure the Embedded PL/SQL Gateway PROCESSES in the installation log files. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example. running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20.

Each workspace has a unique ID and name. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. See "Browser Requirement" on page 2-2. go to: http://hostname:port/apex/apex_admin Where: hostname is the name of the system where Oracle XML DB HTTP server is installed. See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express This section includes these topics: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Oracle Application Express Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. In a Web browser. Run the following statement: ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE=BOTH. A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Log in to Oracle Application Express Administration Services. data and applications private. If your setup uses the embedded PL/SQL gateway.Installing from the Database and Configure the Embedded PL/SQL Gateway SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Configuration Tasks When Installing from the Database 4-13 . An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests.0 standards. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. You log in using the ADMIN account and password created or reset during the installation process. Your Web browser must support JavaScript and the HTML 4. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser. a.0 and CSS 1. See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. navigate to the Oracle Application Express Administration Services application.

Fields marked with an asterisk are required. When Help is available. Click Manage Workspaces. 5. apex is the database access descriptor (DAD) defined in the configuration file. Select a schema from the list. enter the appropriate information. Under Manage Workspaces. enter the Workspace administrator information and click Next. Tip: To learn more about a specific attribute. select the Oracle Forms application schema. click Create Workspace. enter the Oracle Application Express administrator account password you specified when you installed Oracle Application Express. a. For Identify Schema. 2. Under User Attributes. click the item label. For Re-use existing schema. 5. enter a workspace name and description and click Next. Click Manage Workspaces. In Password. The Manage Developers and Users page appears. the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. 3. Under Manage Workspaces. 3. Next. select Yes. 4-14 Oracle Application Express Installation Guide . create a workspace. For Identify Administrator. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1. 4. On the Login page: – – – In Username. Click Create. click Manage Developers and Users. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. The Create/Edit User page appears. c. 6. Confirm your selections and click Create. b. 7. this number is 8080. In a default installation. 2. For Identify Workspace. The Create Workspace Wizard appears. 4.Installing from the Database and Configure the Embedded PL/SQL Gateway port is the port number assigned to Oracle XML DB HTTP server. enter admin. Click Next. Click Login. b. Log in to Oracle Application Express Administration Services as described in the previous section. See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide.

you must log in to it using your login credentials (that is. session state. Under Password.Select Unlocked to enable a user to log in to this account. select No. Developers can create and modify applications and database objects as well as view developer activity. manage groups. For developers or end users. Under Account Control.To add this user as a developer or Workspace administrator. enter the following: Configuration Tasks When Installing from the Database 4-15 . be sure the password meets the requirements. alter passwords of users within the same workspace. select Yes. Click Create User or Create and Create Another. go to: http://hostname:port/apex Where: – – – hostname is the name of the system where Oracle XML DB HTTP server is installed. In a default installation. For end users. Verify your DAD with your Oracle Application Express administrator. this value may be htmldb or something else. apex is the database access descriptor (DAD) defined in the configuration file. and manage development services. select Yes. ■ 9. If your setup uses the embedded PL/SQL gateway.Installing from the Database and Configure the Embedded PL/SQL Gateway 6. In a Web browser. port is the port number assigned to Oracle XML DB HTTP server. ■ User is a workspace administrator . application. In addition to having developer privileges. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to a workspace: 1. If your organization has set up a password policy. workspace administrators can create and edit user accounts. specify the following: ■ Account Availability . 2. select No. the workspace name. this number is 8080. The Login page appears. Logging in to Your Oracle Application Express Workspace Once you create a workspace. user name. 7. Under Login. select the appropriate privileges: ■ User is a developer . select No. or who have a custom configuration. Require Change of Password on First Use . type a case-sensitive password for this account. and schema reports. Under Developer Privileges. navigate to the Oracle Application Express Login page.Select Yes to require the user to change the password immediately after logging in with the current.To add this user as a Workspace administrator. For users who have upgraded from earlier releases. Otherwise. temporary password. 8. workspace activity. and password).

Installing from the Database and Configure Oracle HTTP Server ■ ■ ■ Workspace field .3. You re not upgrading from a previous release. To learn more about install the Oracle Database. Installing from the Database and Configure Oracle HTTP Server This section describes how to configure Oracle HTTP Server with mod_plsql distributed with Oracle Database 11g or Oracle Application Server 10g. depending on your setup. the Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed.Enter the name of your workspace. Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g Perform the following postinstallation steps if: ■ You are using a version of Oracle Application Express that installs with Oracle Database 11g or later.Enteryour user name. Click Login. Note: Within the context of this section.Enter your case-sensitive password. To learn more. 3. This is a new installation of Oracle Application Express. Note that. Topics in this section include: ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g Enable Network Services in Oracle Database 11g Enable Indexing of Online Help in Oracle Database 11gR2 and Higher Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES About Obfuscating PlsqlDatabasePassword Parameter Create a Workspace and Add Oracle Application Express Users ■ ■ ■ ■ ■ ■ ■ Note that these instructions do not apply if you are running Oracle HTTP Server release 9. Password field . you might be required to change your password when you log in for the first time. see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page 4-1. see "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1.0. ■ 4-16 Oracle Application Express Installation Guide . Install the Oracle Database and Complete Pre-installation Tasks Oracle Application Express automatically installs with Oracle Database 11g or later. Username field .

For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. Change your working directory to ORACLE_BASE\ORACLE_HOME\apex or whatever convention used to indicate the Oracle home.sql.sql When prompted enter a password for the ADMIN account. ■ Topics in this section include: ■ ■ ■ ■ Change the Password for the ADMIN Account Unlock the APEX_PUBLIC_USER Database User Change the Password for the APEX_PUBLIC_USER Database User Copy the Images Directory Note that these instructions do not apply if you are running Oracle HTTP Server release 9. Tip: If you are upgrading from a prior release of Oracle Application Express. Oracle HTTP Server is installed in an Oracle home. 2. execute the following steps: Configuration Tasks When Installing from the Database 4-17 . see "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1. To unlock the account for database user APEX_PUBLIC_USER. For example: @apxchpwd. Unlock the APEX_PUBLIC_USER Database User When configuring Oracle HTTP Server for Oracle Application Express in a new installation. To learn more. To change the password for the ADMIN account: 1. change the password for the Oracle Application Express ADMIN account. the Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed. Change the Password for the ADMIN Account First. this step is unnecessary.3.0. Note: Within the context of this section. Run apxchpwd. the database user APEX_PUBLIC_USER must be an unlocked account.Installing from the Database and Configure Oracle HTTP Server ■ You are running Oracle HTTP Server distributed with Oracle Database 11g or Oracle Application Server 10g.

you have to change the password for the database user APEX_PUBLIC_USER. If you are using Oracle Database 11g with Oracle Application Express. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. the parameter PASSWORD_LIFE_TIME is set to 180. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. As a result. Run the following statement: ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK Change the Password for the APEX_PUBLIC_USER Database User In order to specify the password in the DAD file. Run the following statement: SQL> PASSWORD APEX_PUBLIC_USER Changing password for APEX_PUBLIC_USER New password: password Retype new password: password About Password Expiration in Oracle Database 11g In the default profile in Oracle Database 11g. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. To prevent this behavior. See Also: Oracle Database Security Guide for information on creating profiles and assigning them to database users. create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it the new profile.Installing from the Database and Configure Oracle HTTP Server 1. your Oracle Application Express instance will become unusable until you change the password. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. 4-18 Oracle Application Express Installation Guide . this causes the password for APEX_ PUBLIC_USER to expire in 180 days. Please use the following steps to change the password for the APEX_PUBLIC_USER database user: 1.

conf files.conf or dads. if that becomes necessary. use the following command syntax to copy the apex\images directory from the Oracle Database home to the existing images directory path. copy the directory apex/images. When you locate the images directory path. to ensure that you can revert to the previous version. To locate the images directory on the file system. indicating the release number of the images (for example. you must copy the images directory from the top level of the apex\images directory to the location on the file system containing the Oracle home for Oracle HTTP Server.conf file.Installing from the Database and Configure Oracle HTTP Server Copy the Images Directory Whether you are loading a new installation or upgrading from a previous release. Doing so enables you to revert to the previous release. After you copy the existing images directory. Oracle recommends that you create a copy of your existing images directory for Oracle Application Express. copy the existing images directory to a backup location. Topics in this section include: ■ ■ Copying the Images Directory After an Upgrade Copying the Images Directory in a New Installation Copying the Images Directory After an Upgrade During an upgrade. overwriting the existing images: ■ Oracle Application Server 10g: – On Windows: xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images – On UNIX and Linux: cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache ■ Oracle HTTP Server distributed with Oracle Database 11g: – On Windows: xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\images – On UNIX and Linux: cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/ohs In the preceding syntax examples: ■ ■ ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server Oracle home Copying the Images Directory in a New Installation After installation.conf files. Oracle HTTP Server distributed with Oracle Database 11g—see the marvel. images_3_1).conf or dads. Before you begin the upgrade. Oracle Application Server 10g—see the marvel. Configuration Tasks When Installing from the Database 4-19 . you must overwrite your existing images directory. review the following files for the text alias /i/: ■ ■ ■ Oracle HTTP Server distributed Oracle9i Release 2—see the httpd.

Installing from the Database and Configure Oracle HTTP Server You can copy the images directory using Windows Explorer. To learn more. ■ Note that these instructions do not apply if you are running Oracle HTTP Server release 9.conf File If this is a new installation of Oracle Application Express. see "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1.conf – On UNIX and Linux see: ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf/dads. Oracle HTTP Server is installed in an Oracle home. ■ Oracle Application Server 10g: – On Windows see: ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf\dads. Use a text editor and open the dads. To edit the dads.conf file: 1.conf file.conf ■ Oracle HTTP Server distributed with Oracle Database 11g: – On Windows see: ORACLE_HTTPSERVER_HOME\ohs\modplsql\conf\dads.0.conf file contains the information about the DAD to access Oracle Application Express. Topics in this section include: ■ ■ Editing the dads. or running a command from a command prompt similar to the following: DRIVE_LETTER:\> xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\ohs\ images In the preceding syntax example: ■ ■ ORACLE_HOME is the Oracle Database 11g Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server Oracle home Configure Oracle HTTP Server 11g or Oracle Application Server 10g Perform the following postinstallation steps if: ■ You are running Oracle HTTP Server distributed with Oracle Database 11g or Oracle Application Server 10g.conf.conf – On UNIX and Linux see: ORACLE_HTTPSERVER_HOME/ohs/modplsql/conf/dads. The dads.conf 4-20 Oracle Application Express Installation Guide .conf File Stopping and Restarting Oracle HTTP Server Editing the dads. Note: Within the context of this document.3. you must edit the dads. ORACLE_HTTPSERVER_ HOME is the location where Oracle HTTP Server is installed.

In the dads.. AMERICAN_AMERICA. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11. For example: .AL32UTF8 4. Save and exit the dads. and apex_public_user_password with values appropriate for your environment. PlsqlNLSLanguage . The path in the dads. Stopping and Restarting Oracle HTTP Server To stop and restart the Oracle HTTP Server.. Therefore.conf file should reference the file system path described in "Copy the Images Directory" on page 4-19. where ORACLE_BASE is the path to the Oracle base directory: ORACLE_BASE\ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl stopproc ias-component=HTTP_ Server ORACLE_BASE\ORACLE_HTTPSERVER_HOME\opmn\bin\opmnctl startproc ias-component=HTTP_ Server Enable Network Services in Oracle Database 11g By default. if you are running Oracle Application Express with Oracle Database 11g release 1 (11. service_name. you must use the new DBMS_NETWORK_ACL_ Configuration Tasks When Installing from the Database 4-21 ..authorize 3.AL32UTF8 Basic pls_handler wwv_flow_file_objects$ APEX_PUBLIC_USER apex apex_public_user_password wwv_flow_epg_include_modules..allow PlsqlDocumentPath docs AllowOverride None PlsqlDocumentProcedure PlsqlDatabaseConnectString PlsqlNLSLanguage PlsqlAuthenticationMode SetHandler PlsqlDocumentTablename PlsqlDatabaseUsername PlsqlDefaultPage PlsqlDatabasePassword PlsqlRequestValidationFunction Allow from all </Location> wwv_flow_file_mgr.process_download host:port:service_name ServiceNameFormat AMERICAN_AMERICA.Installing from the Database and Configure Oracle HTTP Server 2.1). host.1). The PlsqlNLSLanguage setting determines the language setting of the DAD. Note that the path listed is only an example. replace ORACLE_HTTPSERVER_HOME. regardless of whether or not the database character set is AL32UTF8.conf file. port. Alias /i/ "ORACLE_HTTPSERVER_HOME/Apache/images/" AddType text/xml xbl AddType text/x-component htc <Location /pls/apex> Order deny. Locate the line containing PlsqlNLSLanguage. Note that the apex_public_user_password is the password you changed in "Change the Password for the APEX_PUBLIC_USER Database User" on page 4-18.conf file. enter commands using the following syntax. The character set portion of the PlsqlNLSLanguage value must be set to AL32UTF8.

the "connect" privilege if APEX_030200 does not have the privilege yet. END IF. using the Find link). BEGIN -. but a database upgraded to 11g from a prior version may not. 'APEX_030200'. ACL_PATH) = 1. 'APEX_030200'. '/Resource/XMLRef')) INTO ACL_ID FROM XDB. line . -SELECT SYS_OP_R2O(extractValue(P. the compatible initialization parameter of the database must be set to at least 11.RES. TRUE. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. ensure that the ACL is valid -. the following exception will be raised: --.Look for the ACL currently assigned to '*' and give APEX_030200 -. Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express. 'connect'). -. By default an 11g database will already have the parameter set properly. IF DBMS_NETWORK_ACL_ADMIN.. Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user. EXCEPTION 4-22 Oracle Application Express Installation Guide . ■ ■ ■ Using Web services in Oracle Application Express.RES. PATH_VIEW P WHERE extractValue(P.0.0.. SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. DECLARE ACL_PATH VARCHAR2(4000). Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section.ORA-06512: at "XDB. but issues arise when sending outbound email.0. ACL_ID RAW(16). Searching for content in online Help (that is. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters.Before checking the privilege.If it does. PDF/report printing.XDB$ACL A.(for example. does not contain stale references to dropped users).RES.ValidateACL(ACL_ID).ADD_PRIVILEGE(ACL_PATH.DBMS_XDBZ". '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P.CHECK_PRIVILEGE(ACL_PATH.Installing from the Database and Configure Oracle HTTP Server ADMIN package to grant connect privileges to any host for the APEX_030200 database user. DBMS_XDBZ.1.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -. Users can call methods from the APEX_MAIL package. -.

RES. If it does. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. IF DBMS_NETWORK_ACL_ADMIN. ensure that the ACL is valid (for example. / COMMIT. END. PATH_VIEW P WHERE extractValue(P.DBMS_XDBZ". Before checking the privilege. 'APEX_030200'. DBMS_NETWORK_ACL_ADMIN. 'connect'). WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('local-access-users. use the following query to identify the invalid ACL: Configuration Tasks When Installing from the Database 4-23 . Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script. ACL_PATH) = 1. 'APEX_030200'. line .CHECK_PRIVILEGE(ACL_PATH.RES. EXCEPTION -. TRUE.ASSIGN_ACL('power_users. 'connect'). '/Resource/XMLRef')) INTO ACL_ID FROM XDB.ASSIGN_ACL('local-access-users.xml'. TRUE.RES. 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.XDB$ACL A.the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet.When no ACL has been assigned to '*'. DBMS_XDBZ. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. END IF. the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB.Installing from the Database and Configure Oracle HTTP Server -.xml'. BEGIN -.'localhost'). ACL_ID RAW(16).CREATE_ACL('power_users.xml'. / COMMIT. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. does not contain stale references to dropped users).ADD_PRIVILEGE(ACL_PATH. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL.Look for the ACL currently -. 'connect'). 'APEX_030200'. END.ValidateACL(ACL_ID). DECLARE ACL_PATH VARCHAR2(4000). 'APEX_030200'.When no ACL has been assigned to 'localhost'. DBMS_NETWORK_ACL_ADMIN. SELECT SYS_OP_R2O(extractValue(P. 'ACL that lets power users to connect to everywhere'.xml'.. TRUE. 'ACL that lets power users to connect to everywhere'.. The following example demonstrates how to provide less privileged access to local network resources.'*').

See "Granting Connect Privileges" on page 4-22. IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB.users in the ACL.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID. BEGIN -.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). SELECT ACL. drop the ACL completely. END IF. There is a change in the default behavior and permissions to use an Oracle Text URL datastore in database 11gR2 and higher. XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL.XDB$ACL WHERE OBJECT_ID = ACL_ID. / REM commit the changes. Once the ACL has been fixed. remove just those -.If just some users referenced in the ACL are invalid. -. you must run the first script in this section to apply the ACL to the APEX_030200 user. '/ACL/ACE[PRINCIPAL="'||R.ACLID = ACE.Installing from the Database and Configure Oracle HTTP Server REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'. Enable Indexing of Online Help in Oracle Database 11gR2 and Higher The ability to search Oracle Application Express online Help is accomplished through Oracle Text and a URL datastore. PRINCIPAL FROM DBA_NETWORK_ACLS NACL. Otherwise. 4-24 Oracle Application Express Installation Guide . END.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. COMMIT. ELSE DELETE FROM XDB. Next. CNT NUMBER. run the following code to fix the ACL: DECLARE ACL_ID RAW(16). SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). END LOOP.

ctx_adm. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10758: index owner does not have the privilege to use file or URL datastore To enable the indexing of online Help in Oracle Application Express. Security Considerations Oracle highly recommends you configure and use Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in Configuration Tasks When Installing from the Database 4-25 . 'APEX_URL_DATASTORE_ ROLE'). then create a new database role as shown in the following example: CREATE ROLE APEX_URL_DATASTORE_ROLE. use this database role name instead of the example APEX_URL_DATASTORE_ROLE. Grant this role to the database user APEX_030200 with the following statement: GRANT APEX_URL_DATASTORE_ROLE to APEX_030200. the permission to use an Oracle Text URL datastore must be granted to the APEX_030200 database user. then the permission to use an Oracle Text URL datastore has not been granted to database user APEX_030200. Run the following command: SELECT par_value FROM ctxsys. 4.Installing from the Database and Configure Oracle HTTP Server If users attempt to search Oracle Application Express online Help in Oracle database 11gR2 and encounter the following error. This returns either NULL or the database role which is granted the ability to use an Oracle Text URL datastore.ctx_parameters WHERE par_name = 'FILE_ACCESS_ ROLE'. if step 2 did not return a value. 5. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. If step 2 returned a value. 3. This is accomplished by assigning this specific privilege to a datbase role and then granting this role to the APEX_030200 database user. then use the Oracle Text API to grant permission to the newly created database role with the following statement: EXEC ctxsys. To determine if the ability to use an Oracle Text URL datastore is already granted to a database role: 1. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Lastly.set_parameter('file_access_role'. If no value is returned by step 2.

Brazilian Portuguese. encryption. the installation may fail or the translated Oracle Application Express instance may appear corrupt when run.sql). making sure that the character set is AL32UTF8. Note: Regardless of the target database character set. At runtime. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. compromising security. If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. Korean. Within each of directory.sql script to run a translated version of Oracle Application Express. the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. each user's Web browser language settings determine the specific language version. For example: ■ Bourne or Korn shell: NLS_LANG=American_America. and data integrity. and Traditional Chinese.Installing from the Database and Configure Oracle HTTP Server HTTP requests. To install a translated version of Oracle Application Express: 1. Without the use of SSL. For example. The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. Spanish. Simplified Chinese.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express. Set the NLS_LANG environment variable. French. to install a translated version of Oracle Application Express. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America. The installation files are encoded in AL32UTF8.AL32UTF8 export NLS_LANG 4-26 Oracle Application Express Installation Guide . passwords could potentially be exposed. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication. you must run the load_lang. You can manually install translated versions of Oracle Application Express using SQL*Plus. there is a language loading script identified by the language code (for example. A single instance of Oracle Application Express can be installed with one or more of these translated versions. Italian. load_de.sql or load_ja. Japanese.AL32UTF8 Japanese_Japan.

you cannot successfully execute a script. For example: @load_lang. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs.sql for Japanese). Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.AL32UTF8 2. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3. Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200. 4. In Oracle Application Express release 3.sql for German or load_ja.Installing from the Database and Configure Oracle HTTP Server ■ C shell: setenv NLS_LANG American_America. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3.2. you can view the number of JOB_QUEUE_ PROCESSES in the installation log files. transactional support and SQL scripts require jobs. Configuration Tasks When Installing from the Database 4-27 .AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America. See "Reviewing a Log of an Installation Session" on page A-1.2. If JOB_QUEUE_PROCESSES is not enabled and working properly.sql Where lang is the specific language (for example. Execute the appropriate language specific script. load_de.

On the Administration list. running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.pl utility to obfuscate passwords in the dads.Installing from the Database and Configure Oracle HTTP Server Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Changing the Number of JOB_QUEUE_PROCESSES 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: 1. Log in to Oracle Application Express.pl utility in the following directory: ■ For UNIX and Linux based systems: ORACLE_BASE/ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf ■ For Windows based systems: ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf 4-28 Oracle Application Express Installation Guide . The current number JOB_QUEUE_PROCESSES displays at the bottom of the page.conf file. To view the About Application Express page: 1. You can use the dadTool. You can find the dadTool. 2. See "Logging in to Your Oracle Application Express Workspace" on page 4-31. About Obfuscating PlsqlDatabasePassword Parameter The PlsqlDatabasePassword parameter specifies the password for logging in to the database. click About Application Express.

0 and CSS 1. apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. data and applications private. pls is the indicator to use the mod_plsql cartridge. run dadTool. Next. In a default installation. this number is 7777.0 standards.Installing from the Database and Configure Oracle HTTP Server Obfuscating Passwords To obfuscate passwords. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser. You log in using the ADMIN account and password created or reset during the installation process. If your setup uses Apache and mod_plsql.README file. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. port is the port number assigned to Oracle HTTP Server. A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Configuration Tasks When Installing from the Database 4-29 . Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. go to: http://hostname:port/pls/apex/apex_admin Where: hostname is the name of the system where Oracle HTTP Server is installed. See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. Log in to Oracle Application Express Administration Services.pl by following the instructions in the dadTool. An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests. Your Web browser must support JavaScript and the HTML 4. See "Browser Requirement" on page 2-2. Each workspace has a unique ID and name. See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express This section includes these topics: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Oracle Application Express Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. create a workspace.

select Yes. 4. 7.To add this user as a developer or Workspace administrator. If your organization has set up a password policy. 6. application. type a case-sensitive password for this account. Under User Attributes. Fields marked with an asterisk are required. Under Developer Privileges. 2. workspace activity. the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. 5. b. Under Manage Workspaces. select No. enter the appropriate information. For Identify Workspace. be sure the password meets the requirements. For developers or end users. and manage development services. Click Manage Workspaces. alter passwords of users within the same workspace. 7. Log in to Oracle Application Express Administration Services as described in the previous section. Under Password. The Manage Developers and Users page appears. click Create Workspace. 3. See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. session state. 6. Developers can create and modify applications and database objects as well as view developer activity.To add this user as a Workspace administrator. In addition to having developer privileges. Click Create. select the appropriate privileges: ■ User is a developer . Click Manage Workspaces. When Help is available. For Identify Schema. For Re-use existing schema. workspace administrators can create and edit user accounts. 3. select Yes. select the Oracle Forms application schema. manage groups. 5. a. Click Next. For end users. click the item label. click Manage Developers and Users.Installing from the Database and Configure Oracle HTTP Server 2. 4-30 Oracle Application Express Installation Guide . select No. select Yes. c. Under Manage Workspaces. The Create/Edit User page appears. ■ User is a workspace administrator . Confirm your selections and click Create. enter the Workspace administrator information and click Next. The Create Workspace Wizard appears. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1. 4. For Identify Administrator. enter a workspace name and description and click Next. Select a schema from the list. and schema reports. Tip: To learn more about a specific attribute.

port is the port number assigned to Oracle HTTP Server.Installing from the Database and Configure Oracle HTTP Server 8. Username field . Logging in to Your Oracle Application Express Workspace Once you create a workspace. and password). Click Login. this number is 7777.Enter your case-sensitive password. Under Login. the workspace name. – – pls is the indicator to use the mod_plsql cartridge.ini ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\Apache\conf\httpd.conf Be aware that if you change a port number. select No. you might be required to change your password when you log in for the first time. By default. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to a workspace: 1. In a Web browser. ■ 9. Oracle Application Express installs to the following location: If your setup uses Oracle HTTP Server (Apache) and mod_plsql. enter the following: ■ ■ ■ Workspace field . Note that.Select Yes to require the user to change the password immediately after logging in with the current. go to: http://hostname:port/pls/apex Where: – – hostname is the name of the system where Oracle HTTP Server is installed. user name. Otherwise. Click Create User or Create and Create Another. Under Account Control. 3. You can only rely on this file immediately after installation. navigate to the Oracle Application Express Login page.Enter the name of your workspace. temporary password. For users who have upgraded from earlier releases. The Login page appears. You can find information about your Oracle HTTP Server installation’s port number from either of the following files: ORACLE_BASE\ORACLE_HOME\install\portlist. depending on your setup. you must log in to it using your login credentials (that is.Select Unlocked to enable a user to log in to this account. 2. Verify your DAD with your Oracle Application Express administrator. Password field . Require Change of Password on First Use . Configuration Tasks When Installing from the Database 4-31 .ini file. it is not updated in the portlist. In a default installation.Enteryour user name. this value may be htmldb or something else. or who have a custom configuration. specify the following: ■ Account Availability . apex is the database access descriptor (DAD) defined in the mod_plsql configuration file.

Removing schemas from a prior installation is a two step process. you should remove schemas from prior Oracle Application Express installations. First you verify if a prior installation exists and then you remove the schemas. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Remove Schemas from Prior Installations To remove schemas from prior installations: 1. Run the following query: SELECT username FROM dba_users WHERE (username LIKE 'FLOWS_%' OR USERNAME LIKE 'APEX_%') AND USERNAME NOT IN ( SELECT 'FLOWS_FILES' FROM DUAL UNION SELECT 'APEX_PUBLIC_USER' FROM DUAL UNION SELECT SCHEMA s FROM dba_registry WHERE comp_id = 'APEX'). Topics in this section include: ■ ■ Remove Prior Oracle Application Express Installations Fix Invalid ACL in Oracle Database 11g Remove Prior Oracle Application Express Installations The database users associated with schemas from prior installations are privileged users and should be removed when they are no longer necessary.Post Installation Tasks for Upgrade Installations Post Installation Tasks for Upgrade Installations Once you have verified that your upgrade installation was successful and all upgraded applications function properly. For example: 4-32 Oracle Application Express Installation Guide . Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. those entries are candidates for removal. If the results contain entries in the form FLOWS_XXXXXX or APEX_XXXXXX where XXXXXX represents six numbers. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Verify if Prior Installation Exist To verify if prior installations exist: 1.

To fix an invalid ACL: 1. Fix Invalid ACL in Oracle Database 11g After following the instructions in"Remove Prior Oracle Application Express Installations" on page 4-32. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.xml'. "Managing a Runtime Environment" and in Oracle Application Express Application Builder User's Guide. It includes only the packages necessary to run your applications. To learn more see. About the Oracle Application Express Runtime Environment The Oracle Application Express runtime environment enables you to run production applications. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Topics in this section include: ■ ■ Convert a Runtime Environment to a Full Development Environment Convert a Full Development Environment to a Runtime Environment Configuration Tasks When Installing from the Database 4-33 . 'FLOWS_ 030000'). making it a more hardened environment. Execute a statement connected similar to the following example: DROP USER FLOWS_030000 CASCADE.About the Oracle Application Express Runtime Environment ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Execute a statement similar to following: EXEC DBMS_NETWORK_ACL_ADMIN. You administer the Oracle Application Express runtime environment using SQL*Plus or SQL Developer and the APEX_INSTANCE_ADMIN API. you may need to fix an invalid ACL if you are running Oracle Database 11g and you enabled network services for the prior Oracle Application Express schema.DELETE_PRIVILEGE('power_users. It does not provide a Web interface for administration.

About the Oracle Application Express Runtime Environment Convert a Runtime Environment to a Full Development Environment To convert an Oracle Application Express runtime environment to a full development environment: 1. For example: @apxdvins See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus Convert a Full Development Environment to a Runtime Environment To convert an Oracle Application Express full development environment to a runtime environment: 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Run apxdevrm. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. 2. Change your working directory to the apex directory where you unzipped the installation software.sql. See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus 4-34 Oracle Application Express Installation Guide . For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Follow the instructions in "Change the Password for the ADMIN Account" on page 4-17. Run apxdvins.sql. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. 2. Change your working directory to the apex directory where you unzipped the installation software. For example: @apxdevrm 4.

Oracle Application Express Troubleshooting A-1 . Note that acceptable errors are noted as such in the log file. In a successful installation. you can assume the installation was successful. Oracle Application Express is installed in the APEX_030200 schema. This chapter contains these topics: ■ ■ ■ ■ ■ Reviewing a Log of an Installation Session Verifying the Validity of an Oracle Application Express Installation Cleaning Up After a Failed Installation Images Displaying Incorrectly in Oracle Application Express Online Help Not Working Reviewing a Log of an Installation Session The apexins. Verifying the Validity of an Oracle Application Express Installation You can verify the validity of an Oracle Application Express installation by running the following query: SELECT STATUS FROM DBA_REGISTRY WHERE COMP_ID = 'APEX'. the log file contains the following text: Thank you for installing Oracle Application Express. If the log file contains a few errors. it does not mean that your installation failed. you must either drop the Oracle Application Express database schemas.A Oracle Application Express Troubleshooting This appendix contains information on troubleshooting. depending upon the installation type. Cleaning Up After a Failed Installation In a successful installation the following banner displays at the end of the installation: Thank you for installing Oracle Application Express. If the result is VALID. or run a script to completely remove Application Express from the database.sql script creates a log file in the apex directory using the naming convention installYYYY-MM-DD_HH24-MI-SS. To reinstall. Oracle Application Express is installed in the APEX_030200 schema.log.

Cleaning Up After a Failed Installation Topics in this section include: ■ ■ Reverting to a Previous Release After a Failed Upgrade Installation Removing Oracle Application Express from the Database Reverting to a Previous Release After a Failed Upgrade Installation In the case of a failed upgrade installation. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. – On UNIX and Linux: A-2 Oracle Application Express Installation Guide . you must point the text alias /i/ back to images directory for the release you wish to revert to. you may want to revert Oracle Application Express to a previous release and then remove the schemas associated with the current release. If the query above returns any rows.Execute the following command in SQL*Plus: SELECT username FROM dba_users WHERE username LIKE 'FLOWS_%'. See "Copying the Images Directory After an Upgrade" on page 3-24 or "Copying the Images Directory After an Upgrade" on page 4-19. the database contains a previous version of Oracle Application Express. Reverting to a Previous Release To revert to a previous Oracle Application Express release: 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 SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. If you altered your images directory. Topics in this section include: ■ ■ ■ Verifying If You Have a Previous Version of Oracle Application Express Reverting to a Previous Release Removing the Oracle Application Express Release 3. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. 2.2 Schema Verifying If You Have a Previous Version of Oracle Application Express To verify whether you have a previous version of Application Express: 1.

sql If you are running Oracle Database Express Edition (Oracle Database XE) or release 10.3 or higher.switch_schemas ('APEX_030200'.wwv_flow_upgrade. execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_020000. exec flows_010500.'FLOWS_030000'). To revert to Oracle Application Express release 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 SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password On UNIX and Linux: $ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password – Execute the following commands: @wwv_flow_val.'FLOWS_010500'). To revert to Oracle Application Express release 2.1: – – Change your working directory to apex/core in the 3.0. exec flows_020200.wwv_flow_upgrade.switch_schemas ('APEX_030200'. execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_010500.1 source. f. execute the following: @wwv_dbms_sql.switch_schemas ('APEX_030200'.plb @wwv_dbms_sql.'FLOWS_010600').switch_schemas ('APEX_030200'. exec flows_020000.wwv_flow_upgrade.0.5.2. c. execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_020200.switch_schemas ('APEX_030200'. execute the appropriate command in SQL*Plus: a. exec flows_030000. exec flows_010600.'FLOWS_020000'). e. b. To revert to Oracle Application Express release 3.'FLOWS_020200').wwv_flow_upgrade. To revert to Oracle Application Express release 2.Cleaning Up After a Failed Installation $ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3.6. To revert to Oracle Application Express release 1.plb Oracle Application Express Troubleshooting A-3 .0. execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_030000. To revert to Oracle Application Express release 3.2.wwv_flow_upgrade. execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_010600. Depending upon the release you are reverting to. d.

3 or higher. "Removing the Oracle Application Express Release 3. Removing the Oracle Application Express Release 3.switch_schemas ('APEX_030200'.2.'FLOWS_030100'). exec flows_030100.plb – Execute the following: ALTER SESSION SET CURRENT_SCHEMA = FLOWS_030100. – – Change your working directory to apex in the 3. Execute the following command: DROP USER APEX_030200 CASCADE. 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 SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password On UNIX and Linux: $ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password – Execute the following: @apexvalidate x x FLOWS_030100 4.2 Schema After you have reverted back to the prior release you can remove the Oracle Application Express 3.2 schema. To remove the release 3. execute the following: @wwv_dbms_sql_noroles.2 schema.2 schema: 1. Once you have removed the Oracle Application Express 3.0. you can now attempt the upgrade again.1 source.wwv_flow_upgrade. See the next section.2 Schema" on page A-4.Cleaning Up After a Failed Installation If you are not running Oracle Database XE or release 10. A-4 Oracle Application Express Installation Guide . 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 SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password – On UNIX and Linux: $ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.

and still want to use the prior release of Oracle Application Express. 2. For information about reverting to a prior release. If you are not sure whether you have completed a new installation or an upgrade installation. you may have more than one definition of the /i/ alias. rename the first instance of /i/ to a different alias name. Topics in this section include: ■ ■ Online Help Not Working When Using a Virtual Host Problems Searching Online Help Oracle Application Express Troubleshooting A-5 . 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 SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Alternatively.sql Images Displaying Incorrectly in Oracle Application Express If images in Oracle Application Express do not display correctly. Online Help Not Working This section describes issues with Oracle Application Express online Help. If you are going to delete the database. synonyms. follow the steps in "Cleaning Up After a Failed Installation" on page A-1 to verify if a previous version of Application Express exists in the database Note: To remove Oracle Application Express from the database: 1. To address this issue: ■ ■ If possible.Online Help Not Working Removing Oracle Application Express from the Database This section describes how to remove the Oracle Application Express schema. Execute the following command: SQL> @apxremov. Do not follow these steps if you have upgraded your database from a prior release. then you must complete these steps. see "Reverting to a Previous Release" on page A-2. and users from the database without deleting the database. Change your working directory to the apex directory where you unzipped the Oracle Application Express software. copy the images from the ORACLE_HOME\apex\images directory to the directory defined by the first /i/ alias.

To index online help.com and the port is 7777. ■ In this example. you can revert to normal https access.server.Online Help Not Working See Also: "Enable Network Services in Oracle Database 11g" for your installation scenario. users see external. If your connection is an SSL link.com.server. To resolve this issue. Note that this index must be created over a non-SSL link. Once the online Help index is created. See Also: "Enable Indexing of Online Help in Oracle Database 11gR2 and Higher" for your installation scenario A-6 Oracle Application Express Installation Guide . Oracle Application Express online Help will not work if the users cannot access internal.com and port 80. Consider the following example: ■ The hostname of the Oracle HTTP Server where the Oracle Application Express database access descriptor (DAD) resides is internal. In their Web browsers. access Oracle Application Express over a non-SSL link. add the following lines to the Oracle Application Express database access descriptor (DAD) to override the CGI environment variables SERVER_NAME and SERVER_PORT: PlsqlCGIEnvironmentList SERVER_NAME=external.com PlsqlCGIEnvironmentList SERVER_PORT=80 See Also: Oracle HTTP Server mod_plsql User's Guide for information on overriding the CGI environment variables and "Oracle Text Requirement" on page 2-3 Problems Searching Online Help The underlying index that enables search capability in Oracle Application Express online Help is created upon first use. https displays in the URL. Users access Oracle Application Express through a Virtual Host.server. Online Help Not Working When Using a Virtual Host If users are accessing Oracle Application Express through a Virtual Host.server. online Help will not work.

Oracle recommends that you create a backup of the current installation of Oracle Database installation before you install Oracle Application Express. the wdbsvr.B B Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 In Oracle HTTP Server distributed with Oracle9i Release 2 (9. The Oracle ASM service is named OracleASMService+ASM. A DAD is a set of values that specify how the Oracle HTTP Server component modplsql connects to the database server to fulfill an HTTP request. Names of Oracle databases are preceded with OracleService. You can use the Windows Services utility. 2.app file contains information about the DAD to access Oracle Application Express. Topics in this appendix include: ■ ■ ■ Recommended Pre-installation Tasks Downloading from OTN and Configuring Oracle HTTP Server Install the Database and Configure Oracle HTTP Server Recommended Pre-installation Tasks Before installing Oracle Application Express. which ASM uses. In addition. Shut down any existing Oracle Database instances with normal or immediate priority. Right-click the name of the service and from the menu. and then shut down the ASM instance. shut down all instances on each node. If Automatic Storage Management (ASM) is running. choose Stop. to shut down Oracle Database and ASM instances. except for the database where you plan to install the Oracle Application Express schemas. shut down all databases that use ASM except for the database where you will install Oracle Application Express. You can use Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-1 . Shut down any existing Oracle Database instances as well as Oracle-related processes. Oracle recommends that you complete the following steps: 1. located either in the Windows Control Panel or from the Administrative Tools menu (under Start and then Programs). Back up the Oracle Database installation.2). See "Oracle Application Express Installation Requirements" on page 2-1. shut down the OracleCSService service. Review and satisfy all Oracle Application Express installation requirements. On Oracle Real Application Clusters (Oracle RAC) systems. 3.

Note: If you are connecting to a remote database. See Also: 4. Downloading from OTN and Configuring Oracle HTTP Server This section describes how to install Oracle Application Express by downloading a ZIP file from OTN and then configuring Oracle HTTP Server distributed with Oracle9i Release 2.zip from the Oracle Application Express download page. if you are performing a remote installation. Do not start other processes such as the listener or Oracle HTTP Server. Download the file apex_3. to perform the backup. Topics in this section include: ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Download and Install the Software Change the Password for the ADMIN Account Restart Processes Configure Oracle HTTP Server About Enabling Network Services in Oracle Database 11g Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES About Obfuscating PlsqlDatabasePassword Parameter Create a Workspace and Add Oracle Application Express Users See Also: "About the Oracle Application Express Runtime Environment" on page 1-2 and "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1 Install the Oracle Database and Complete Pre-installation Tasks Oracle Application Express requires an Oracle database that is release 9. To learn more. you must start the Oracle instance that contains the target Oracle database. then start the listener.3 or later.0.2. After backing up the system. make sure the database listener for the remote database has started. However. which is included the Oracle Database installation. Oracle Database Backup and Recovery User's Guide Start the Oracle Database instance that contains the target database.Downloading from OTN and Configuring Oracle HTTP Server Oracle Database Recovery Manager.2. Download and Install the Software To install Oracle Application Express: 1. See: B-2 Oracle Application Express Installation Guide . see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page B-1.

zip Windows: Double click the file apex_3. 2.2. Full development environment provides complete access to the Application Builder environment to develop applications. 6.2.sql passing the following four arguments in the order shown: @apexins tablespace_apex tablespace_files tablespace_temp images Where: – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user. Select the appropriate installation option. Example: @apexins SYSAUX SYSAUX TEMP /i/ ■ Runtime environment.oracle. define the virtual image directory as /i/. To support future Oracle Application Express upgrades.html Note that the actual file name may differ if a more recent release has shipped since this document was published.Downloading from OTN and Configuring Oracle HTTP Server http://www. Run apxrtins. tablespace_files is the name of the tablespace for the Oracle Application Express files user.2. Run apexins. preserving directory names: ■ ■ UNIX and Linux: Unzip apex_3. 4. To learn more. Available installation options include: ■ Full development environment.zip in Windows Explorer 3. see "About the Oracle Application Express Runtime Environment" on page 1-2. Unzip apex_3. Disable any existing password complexity rules for the default profile.zip as follows. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. See "Configuring Password Protection" in Oracle Database Security Guide.com/technology/products/database/application_ express/download. tablespace_temp is the name of the temporary tablespace. Change your working directory to apex. A Runtime environment enables users to run applications that cannot be modified. images is the virtual directory for Oracle Application Express images.sql passing the following arguments in the order shown: Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-3 . For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 5.

The minimally privileged account used for Oracle Application Express configuration with Oracle HTTP Server and mod_plsql. images is the virtual directory for Oracle Application Express images. APEX_PUBLIC_USER . FLOWS_FILES. or if you are converting a runtime environment to a development environment. ■ ■ If you are upgrading from a previous release. 2.Downloading from OTN and Configuring Oracle HTTP Server @apxrtins tablespace_apex tablespace_files tablespace_temp images Where: – – – – tablespace_apex is the name of the tablespace for the Oracle Application Express application user. Example: @apxrtins SYSAUX SYSAUX TEMP /i/ See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus When Oracle Application Express installs it creates three new database accounts: ■ APEX_030200 . define the virtual image directory as /i/. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. tablespace_temp is the name of the temporary tablespace. FLOWS_FILES .The account that owns the Oracle Application Express uploaded files. In an upgrade scenario. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: B-4 Oracle Application Express Installation Guide . To support future Oracle Application Express upgrades. the password will be preserved and carried over from the prior release. Tip: Oracle Application Express must be installed from a writable directory on the file system. Change the Password for the ADMIN Account In a new installation of Oracle Application Express. See "Reviewing a Log of an Installation Session" on page A-1. already exists and APEX_PUBLIC_USER is created if it does not already exist. you must change the password of the internal ADMIN account. To change the password for the ADMIN account: 1. tablespace_files is the name of the tablespace for the Oracle Application Express files user. Change your working directory to the apex directory where you unzipped the installation software.The account that owns the Oracle Application Express schema and metadata.

For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Run apxchpwd. you must restart the processes that you stopped before you began the installation. such as listener and other processes. In addition.Downloading from OTN and Configuring Oracle HTTP Server $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. Run the following statement: ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-5 . You must unlock this account before configuring the database access descriptor (DAD) in a new installation.sql. To unlock the APEX_PUBLIC_USER account: 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. Configure Oracle HTTP Server This section describes how to configure Oracle HTTP Server with mod_plsql distributed with Oracle9i Release 2. See Also: Oracle Database PL/SQL Language Reference for more information about SQL*Plus Restart Processes After you install Oracle Application Express. For example: @apxchpwd When prompted enter a password for the ADMIN account.conf Unlock the APEX_PUBLIC_USER Account The APEX_PUBLIC_USER account is locked at the end of a new installation of Oracle Application Express. Topics in this section include: ■ ■ ■ ■ ■ Unlock the APEX_PUBLIC_USER Account Change the Password for the APEX_PUBLIC_USER Account Copy the Images Directory Modifying the wdbsvr. restart Oracle HTTP Server.app File Modify the Oracle9i httpd.

B-6 Oracle Application Express Installation Guide . the parameter PASSWORD_LIFE_TIME is set to 180. Run the following statement: ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password Where new_password is the new password you are setting for APEX_PUBLIC_ USER. To prevent this behavior. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. your Oracle Application Express instance will become unusable until you change the password. this causes the password for APEX_ PUBLIC_USER to expire in 180 days. If you are using Oracle Database 11g with Oracle Application Express. you must overwrite your existing images directory. Topics in this section include: ■ ■ Copying the Images Directory After an Upgrade Copying the Images Directory in a New Installation Copying the Images Directory After an Upgrade During an upgrade. Before you begin the upgrade. indicating the release number of the images (for example. images_3_1). Oracle recommends that you create a copy of your existing images directory for Oracle Application Express. About Password Expiration in Oracle Database 11g In the default profile in Oracle Database 11g. To change the password for the APEX_PUBLIC_USER account: 1. create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it the new profile. You will must change the password for this account before configuring the database access descriptor (DAD) in a new installation. You will use this password when creating the DAD in the sections that follow. Copy the Images Directory Whether you are loading a new installation or upgrading from a previous release. to ensure that you can revert to the previous version. you must copy the images directory from the top level of the apex\images directory to the location on the file system containing the Oracle home for Oracle HTTP Server. As a result.Downloading from OTN and Configuring Oracle HTTP Server Change the Password for the APEX_PUBLIC_USER Account The APEX_PUBLIC_USER account is created with a random password in a new installation of Oracle Application Express. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. See Also: Oracle Database Security Guide for information on creating profiles and assigning them to database users.

copy the directory apex/images. review the httpd. Doing so enables you to revert to the previous release.app file: 1.app file: ■ On Windows.app file and add an entry for Oracle Application Express. see: ORACLE_HTTPSERVER_HOME\Apache\modplsql\cfg\wdbsvr. see: ORACLE_HTTPSERVER_HOME/Apache/modplsql/cfg/wdbsvr.conf file for the text alias /i/. Use a text editor and open the wdbsvr. [DAD_apex] connect_string = localhost:1521:orcl password = apex username = apex_public_user Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-7 . overwriting the existing images: ■ On Windows: xcopy /E /I APEX_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images ■ On UNIX and Linux: cp -rf APEX_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache In the preceding syntax examples: ■ ■ ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle HTTP Server Oracle home Copying the Images Directory in a New Installation After installation. you modify the wdbsvr. if that becomes necessary. use the following command syntax to copy the apex\images directory from the Oracle Database home to the existing images directory path. ■ On Windows: xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images ■ On UNIX and Linux: cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache In the preceding syntax examples: ■ ■ ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle HTTP Server Oracle home Modifying the wdbsvr.app ■ On UNIX and Linux. copy the existing images directory to a backup location. To modify the wdbsvr. When you locate the images directory path. Only change the settings indicated in italics. After you copy the existing images directory.app File To create the DAD. Add an entry for Oracle Application Express using the following syntax.Downloading from OTN and Configuring Oracle HTTP Server To locate the images directory on the file system.app 2.

3. Modify the Oracle9i httpd.app file. ■ password is the password you changed for the APEX_PUBLIC_USER. you must wrap the value in double quotes as shown in the following example: nls_lang = "ENGLISH_UNITED KINGDOM. leave this parameter blank. and Oracle9i database where Oracle Application Express was installed. Save and exit the wdbsvr. You may also need to modify the httpd. Use a text editor and open the httpd. regardless of whether or not the database character set is AL32UTF8. 4. Use the format host:port:sid.conf file: 1. The character set portion of the nls_lang value must always be set to AL32UTF8.conf file to include an alias that points to the file system path where you copied the images directory.AL32UTF8" ■ You can find information about your database’s NLS settings by querying the view NLS_DATABASE_PARAMETERS as shown in the following example: SELECT parameter. If the Oracle9i version of Oracle HTTP Server you want to use is installed in the same Oracle home as the database you specified for use with Oracle Application Express. Leave the remaining settings.'NLS_LANGUAGE'.process_download reuse = Yes enablesso = No stateful = STATELESS_RESET nls_lang = American_America. If either the territory portion or the language portion of the NLS settings contains a space.conf file to add two new MIME types to support SQL Workshop. including the user name setting. port number.conf B-8 Oracle Application Express Installation Guide .AL32UTF8 Where: ■ connect_string refers to the host ID. as they appear in the previous example.Downloading from OTN and Configuring Oracle HTTP Server default_page = apex document_table = wwv_flow_file_objects$ document_path = docs document_proc = wwv_flow_file_mgr. See "Change the Password for the APEX_PUBLIC_USER Account" on page B-6.conf You must modify the httpd. See Also: "Copy the Images Directory" on page B-6 To modify httpd.'NLS_TERRITORY').value FROM nls_database_parameters WHERE PARAMETER IN ('NLS_CHARACTERSET'. nls_lang determines the language setting of the DAD.conf ■ On UNIX and Linux: ORACLE_HTTPSERVER_HOME/Apache/Apache/conf/httpd.conf file: ■ On Windows: ORACLE_HTTPSERVER_HOME\Apache\Apache\conf\httpd.

you must use the new DBMS_NETWORK_ACL_ ADMIN package to grant connect privileges to any host for the APEX_030200 database user. 3. add the following two lines to support SQL Workshop if they do not currently exist: AddType text/xml AddType text/x-component xbl htc If you are upgrading from Oracle HTML DB 2. then these commands must be executed as a privileged user (such as root). ■ On UNIX and Linux. Oracle OraHome. Note you must include the forward slash (/) at the end of the path.sql script. 4. Oracle HTTP Server.conf file. Oracle . if you are running Oracle Application Express with Oracle Database 11g release 1 (11. select Programs. Users can call methods from the APEX_MAIL package. Stop and restart Oracle HTTP Server: – – Stop Oracle HTTP Server . ■ On Windows. Therefore. using the Find link). and Start HTTP Server. execute the following commands: ORACLE_HTTPSERVER_HOME/Apache/Apache/bin/apachectl stop ORACLE_HTTPSERVER_HOME/Apache/Apache/bin/apachectl start Note that if the Oracle HTTP Server is listening on a port less than 1024. Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-9 . Next. Add an alias entry that points to the file system path where you copied the images directory. these MIME types should already exist. PDF/report printing.OraHome.From the Start menu. See Also: Oracle HTTP Server Administrator's Guide About Enabling Network Services in Oracle Database 11g By default. Restart Oracle HTTP Server . Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express.1).1).From the Start menu. ■ ■ ■ Using Web services in Oracle Application Express.0 or later. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11. but issues arise when sending outbound email. Searching for content in online Help (that is.Downloading from OTN and Configuring Oracle HTTP Server 2. Stop and restart Oracle HTTP Server. ■ Windows example: Alias /i/ "C:\oracle\ora92\Apache\Apache\images/" ■ UNIX and Linux example: Alias /i/ "/home/oracle/OraHome1/Apache/Apache/images/" Note that the previous examples assume you specified the image directory alias as /i/ when you ran the apexins. and Stop HTTP Server. Oracle HTTP Server. 5. select Programs. Save and exit the httpd.

/ COMMIT.DBMS_XDBZ". 'APEX_030200'.ValidateACL(ACL_ID). -.ORA-06512: at "XDB. BEGIN -. END IF.the "connect" privilege if APEX_030200 does not have the privilege yet.. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters.RES. DBMS_XDBZ.RES.(for example.0.xml'.1.RES.ADD_PRIVILEGE(ACL_PATH. line . DECLARE ACL_PATH VARCHAR2(4000). '/Resource/XMLRef')) INTO ACL_ID FROM XDB. 'APEX_030200'.Before checking the privilege..0.xml'.ASSIGN_ACL('power_users. 'ACL that lets power users to connect to everywhere'. -. EXCEPTION -. By default an 11g database will already have the parameter set properly. END.'*'). 'connect'). the following exception will be raised: --. ACL_ID RAW(16).If it does. does not contain stale references to dropped users). -SELECT SYS_OP_R2O(extractValue(P.When no ACL has been assigned to '*'. Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user. the compatible initialization parameter of the database must be set to at least 11.Look for the ACL currently assigned to '*' and give APEX_030200 -. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN. but a database upgraded to 11g from a prior version may not. TRUE. IF DBMS_NETWORK_ACL_ADMIN. 'APEX_030200'.XDB$ACL A. ACL_PATH) = 1.CHECK_PRIVILEGE(ACL_PATH. SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL.CREATE_ACL('power_users. PATH_VIEW P WHERE extractValue(P. The following example demonstrates how to provide less privileged access to local network resources. ensure that the ACL is valid -.0. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. DBMS_NETWORK_ACL_ADMIN. TRUE. 'connect'). This example would enable indexing the Oracle Application B-10 Oracle Application Express Installation Guide .Downloading from OTN and Configuring Oracle HTTP Server Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section.

DBMS_XDBZ. PRINCIPAL FROM DBA_NETWORK_ACLS NACL. the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB.xml'.When no ACL has been assigned to 'localhost'. run the following code to fix the ACL: DECLARE Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-11 . END IF. END. 'APEX_030200'. 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN.Look for the ACL currently -.. 'connect').ValidateACL(ACL_ID). EXCEPTION -. / COMMIT. line . 'APEX_030200'.Downloading from OTN and Configuring Oracle HTTP Server Express Online Help and could possibly enable email and PDF printing if those servers were also on the local host. If it does. 'ACL that lets power users to connect to everywhere'. use the following query to identify the invalid ACL: REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'. TRUE. 'connect'). does not contain stale references to dropped users).ADD_PRIVILEGE(ACL_PATH. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. ensure that the ACL is valid (for example. SELECT SYS_OP_R2O(extractValue(P. DBMS_NETWORK_ACL_ADMIN. Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script.CHECK_PRIVILEGE(ACL_PATH.RES. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL. Next.xml'.XDB$ACL A. SELECT ACL.. BEGIN -.RES.CREATE_ACL('local-access-users. PATH_VIEW P WHERE extractValue(P.RES.DBMS_XDBZ". Before checking the privilege.'localhost'). WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. IF DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('local-access-users. DECLARE ACL_PATH VARCHAR2(4000). XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL. ACL_ID RAW(16). ACL_PATH) = 1.the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet.ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL).ACLID = ACE. 'APEX_030200'. '/Resource/XMLRef')) INTO ACL_ID FROM XDB. TRUE.

each user's Web browser language settings determine the specific language version. Japanese.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE. Spanish. you must run the first script in this section to apply the ACL to the APEX_030200 user. Simplified Chinese. Security Considerations Oracle highly recommends you configure and use a Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in HTTP requests.users in the ACL. END LOOP. At runtime. Without the use of SSL.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. '/ACL/ACE[PRINCIPAL="'||R.XDB$ACL WHERE OBJECT_ID = ACL_ID.If just some users referenced in the ACL are invalid. encryption. ELSE DELETE FROM XDB. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. -. Korean. COMMIT. SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). CNT NUMBER. and Traditional Chinese. B-12 Oracle Application Express Installation Guide . END IF. drop the ACL completely. A single instance of Oracle Application Express can be installed with one or more of these translated versions. compromising security. Once the ACL has been fixed. Otherwise. French. Brazilian Portuguese. See "Granting Connect Privileges" on page B-10. remove just those -. and data integrity.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID. / REM commit the changes. BEGIN -.Downloading from OTN and Configuring Oracle HTTP Server ACL_ID RAW(16). IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB. passwords could potentially be exposed. Italian. END. SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication.

For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-13 . If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. To install a translated version of Oracle Application Express: 1. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder.sql or load_ja. For example: ■ Bourne or Korn shell: NLS_LANG=American_America.sql). Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. you must run the load_lang.Downloading from OTN and Configuring Oracle HTTP Server The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. Within each of directory. You can manually install translated versions of Oracle Application Express using SQL*Plus. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. Note: Regardless of the target database character set. For example. Set the NLS_LANG environment variable. there is a language loading script identified by the language code (for example.sql script to run a translated version of Oracle Application Express. making sure that the character set is AL32UTF8. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America.AL32UTF8 2.AL32UTF8 export NLS_LANG ■ C shell: setenv NLS_LANG American_America. The installation files are encoded in AL32UTF8. load_de.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. to install a translated version of Oracle Application Express. the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. the installation may fail or the translated Oracle Application Express instance may appear corrupt when run.AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America.AL32UTF8 Japanese_Japan.

click About Application Express. To view the About Application Express page: 1. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' B-14 Oracle Application Express Installation Guide . you can view the number of JOB_QUEUE_ PROCESSES in the installation log files. Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200.2. See "Reviewing a Log of an Installation Session" on page A-1. In Oracle Application Express release 3. Log in to Oracle Application Express. The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. For example: @load_lang. you cannot successfully execute a script. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3. 2. On the Administration list.sql for Japanese).Downloading from OTN and Configuring Oracle HTTP Server ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. If JOB_QUEUE_PROCESSES is not enabled and working properly. 4. Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. transactional support and SQL scripts require jobs. Execute the appropriate language specific script. See "Logging in to Your Oracle Application Express Workspace" on page B-18.sql Where lang is the specific language (for example. load_de.2. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs.sql for German or load_ja.

0 and CSS 1.conf file. running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20. You can find the dadTool. Each workspace has a unique ID and name. data and applications private.0 standards. About Obfuscating PlsqlDatabasePassword Parameter The PlsqlDatabasePassword parameter specifies the password for logging in to the database.README file. Your Web browser must support JavaScript and the HTML 4. An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests.Downloading from OTN and Configuring Oracle HTTP Server Changing the Number of JOB_QUEUE_PROCESSES 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: 1. A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Oracle Application Express Administration Services is a separate application for Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-15 . See "Browser Requirement" on page 2-2. You can use the dadTool.pl by following the instructions in the dadTool. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example.pl utility to obfuscate passwords in the dads. run dadTool. 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser.pl utility in the following directory: ■ For UNIX and Linux based systems: ORACLE_BASE/ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf ■ For Windows based systems: ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf Obfuscating Passwords To obfuscate passwords.

See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express Topics in this section include: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Oracle Application Express Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. The Create Workspace Wizard appears. You log in using the ADMIN account and password created or reset during the installation process. In Password. On the Login page: – – – In Username. 4. Click Manage Workspaces. b. If your setup uses Apache and mod_plsql. Next. Click Login. enter the Oracle Application Express administrator account password you specified when you installed Oracle Application Express. click Create Workspace. go to: http://hostname:port/pls/apex/apex_admin Where: hostname is the name of the system where Oracle HTTP Server is installed. Log in to Oracle Application Express Administration Services. navigate to the Oracle Application Express Administration Services application. In a Web browser. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. this number is 7777.Downloading from OTN and Configuring Oracle HTTP Server managing an entire Oracle Application Express instance. In a default installation. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. Under Manage Workspaces. For Identify Workspace. B-16 Oracle Application Express Installation Guide . create a workspace. See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. a. 2. enter a workspace name and description and click Next. 3. enter admin. pls is the indicator to use the mod_plsql cartridge. port is the port number assigned to Oracle HTTP Server.

Tip: To learn more about a specific attribute. Under Developer Privileges. select Yes. For Identify Administrator. and manage development services. Under Manage Workspaces. 8.To add this user as a Workspace administrator. For Identify Schema. See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. be sure the password meets the requirements. Click Create. b. select No. alter passwords of users within the same workspace. Under Account Control.To add this user as a developer or Workspace administrator.Select Unlocked to enable a user to log in to this account. select the Oracle Forms application schema. Developers can create and modify applications and database objects as well as view developer activity. application. click the item label. For end users.Downloading from OTN and Configuring Oracle HTTP Server 5. Click Next. 7. Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-17 . Click Manage Workspaces. The Manage Developers and Users page appears. select the appropriate privileges: ■ User is a developer . When Help is available. the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. For developers or end users. ■ User is a workspace administrator . The Create/Edit User page appears. workspace activity. If your organization has set up a password policy. Fields marked with an asterisk are required. select Yes. Log in to Oracle Application Express Administration Services as described in the previous section. 4. Select a schema from the list. 3. 5. select No. For Re-use existing schema. type a case-sensitive password for this account. select Yes. enter the appropriate information. 2. Under User Attributes. 7. 6. In addition to having developer privileges. c. a. manage groups. workspace administrators can create and edit user accounts. 6. and schema reports. Under Password. enter the Workspace administrator information and click Next. specify the following: ■ Account Availability . click Manage Developers and Users. Confirm your selections and click Create. session state. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1.

Otherwise.Enteryour user name. you must log in to it using your login credentials (that is.conf Be aware that if you change a port number. it is not updated in the portlist. Click Login.Select Yes to require the user to change the password immediately after logging in with the current. select No. 2. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to a workspace: 1. Password field . enter the following: ■ ■ ■ Workspace field . – – pls is the indicator to use the mod_plsql cartridge. user name. In a default installation. You can only rely on this file immediately after installation. and password). this value may be htmldb or something else. or who have a custom configuration. temporary password. Click Create User or Create and Create Another. navigate to the Oracle Application Express Login page. 9. Logging in to Your Oracle Application Express Workspace Once you create a workspace. For users who have upgraded from earlier releases. If your setup uses Oracle HTTP Server (Apache) and mod_plsql. Username field . In a Web browser. you might be required to change your password when you log in for the first time.Downloading from OTN and Configuring Oracle HTTP Server ■ Require Change of Password on First Use . this number is 7777.Enter the name of your workspace. go to: http://hostname:port/pls/apex Where: – – hostname is the name of the system where Oracle HTTP Server is installed. You can find information about your Oracle HTTP Server installation’s port number from either of the following files: ORACLE_BASE\ORACLE_HOME\install\portlist. Note that. depending on your setup. Under Login.Enter your case-sensitive password. port is the port number assigned to Oracle HTTP Server. Verify your DAD with your Oracle Application Express administrator.ini file. 3. apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. The Login page appears. the workspace name. B-18 Oracle Application Express Installation Guide .ini ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\Apache\conf\httpd.

Oracle HTTP Server is installed in an Oracle home. Install the Oracle Database and Complete Pre-installation Tasks Oracle Application Express requires an Oracle database that is release 9.0. see "Configuring Oracle HTTP Server Distributed with Oracle9i Release 2" on page B-1. To learn more. To learn more. ■ ■ Topics in this section include: ■ ■ ■ ■ ■ ■ ■ Change the Password for the ADMIN Account Unlock the APEX_PUBLIC_USER Database User Change the Password for the APEX_PUBLIC_USER Database User Modifying the wdbsvr.0. Configure Oracle HTTP Server Distributed with Oracle Database Release 9.3.3 Perform the following postinstallation steps if: ■ This is a new installation of Oracle Application Express (that is.3 or later. Note: Within the context of this section.0. see the Oracle Database Installation Guide for your operating environment and "Recommended Pre-installation Tasks" on page B-1. you are not upgrading from a previous release) You are running Oracle HTTP Server distributed with Oracle Database Release 9. Topics in this section include: ■ ■ ■ ■ ■ ■ ■ ■ Install the Oracle Database and Complete Pre-installation Tasks Configure Oracle HTTP Server Distributed with Oracle Database Release 9.2.Install the Database and Configure Oracle HTTP Server Install the Database and Configure Oracle HTTP Server This section describes how to configure Oracle HTTP Server with mod_plsql in a new installation.0. the Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed.app File Modify the Oracle9i httpd.conf Stop and Restart Oracle HTTP Server Copy the Images Directory Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-19 .3 About Enabling Network Services in Oracle Database 11g Security Considerations About Running Oracle Application Express in Other Languages About Managing JOB_QUEUE_PROCESSES About Obfuscating PlsqlDatabasePassword Parameter Create a Workspace and Add Oracle Application Express Users Note that instructions do not apply if you are running Oracle HTTP Server distributed with Oracle9i Release 2.

execute the following steps: 1. For example: @apxchpwd. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.sql. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. To change the password for the ADMIN account: 1. Change your working directory to ORACLE_BASE\ORACLE_HOME\apex or whatever convention used to indicate the Oracle home. change the password for the Oracle Application Express ADMIN account. the Oracle home directory (ORACLE_HTTPSERVER_HOME) is the location where Oracle HTTP Server is installed. Run the following statement: ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK B-20 Oracle Application Express Installation Guide . Change the Password for the ADMIN Account First. Unlock the APEX_PUBLIC_USER Database User When configuring Oracle HTTP Server for Oracle Application Express in a new installation. To unlock the account for database user APEX_PUBLIC_USER.sql When prompted enter a password for the ADMIN account. the database user APEX_PUBLIC_USER must be an unlocked account. Run apxchpwd. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3. 2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.Install the Database and Configure Oracle HTTP Server Note: Within the context of this section.

see: ORACLE_HTTPSERVER_HOME\Apache\modplsql\cfg\wdbsvr. Only change the settings indicated in italics.Install the Database and Configure Oracle HTTP Server Change the Password for the APEX_PUBLIC_USER Database User In order to specify the password in the DAD file. See Also: Oracle Database Security Guide for information on creating profiles and assigning them to database users. Use a text editor and open the wdbsvr. Please use the following steps to change the password for the APEX_PUBLIC_USER database user: 1. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. Modifying the wdbsvr. If you are using Oracle Database 11g with Oracle Application Express. you have to change the password for the database user APEX_PUBLIC_USER. see: ORACLE_HTTPSERVER_HOME/Apache/modplsql/cfg/wdbsvr.app file: ■ On Windows. create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it the new profile.app file: 1. your Oracle Application Express instance will become unusable until you change the password. you modify the wdbsvr. Add an entry for Oracle Application Express using the following syntax.app 2. this causes the password for APEX_ PUBLIC_USER to expire in 180 days. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2. Run the following statement: SQL> PASSWORD APEX_PUBLIC_USER Changing password for APEX_PUBLIC_USER New password: password Retype new password: password About Password Expiration in Oracle Database 11g In the default profile in Oracle Database 11g.app ■ On UNIX and Linux. the parameter PASSWORD_LIFE_TIME is set to 180. To prevent this behavior. As a result. To modify the wdbsvr.app File To create the DAD. [DAD_apex] connect_string = localhost:1521:orcl Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-21 .app file and add an entry for Oracle Application Express.

conf B-22 Oracle Application Express Installation Guide . nls_lang determines the language setting of the DAD. See "Change the Password for the APEX_PUBLIC_USER Database User" on page B-21.conf file: ■ On Windows: ORACLE_HTTPSERVER_HOME\Apache\Apache\conf\httpd. including the user name setting. leave this parameter blank. and Oracle9i database where Oracle Application Express was installed.AL32UTF8" ■ You can find information about your database’s NLS settings by querying the view NLS_DATABASE_PARAMETERS as shown in the following example: SELECT parameter.'NLS_LANGUAGE'. as they appear in the previous example. Use a text editor and open the httpd. you must wrap the value in double quotes as shown in the following example: nls_lang = "ENGLISH_UNITED KINGDOM.conf You must modify the httpd. 4. Modify the Oracle9i httpd. 3. ■ password is the password you changed for the APEX_PUBLIC_USER. port number.app file. Use the format host:port:sid.conf file to add two new MIME types to support SQL Workshop. regardless of whether or not the database character set is AL32UTF8.value FROM nls_database_parameters WHERE PARAMETER IN ('NLS_CHARACTERSET'. If the Oracle9i version of Oracle HTTP Server you want to use is installed in the same Oracle home as the database you specified for use with Oracle Application Express.'NLS_TERRITORY'). If either the territory portion or the language portion of the NLS settings contains a space.conf file to include an alias that points to the file system path where you copied the images directory. Save and exit the wdbsvr. Leave the remaining settings.process_download reuse = Yes enablesso = No stateful = STATELESS_RESET nls_lang = American_America. The character set portion of the nls_lang value must always be set to AL32UTF8.AL32UTF8 Where: ■ connect_string refers to the host ID. You may also need to modify the httpd.conf file: 1. See Also: "Copy the Images Directory" on page B-23 To modify httpd.Install the Database and Configure Oracle HTTP Server password = apex username = apex_public_user default_page = apex document_table = wwv_flow_file_objects$ document_path = docs document_proc = wwv_flow_file_mgr.

conf 2. these MIME types should already exist. See Also: Oracle HTTP Server Administrator's Guide Copy the Images Directory Whether you are loading a new installation or upgrading from a previous release.conf file. Oracle OraHome. Save and exit the httpd. and Stop HTTP Server. 3. ■ On UNIX and Linux. and Start HTTP Server.From the Start menu. select Programs.sql script.Install the Database and Configure Oracle HTTP Server ■ On UNIX and Linux: ORACLE_HTTPSERVER_HOME/Apache/Apache/conf/httpd. See Also: Oracle HTTP Server Administrator's Guide Stop and Restart Oracle HTTP Server To stop and restart Oracle HTTP Server: ■ On Windows. Oracle HTTP Server. add the following two lines to support SQL Workshop if they do not currently exist: AddType text/xml AddType text/x-component xbl htc If you are upgrading from Oracle HTML DB 2. select Programs. Stop and restart Oracle HTTP Server: – – Stop Oracle HTTP Server . Oracle OraHome.0 or later. ■ Windows example: Alias /i/ "C:\oracle\ora92\Apache\Apache\images/" ■ UNIX and Linux example: Alias /i/ "/home/oracle/OraHome1/Apache/Apache/images/" Note that the previous examples assume you specified the image directory alias as /i/ when you ran the apexins. Add an alias entry that points to the file system path where you copied the images directory. Next. Restart Oracle HTTP Server . execute the following commands: ORACLE_HTTPSERVER_HOME/Apache/Apache/bin/apachectl stop ORACLE_HTTPSERVER_HOME/Apache/Apache/bin/apachectl start Note that if the Oracle HTTP Server is listening on a port less than 1024. Oracle HTTP Server.From the Start menu. Note you must include the forward slash (/) at the end of the path. Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-23 . then these commands must be executed as a privileged user (such as root). you must copy the images directory from the top level of the ORACLE_BASE\ORACLE_ HOME\apex directory to the location on the file system containing the Oracle home for Oracle HTTP Server. 4.

overwriting the existing images: ■ On Windows: xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images ■ On UNIX and Linux: cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache In the preceding syntax examples: ■ ■ ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle Application Server or Oracle HTTP Server Oracle home Copying the Images Directory in a New Installation After installation. Oracle recommends that you copy the existing images directory to a backup location. copy the directory apex/images. Topics in this section include: ■ ■ Copying the Images Directory After an Upgrade Copying the Images Directory in a New Installation Copying the Images Directory After an Upgrade During an upgrade. You can copy the images directory using Windows Explorer.conf file for the text alias /i/: When you locate the images directory path. to ensure that you can revert to the previous version. Doing this allows you to revert to the previous release. indicating the release number of the images (for example.Install the Database and Configure Oracle HTTP Server Note: This section is relevant only if your plan to run Oracle Application Express with Oracle HTTP Server with mod_plsql. Before you begin the upgrade. To locate the images directory on the file system. After you copy the existing images directory. Oracle recommends that you create a copy of your existing images directory for Oracle Application Express. if that becomes necessary. images_3_1). or running a command from a command prompt similar to the following: ■ On Windows: xcopy /E /I ORACLE_HOME\apex\images ORACLE_HTTPSERVER_HOME\Apache\images ■ On UNIX and Linux: cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache In the preceding syntax example: ■ ■ ORACLE_HOME is the Oracle Database Oracle home ORACLE_HTTPSERVER_HOME is the existing Oracle HTTP Server Oracle home B-24 Oracle Application Express Installation Guide . use the following command syntax to copy the apex\images directory from the Oracle database home to the existing images directory path. you must overwrite your existing images directory. review the httpd.

■ ■ ■ Using Web services in Oracle Application Express.(for example. PDF/report printing. -. Therefore.Look for the ACL currently assigned to '*' and give APEX_030200 -. -SELECT SYS_OP_R2O(extractValue(P. the compatible initialization parameter of the database must be set to at least 11.RES. Granting Connect Privileges The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user.ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' -.Install the Database and Configure Oracle HTTP Server About Enabling Network Services in Oracle Database 11g By default.DBMS_XDBZ". By default an 11g database will already have the parameter set properly. but a database upgraded to 11g from a prior version may not. Topics in this section include: ■ ■ Granting Connect Privileges Troubleshooting an Invalid ACL Error Tip: To run the examples described in this section. ensure that the ACL is valid -. using the Find link). 'APEX_030200'.0.1. -.1). Failing to grant these privileges results in issues with: ■ Sending outbound mail in Oracle Application Express. Searching for content in online Help (that is. Users can call methods from the APEX_MAIL package. does not contain stale references to dropped users). IF DBMS_NETWORK_ACL_ADMIN.0..CHECK_PRIVILEGE(ACL_PATH.1).ORA-06512: at "XDB.Before checking the privilege.ValidateACL(ACL_ID). if you are running Oracle Application Express with Oracle Database 11g release 1 (11. PATH_VIEW P WHERE extractValue(P. ACL_PATH) = 1.0.the "connect" privilege if APEX_030200 does not have the privilege yet. See "Creating and Configuring an Oracle Database" in Oracle Database Administrator's Guide for information about changing database initialization parameters. you must use the new DBMS_NETWORK_ACL_ ADMIN package to grant connect privileges to any host for the APEX_030200 database user.RES. BEGIN -. but issues arise when sending outbound email. ACL_ID RAW(16).. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. DBMS_XDBZ. the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.RES.If it does. line . SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL. 'connect') IS NULL THEN Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-25 . the following exception will be raised: --. '/Resource/XMLRef')) INTO ACL_ID FROM XDB.XDB$ACL A. DECLARE ACL_PATH VARCHAR2(4000).

TRUE. ACL_PATH) = 1.'localhost'). ensure that the ACL is valid (for example. The following example demonstrates how to provide less privileged access to local network resources. Before checking the privilege.When no ACL has been assigned to '*'. 'connect'). If it does.CREATE_ACL('local-access-users.Look for the ACL currently -. '/Resource/XMLRef') = REF(A) AND EQUALS_PATH(P. SELECT SYS_OP_R2O(extractValue(P. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users. line ..CHECK_PRIVILEGE(ACL_PATH. WHEN NO_DATA_FOUND THEN DBMS_NETWORK_ACL_ADMIN. 'connect').RES. 'APEX_030200'. EXCEPTION -.xml'. DECLARE ACL_PATH VARCHAR2(4000). BEGIN -. / COMMIT. 'ACL that lets power users to connect to everywhere'.When no ACL has been assigned to 'localhost'.ValidateACL(ACL_ID). EXCEPTION -.'*'). 'APEX_030200'. TRUE. does not contain stale references to dropped users). the following exception will be raised: ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200' ORA-06512: at "XDB. 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.the "connect" privilege if SELECT ACL INTO ACL_PATH FROM WHERE HOST = 'localhost' AND -------- assigned to 'localhost' and give APEX_030200 APEX_030200 does not have the privilege yet.DBMS_XDBZ". 'ACL that lets power users to connect to everywhere'. 'connect').xml'. END IF.Install the Database and Configure Oracle HTTP Server DBMS_NETWORK_ACL_ADMIN.xml'. ACL_ID RAW(16). DBMS_NETWORK_ACL_ADMIN. B-26 Oracle Application Express Installation Guide . PATH_VIEW P WHERE extractValue(P.. 'APEX_030200'. END IF. DBA_NETWORK_ACLS LOWER_PORT IS NULL AND UPPER_PORT IS NULL.xml'.ADD_PRIVILEGE(ACL_PATH.ASSIGN_ACL('local-access-users. 'APEX_030200'. END. 'APEX_030200'. 'connect'). 'connect') IS NULL THEN DBMS_NETWORK_ACL_ADMIN.RES. DBMS_XDBZ.XDB$ACL A.ASSIGN_ACL('power_users. TRUE. / COMMIT. TRUE. '/Resource/XMLRef')) INTO ACL_ID FROM XDB. DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH. END.RES. IF DBMS_NETWORK_ACL_ADMIN.

See "Granting Connect Privileges" on page B-10.users in the ACL. run the following code to fix the ACL: DECLARE ACL_ID RAW(16).XDB$ACL WHERE OBJECT_ID = ACL_ID. PRINCIPAL FROM DBA_NETWORK_ACLS NACL. END LOOP. Otherwise. Once the ACL has been fixed.XDB$ACL SET OBJECT_VALUE = DELETEXML(OBJECT_VALUE.PRINCIPAL||'"]') WHERE OBJECT_ID = ACL_ID. BEGIN -. IF (CNT > 0) THEN FOR R IN (SELECT PRINCIPAL FROM XDS_ACE WHERE ACLID = ACL_ID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL)) LOOP UPDATE XDB.Install the Database and Configure Oracle HTTP Server Troubleshooting an Invalid ACL Error If you receive an ORA-44416: Invalid ACL error after running the previous script. use the following query to identify the invalid ACL: REM Show the dangling references to dropped users in the ACL that is assigned REM to '*'.ACLID = ACE. END. remove just those -. you must run the first script in this section to apply the ACL to the APEX_030200 user. COMMIT.If just some users referenced in the ACL are invalid. -. Next. ELSE DELETE FROM XDB. '/ACL/ACE[PRINCIPAL="'||R. Security Considerations Oracle highly recommends you configure and use a Secure Sockets Layer (SSL) to ensure that passwords and other sensitive data are not transmitted in clear text in Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-27 . SELECT ACL. SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE WHERE ACLID = ACL_ID AND EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL).ACLID AND NOT EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL). drop the ACL completely. / REM commit the changes. XDS_ACE ACE WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL AND NACL. CNT NUMBER. END IF.Look for the object ID of the ACL currently assigned to '*' SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL.

Brazilian Portuguese.AL32UTF8 Japanese_Japan. to install a translated version of Oracle Application Express. Within each of directory. For example: ■ Bourne or Korn shell: NLS_LANG=American_America. SSL is an industry standard protocol that uses RSA public key cryptography in conjunction with symmetric key cryptography to provide authentication. you must set the character set value of the NLS_LANG environment variable to AL32UTF8 before starting SQL*Plus. Italian.sql or load_ja. A single instance of Oracle Application Express can be installed with one or more of these translated versions.Install the Database and Configure Oracle HTTP Server HTTP requests. To install a translated version of Oracle Application Express: 1. Without the use of SSL. For example. Simplified Chinese. Korean. and data integrity. The translated version of Oracle Application Express should be loaded into a database that has a character set that supports the specific language. making sure that the character set is AL32UTF8. About Running Oracle Application Express in Other Languages The Oracle Application Express interface is translated into German. each user's Web browser language settings determine the specific language version. The following examples illustrate valid NLS_LANG settings for loading Oracle Application Express translations: American_America.AL32UTF8 export NLS_LANG B-28 Oracle Application Express Installation Guide . You can manually install translated versions of Oracle Application Express using SQL*Plus. Set the NLS_LANG environment variable.sql script to run a translated version of Oracle Application Express. encryption. If you attempt to install a translated version of Oracle Application Express into a database that does not support the character encoding of the language. the German version is located in apex/builder/de and the Japanese version is located in apex/builder/ja. The installation scripts are located in subdirectories identified by a language code in the unzipped distribution apex/builder. load_de. and Traditional Chinese.AL32UTF8 Installing a Translated Version of Oracle Application Express Whether you are installing for the first time or upgrading from a previous release. you must run the load_lang. The database character set AL32UTF8 supports all the translated versions of Oracle Application Express. the installation may fail or the translated Oracle Application Express instance may appear corrupt when run. The installation files are encoded in AL32UTF8. Spanish. Note: Regardless of the target database character set. At runtime. Japanese. French. compromising security. there is a language loading script identified by the language code (for example.sql). passwords could potentially be exposed.

Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-29 . Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. 4. About Managing JOB_QUEUE_PROCESSES JOB_QUEUE_PROCESSES determine the maximum number of concurrently running jobs. See "Reviewing a Log of an Installation Session" on page A-1.2.sql for Japanese). If JOB_QUEUE_PROCESSES is not enabled and working properly. For example: @load_lang.sql Where lang is the specific language (for example. you cannot successfully execute a script. Execute the appropriate language specific script. Topics in this section include: ■ ■ Viewing the Number of JOB_QUEUE_PROCESSES Changing the Number of JOB_QUEUE_PROCESSES Viewing the Number of JOB_QUEUE_PROCESSES There are currently three ways to view the number of JOB_QUEUE_PROCESSES: ■ ■ ■ In the installation log file On the About Application Express page in Oracle Application Express From SQL*Plus Viewing JOB_QUEUE_PROCESSES in the Installation Log File After installing or upgrading Oracle Application Express to release 3.Install the Database and Configure Oracle HTTP Server ■ C shell: setenv NLS_LANG American_America.AL32UTF8 2.sql for German or load_ja. In Oracle Application Express release 3. load_de. you can view the number of JOB_QUEUE_ PROCESSES in the installation log files. transactional support and SQL scripts require jobs.2. Execute the following statement: ALTER SESSION SET CURRENT_SCHEMA = APEX_030200.AL32UTF8 ■ For Windows based systems: set NLS_LANG=American_America. For example: ■ On Windows: SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 3.

running the statement ALTER SYSTEM SET JOB_QUEUE_ PROCESSES = 20 sets JOB_QUEUE_PROCESSES to 20. Log in to Oracle Application Express. In SQL*Plus run the following SQL statement: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = <number> For example.pl utility in the following directory: ■ For UNIX and Linux based systems: ORACLE_BASE/ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf ■ For Windows based systems: ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\modplsql\conf B-30 Oracle Application Express Installation Guide . The current number JOB_QUEUE_PROCESSES displays at the bottom of the page. See "Logging in to Your Oracle Application Express Workspace" on page B-33.conf file. On the Administration list. Viewing JOB_QUEUE_PROCESSES from SQL*Plus You can also view the number of JOB_ QUEUE_PROCESSES from SQL*Plus by running the following SQL statement: SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes' Changing the Number of JOB_QUEUE_PROCESSES 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: 1. 2. You can use the dadTool. About Obfuscating PlsqlDatabasePassword Parameter The PlsqlDatabasePassword parameter specifies the password for logging in to the database.Install the Database and Configure Oracle HTTP Server Viewing JOB_QUEUE_PROCESSES in Oracle Application Express You can also view the number of JOB_QUEUE_PROCESSES on the About Application Express page. To view the About Application Express page: 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 SQL> CONNECT SYS as SYSDBA Enter password: SYS_password ■ On UNIX and Linux: $ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password 2.pl utility to obfuscate passwords in the dads. click About Application Express. You can find the dadTool.

apex is the database access descriptor (DAD) defined in the mod_plsql configuration file.0 and CSS 1. An Oracle Application Express administrator can create a workspace manually within Oracle Application Express Administration Services or have users submit requests. navigate to the Oracle Application Express Administration Services application.0 standards.Install the Database and Configure Oracle HTTP Server Obfuscating Passwords To obfuscate passwords. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance.README file. b. go to: http://hostname:port/pls/apex/apex_admin Where: hostname is the name of the system where Oracle HTTP Server is installed. See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide. In a default installation. port is the port number assigned to Oracle HTTP Server. data and applications private. See "Browser Requirement" on page 2-2. In a Web browser. run dadTool. You log in using the ADMIN account and password created or reset during the installation process. Each workspace has a unique ID and name. A workspace is a virtual private database allowing multiple users to work within the same Oracle Application Express installation while keeping their objects. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-31 . See Also: Oracle Database 2 Day + Oracle Application Express Developer's Guide if you are new to Oracle Application Express Topics in this section include: ■ ■ ■ Creating a Workspace Manually Creating Oracle Application Express Users Logging in to Your Oracle Application Express Workspace Creating a Workspace Manually To create an Oracle Application Express workspace manually: 1. Create a Workspace and Add Oracle Application Express Users You access the Oracle Application Express home page by logging in to workspace using a Web browser. On the Login page: – In Username.pl by following the instructions in the dadTool. a. pls is the indicator to use the mod_plsql cartridge. Log in to Oracle Application Express Administration Services. Your Web browser must support JavaScript and the HTML 4. enter admin. this number is 7777. If your setup uses Oracle HTTP Server (Apache) and mod_plsql.

See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. Click Manage Workspaces. Click Create. enter the Oracle Application Express administrator account password you specified when you installed Oracle Application Express. If your organization has set up a password policy. Log in to Oracle Application Express Administration Services as described in the previous section. 3. enter the appropriate information. click the item label.Install the Database and Configure Oracle HTTP Server – – In Password. select the appropriate privileges: B-32 Oracle Application Express Installation Guide . Click Login. For Re-use existing schema. the item label changes to red when you pass your cursor over it and the cursor changes to an arrow and question mark. 6. 7. 4. The Create/Edit User page appears. Confirm your selections and click Create. Under Password. click Manage Developers and Users. For Identify Workspace. For Identify Administrator. select Yes. 2. Creating Oracle Application Express Users To create an Oracle Application Express user account: 1. The Create Workspace Wizard appears. For Identify Schema. click Create Workspace. Click Manage Workspaces. a. Click Next. 5. b. 2. 6. c. The Manage Developers and Users page appears. create a workspace. Fields marked with an asterisk are required. type a case-sensitive password for this account. Under Developer Privileges. When Help is available. See Also: See "Logging in to Oracle Application Express Administration Services" in Oracle Application Express Administration Guide. 7. enter a workspace name and description and click Next. 5. select the Oracle Forms application schema. Under Manage Workspaces. be sure the password meets the requirements. enter the Workspace administrator information and click Next. Select a schema from the list. Under User Attributes. Under Manage Workspaces. 4. Tip: To learn more about a specific attribute. 3. Next.

To add this user as a developer or Workspace administrator. and password). select No. and schema reports. You can only rely on this file immediately after installation. Configuring Oracle HTTP Server Distributed with Oracle9i Release 2 B-33 . specify the following: ■ Account Availability . you must log in to it using your login credentials (that is. apex is the database access descriptor (DAD) defined in the mod_plsql configuration file. select Yes.ini file. See Also: See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide To log in to a workspace: 1.Select Yes to require the user to change the password immediately after logging in with the current. Developers can create and modify applications and database objects as well as view developer activity. and manage development services. Under Account Control. or who have a custom configuration. Logging in to Your Oracle Application Express Workspace Once you create a workspace. Require Change of Password on First Use .conf Be aware that if you change a port number. select No. user name. go to: http://hostname:port/pls/apex Where: – – hostname is the name of the system where Oracle HTTP Server is installed. port is the port number assigned to Oracle HTTP Server. workspace activity. Otherwise. this number is 7777. manage groups. workspace administrators can create and edit user accounts. Click Create User or Create and Create Another. In a default installation. alter passwords of users within the same workspace. You can find information about your Oracle HTTP Server installation’s port number from either of the following files: ORACLE_BASE\ORACLE_HOME\install\portlist. – – pls is the indicator to use the mod_plsql cartridge. session state.To add this user as a Workspace administrator. If your setup uses Oracle HTTP Server (Apache) and mod_plsql. the workspace name.Install the Database and Configure Oracle HTTP Server ■ User is a developer . In addition to having developer privileges.Select Unlocked to enable a user to log in to this account.ini ORACLE_BASE\ORACLE_HTTPSERVER_HOME\Apache\Apache\conf\httpd. ■ User is a workspace administrator . temporary password. For end users. For developers or end users. this value may be htmldb or something else. select Yes. select No. In a Web browser. it is not updated in the portlist. 8. application. For users who have upgraded from earlier releases. Verify your DAD with your Oracle Application Express administrator. ■ 9. navigate to the Oracle Application Express Login page.

3. enter the following: ■ ■ ■ Workspace field . B-34 Oracle Application Express Installation Guide . depending on your setup.Install the Database and Configure Oracle HTTP Server The Login page appears. 2. Click Login.Enter your case-sensitive password. Note that. Under Login. Password field . Username field .Enteryour user name.Enter the name of your workspace. you might be required to change your password when you log in for the first time.

org/licenses/ TERMS AND CONDITIONS FOR USE. whether in Source or Object form. or are under common control with that entity.0. or other modifications Third-Party License C-1 . or (iii) beneficial ownership of such entity. and distribution as defined by Sections 1 through 9 of this document. "Derivative Works" shall mean any work. as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Legal Entity" shall mean the union of the acting entity and all other entities that control. Definitions. elaborations. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "control" means (i) the power. REPRODUCTION. including but not limited to software source code. and conversions to other media types. "License" shall mean the terms and conditions for use. that is based on (or derived from) the Work and for which the editorial revisions. "Work" shall mean the work of authorship. January 2004 http://www. generated documentation. and configuration files. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. AND DISTRIBUTION 1. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form. whether in Source or Object form. are controlled by. "Source" form shall mean the preferred form for making modifications. Apache License Apache License Version 2. direct or indirect. whether by contract or otherwise.apache. to cause the direction or management of such entity. reproduction.C Third-Party License This appendix contains the third party license for Apache. documentation source. For the purposes of this definition. made available under the License. or (ii) ownership of fifty percent (50%) or more of the outstanding shares. annotations. including but not limited to compiled object code.

and (b) You must cause any modified files to carry prominent notices stating that You changed the files. import. each Contributor hereby grants to You a perpetual. in the Source form of any Derivative Works that You distribute. the Work and Derivative Works thereof. publicly display. provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License. publicly perform. Grant of Copyright License. and attribution notices from the Source form of the Work. non-exclusive. no-charge." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. or written communication sent to the Licensor or its representatives. no-charge. as a whole. irrevocable (except as stated in this section) patent license to make. and distribute the Work and such Derivative Works in Source or Object form. non-exclusive. irrevocable copyright license to reproduce. or merely link (or bind by name) to the interfaces of. where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. "Contribution" shall mean any work of authorship. 4. and (c) You must retain. prepare Derivative Works of. Derivative Works shall not include works that remain separable from. sublicense. For the purposes of this License. then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. verbal. an original work of authorship. each Contributor hereby grants to You a perpetual. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement. that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. Subject to the terms and conditions of this License. have made. 3. C-2 Oracle Application Express Installation Guide . and issue tracking systems that are managed by. trademark. including but not limited to communication on electronic mailing lists. or on behalf of. worldwide. offer to sell. source code control systems. and in Source or Object form. patent. worldwide. sell. all copyright. 2. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium. Subject to the terms and conditions of this License. including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof. the Licensor for the purpose of discussing and improving the Work. "submitted" means any form of electronic. Grant of Patent License. with or without modifications. For the purposes of this definition. use. and otherwise transfer the Work. but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution. Redistribution.Apache License represent. royalty-free. royalty-free.

within a display generated by the Derivative Works. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use. MERCHANTABILITY. or. reproduction. 6. any warranties or conditions of TITLE. or distribution of Your modifications. or product names of the Licensor. indirect. contract. or otherwise. in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works. 5. within the Source form or documentation. NON-INFRINGEMENT. except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. work stoppage. any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file. or for any such Derivative Works as a whole. without limitation. alongside or as an addendum to the NOTICE text from the Work. or FITNESS FOR A PARTICULAR PURPOSE. either express or implied. computer failure or malfunction. including. and distribution of the Work otherwise complies with the conditions stated in this License. including any direct. 7. Unless required by applicable law or agreed to in writing. reproduction. unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing. The contents of the NOTICE file are for informational purposes only and do not modify the License. Unless You explicitly state otherwise. Submission of Contributions. excluding those notices that do not pertain to any part of the Derivative Works. even if such Contributor Third-Party License C-3 . 8. special. Disclaimer of Warranty. provided Your use.Apache License excluding those notices that do not pertain to any part of the Derivative Works. Notwithstanding the above. shall any Contributor be liable to You for damages. You may add Your own attribution notices within Derivative Works that You distribute. incidental. trademarks. This License does not grant permission to use the trade names. if and wherever such third-party notices normally appear. whether in tort (including negligence). In no event and under no legal theory. nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. without any additional terms or conditions. Trademarks. if provided along with the Derivative Works. service marks. provided that such additional attribution notices cannot be construed as modifying the License. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. and (d) If the Work includes a "NOTICE" text file as part of its distribution. or any and all other commercial damages or losses). Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS. Limitation of Liability. or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill.

However. You may act only on Your own behalf and on Your sole responsibility. and charge a fee for. acceptance of support. or claims asserted against. or other liability obligations and/or rights consistent with this License. and hold each Contributor harmless for any liability incurred by. Accepting Warranty or Additional Liability. not on behalf of any other Contributor. warranty. You may choose to offer. and only if You agree to indemnify. defend. in accepting such obligations. such Contributor by reason of your accepting any such warranty or additional liability. 9. END OF TERMS AND CONDITIONS C-4 Oracle Application Express Installation Guide . indemnity.Apache License has been advised of the possibility of such damages. While redistributing the Work or Derivative Works thereof.

tables with an empty summary attribute) that contain th tags. This issue does not currently have a workaround.D Accessibility in Oracle Application Express This section attempts to provide information for users who are accessing Oracle Application Express utilizing only a keyboard or Freedom Scientific's screen reader JAWS.0. ■ Some decorative images are missing an empty alt text.oracle. This issue does not currently have a workaround. In some situations. JAWS may interpret the contents of a layout table as a data table and when this happens. ■ Some form items do not have a label tag describing the form item. Accessibility in Oracle Application Express D-1 . ■ Some region types contain layout tables (that is. However due to the missing summary text. these are difficult to identify. This issue does not currently have a workaround. This issue does not currently have a workaround. followed by known workarounds where possible: ■ Some tables containing data are poorly marked up with appropriate summary information. ■ Some non-decorative images are not accompanied by alt text.com/accessibility Note: JAWS release 10.1139 with all default settings was used in writing this section. This section contains the following topics: ■ ■ ■ ■ General Violations Tips for Accessing Form Pages in Oracle Application Express Issues with Interactive Report Regions Accessing Interactive Report Regions Using a Keyboard For additional information about the accessibility of Oracle products. This issue does not currently have a workaround. see: http://www. General Violations The following is a list of general accessibility violations in Oracle Application Express. the table will be available in the JAWS buffer and navigable using the JAWS navigation quick key T.

Press CTRL+INSERT+ENTER to launch the mouseover event. This issue does not currently have a workaround. ■ Some tables containing data have an empty summary attribute. which are hidden by default. ■ Tab orders do not always follow a logical order. ■ Some pages contain contextual Help within Show/Hide regions. ■ Some event handlers are not device independent. In the cases where updates are picked up. To activate an onmouseover event handler in JAWS: a.Tips for Accessing Form Pages in Oracle Application Express ■ If functionality is provided by XMLHTTP (AJAX) and DHTML scripting languages. ■ Some layout tables have no summary attribute. This issue does not currently have a workaround. screen readers may not properly interpret screen updates. In most. This issue does not currently have a workaround. This section describes how you can gain an understanding of the structure of these pages and interact with them using a screen reader such as JAWS. Tips for Accessing Form Pages in Oracle Application Express Many of the pages in Oracle Application Express are form pages designed for maintaining application metadata. there is still a problem since JAWS does not notify the user of the update. Topics in this section include: ■ ■ ■ ■ Understanding the Structure of a Page Using the Tasks Links on a Page Accessing Help Text Dealing with Raised Validations Understanding the Structure of a Page Many form pages are logically broken up into different regions. Note that you know if the element has this event handler if JAWS announces “on mouse over” on arrival. but not all cases. the Edit Page Item page has the following regions containing form fields for maintaining information about the page item: ■ ■ ■ Name Displayed Label D-2 Oracle Application Express Installation Guide . b. JAWS does have a mechanism to fire onmouseover events that can help with these types of event handlers. For example. Move to the element that contains the onmouseover event. This information is currently not accessible using keyboard navigation. This issue does not currently have a workaround. For example. This issue does not currently have a workaround. JAWS interprets the updates presented utilizing XMLHTTP.

Using the Tasks Links on a Page Many pages in Oracle Application Express contain a Tasks region on the right-hand side of the page. you can understand of the overall structure of the page using JAWS: 1. Press CTRL+HOME to go to the top of the page. For example. Type tasks and press ENTER. 4. JAWS reads the contents of the division and in doing so gives you a list of all the regions on the page. To navigate to a particular region. press ENTER on the appropriate link. therefore another approach is required to gain an understanding of this structure. There are contained within a division element. Press DOWN ARROW to access each link for each region on the page. 3. Press ENTER to navigate to the division. At the top of the page. Press CTRL+HOME to go to the top of the page. Press the JAWS navigation quick key I to navigate through the list items and ENTER if you wish to activate a link. Press CTRL+INSERT+ Z to load the Select a Division dialog box. There is no HEADER defined on this region currently. 5. JAWS announces the page name. there is Show All link as the first link in the set. Since Tasks links are implemented in a list. 2. JAWS announces the page name. Press CTRL+F to launch the Find dialog box. Edit Page Item. 4. 3. 5. To navigate to the Tasks region using JAWS: 1. 6. Accessibility in Oracle Application Express D-3 .Tips for Accessing Form Pages in Oracle Application Express ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ Element Source Default LOV Security Conditions Read Only Help Configuration Comments Unfortunately these page sections are not marked up with HEADERS (Hn) tags. Additionally. By understanding that links to each section exist in a division element. 2. Press S repeatedly to go to the division that begins with Show All. the Edit Page Item page has a Tasks region on the right side containing a list of links relevant to the current item type. there are links that take the user directly to the region they wish to locate. press the JAWS navigation quick key L once to navigate to the list.

3. you can navigate to regions like this by searching for text which is similar to the page title. Note: This step is not required if using JAWS 10 with Auto Forms Mode enabled.Page items are HTML elements with associated session state. To search for the text Page Items using JAWS: 1. press DOWN ARROW to read the text. For example. Activating this link will load a separate window containing the help text. the adjacent label will be implemented as a link. Press CTRL+HOME to go to the top of the page. press ENTER to activate the link. 3. For example. JAWS announces the page name. you might search for the text Page Items. A separate window containing the Help text appears D-4 Oracle Application Express Installation Guide . Press CTRL+F to launch the JAWS Find dialog box. repeatedly. JAWS announces the page name. Navigation to this text is difficult. Page items can be rendered in many ways such as a text field. This Help text describes basic concepts or decision points relevant to the current page. Accessing Item Help Most items within the user interface have field-level Help available by activating or clicking on the field label.Tips for Accessing Form Pages in Oracle Application Express Accessing Help Text This section describes how to use JAWS to access Page Help and Item-level help in Oracle Application Express. If there is no link text matching the label of the form item you wish to get help for. Press the PLUS sign (+) on the numeric keypad to go back into Virtual PC Cursor mode. where the link text will match that of the current form item's label text. Press INSERT+F7 to load the Links List dialog box. To access this field-level Help for an item using JAWS: 1. 4. Once the text has been located. 2. a check box. If the appropriate link is found. if you were on the Edit Page Item page. 2. Press the first letter of the link text you wish to locate. If Help text is available. This text is contained within a table with empty summary text and has no HEADER. the Edit Page Item page has a region on the top right of the page that reads as follows: Page Items . However. Press CTRL+HOME to go to the top of the page. or a select list. Topics in this section include: ■ ■ Accessing Page Help Accessing Item Help Accessing Page Help Many pages in Oracle Application Express have regions on the right side of the page containing Help text. Type page items and press ENTER. then there is no help available for that item 4.

The following procedure explains how to identify when a validation fails. JAWS will announce "list of x items" where x is the number of errors that has occurred. Press CTRL+INSERT+G to launch the Select a Graphic dialog box. Dealing with Raised Validations If a validation fails when submitting a form. One approach is to navigate to the error image that displays next to the associated page item and then use JAWS reading commands to understand which error you are dealing with. In this situation JAWS does not read the page as it would normally when loading a new page. Additionally. Topics in this section include: ■ ■ ■ Identifying when a Validation Fails Reviewing Error Messages Fixing a Validation Error Identifying when a Validation Fails When a validation fails. a list appears at the top of the page and contains list items with the error text for the failed validations. To navigate to the list containing error text: 1. JAWS announces the page name.Tips for Accessing Form Pages in Oracle Application Express 5. If there is an error image. 2. error text displays inline next to the page item associated with the validation. all within the context of the Edit Page Item form page. and rectify the necessary values in order to pass the validation. 2. Accessibility in Oracle Application Express D-5 . Press the JAWS navigation quick key L to go to the first list on the page. JAWS announces the page name. To check for images having an alt text of Error: 1. Once you are finished reading the help text. Press the JAWS navigation quick key N to go to the help text. the same page loads with details of the failure. 3. Press E repeatedly to try and locate the error image. You can quickly check if a validation error has occurred by searching for any images with an alt text of Error. Fixing a Validation Error There is no simple way to navigate from the summary list of error messages to the page item associated with the failed validation. Press CTRL+HOME to go to the top of the page. then this means a validation has failed. Press the JAWS navigation quick key I to read through each error message. you are redirected back to the same page and an error message displays in a list at the top of the page. 3. Press CTRL+HOME to go to the top of the page. 6. Reviewing Error Messages If a validation error occurs. press ALT+F4 to close the Help window and return to page. review error messages.

Press CTRL+INSERT+G to load the Select a Graphic dialog box. 4. To locate subsequent error messages on the page: a. Once all errors have been addressed. 9. D-6 Oracle Application Express Installation Guide . JAWS announces the page name. Press DOWN ARROW once to go to the Help text link for the associated field. Press the DOWN ARROW again to go to the error message.Issues with Interactive Report Regions To navigate to the error image: 1. This issue does not currently have a workaround. you need to click the Apply Changes button: – – Press the JAWS navigation quick key B until you hear JAWS announce "Apply Changes Button. Press ENTER to navigate to the error image. Press ENTER to enable Forms Mode and provide a new value." Press ENTER to apply your changes. 7. release 3. Issues with Interactive Report Regions Oracle Application Express. Press the JAWS navigation quick key G repeatedly until you locate the next error image. you will be taken back to the 'Page Definition' page. In Oracle Application Express release 3. Press E repeatedly to locate the error image. Press CTRL+HOME to go to the top of the page. Press the PLUS sign (+) on the numeric keypad to go back into Virtual PC Cursor mode. 5. Once you have located the next error image. b. Press the JAWS navigation quick key F to go to the page item. The following list explains these violations and includes known workarounds where possible: ■ The Actions menu is not accessible by a screen reader or by keyboard navigation. you need to locate subsequent error images on the page. 3. 2. If your changes fixed all the validation errors. d. 8." c. 6. Interactive report regions enable users to alter the layout of report data by choosing columns and applying filters. Once you provide a new value and fix the error. repeat steps 5 to 8 until all errors have been addressed.1 included a new report region called interactive report. This tells you which field has a validation error since the link text is the same as the form field label. JAWS announces "graphic error. Interactive report regions have a number of violations that strongly prohibits their usability with screen readers and keyboard-only users. interactive report regions are only utilized within the Oracle Application Express Application Migration module.2.

This issue does not currently have a workaround. JAWS does not announce the update. It is therefore available in the screen reader’s buffer and navigable using the JAWS navigation quick key T. when filtering a report or loading a chart). ■ Interactive report regions produce a table with rows that do not contain a HEADER attribute linking to the id of the th tag for that column. ■ The layout table used for the Search tab has no summary attribute. ■ An animated GIF is sometimes used to indicate processing is underway (for example. this particular violation is not a major issue. in some cases screen readers such as JAWS pick up the updates presented using XMLHTTP. Accessibility in Oracle Application Express D-7 . In this situation. This issue does not currently have a workaround. This issue does not currently have a workaround. Although the number of violations on interactive reports strongly prohibits their use with screen readers such as JAWS. exclude data. However due to the empty summary text. it is therefore difficult to get the full context when navigating the cells of the table in this situation. ■ ■ Because interactive reports requires functionality provided by the XMLHTTP (AJAX) and DHTML scripting languages. Although the number of violations on interactive reports strongly prohibits their use with screen readers such as JAWS. The table containing data has an empty summary attribute. This issue does not currently have a workaround. filter. ■ The column headings used to sort. Screen readers such as JAWS do not pick this up as a data table. The one exception is when a Control Break is defined on the data in the interactive report to group it. This is because the data tables are fairly simple (nearly always where each cell is associated with only 1 HEADER and row) and do use the appropriate table markup (th and td elements). an additional th element is generated for the column that the Control Break has been enabled.Issues with Interactive Report Regions ■ The Search icon menu to the left of the Search region is not accessible by screen reader or by keyboard navigation. screen readers may not properly interpret screen updates. This issue does not currently have a workaround. Thus. For example. screen readers such as JAWS are able to announce the context of a particular cell. Due to the contents of the table. group. ■ Some Form items in AJAX-based dialog boxes do not have associated label tags. Because of the missing markup. This issue does not currently have a workaround. This information is not available in a non-animated presentation mode. or display Help about data are not accessible by a screen reader or by keyboard navigation. ■ Flash charts do not provide alternative descriptive text. screen readers such as JAWS do pick this up as a data table. Even if updates are picked up. it is difficult to identify. this particular violation is not a major issue. This issue does not currently have a workaround.

These are all standard links and are therefore keyboard accessible. the Blocks page). Managing Bulk Updates Some interactive reports in Oracle Application Express Application Migration Workshop contain form items for applying bulk updates to components (for example. Utilizing Drill Down Links All the interactive reports Oracle Application Express Application Migration Workshop contain at least one link to edit or view a specific sub-components.Accessing Interactive Report Regions Using a Keyboard Accessing Interactive Report Regions Using a Keyboard As described in "Issues with Interactive Report Regions" on page D-6. you can also press TAB to navigate to the Go button and then press ENTER. 2. Press TAB to navigate to the Rows list. Type keywords in the Search field. Press TAB repeatedly to navigate to the Search field. Press ENTER to invoke the search. D-8 Oracle Application Express Installation Guide . Press TAB to navigate to the Go button and then press ENTER. This section describes some basic features that are available by tabbing through the focusable elements on the page. 2. some features in Interactive Reports are not available to keyboard-only users. To use the Rows list using a keyboard: 1. All of these items are keyboard accessible. To execute a search using a keyboard: 1. Also some pages feature a check box in the first row to perform bulk processing and corresponding Select All and Deselect All links below the report. Press Down Arrow or Up Arrow to make a selection. 3. Topics in this section include: ■ ■ ■ ■ ■ Searching an Interactive Report Specifying Rows to Display Managing Bulk Updates Utilizing Drill Down Links Editing Existing Filters Searching an Interactive Report All interactive reports feature a Search field at the top of the page. Specifying Rows to Display The Rows select list displays to the right of the Search field at the top of the page and controls the number of rows that display in the report. All form items within the report and buttons to apply the changes are keyboard accessible. This is a standard select list. This Search field is a standard text item. Alternatively. 3.

Since the focus does not move automatically to the dialog box. ■ Disable or enable the search filter. Press TAB to navigate to the search filter and then press ENTER to open the Filter dialog box.Accessing Interactive Report Regions Using a Keyboard Editing Existing Filters When an existing search filter is applied to an interactive report. ■ Delete the search filter. Press TAB to navigate to the check box to the right of the filter and SPACEBAR to disable or enable the filter. a search filter displays below the Search bar. press SHIFT+TAB until you reach the appropriate controls. You can access the search filter using the keyboard to: ■ Edit the search filter. Press TAB or SHIFT+TAB to navigate to the Delete button and then press ENTER. Accessibility in Oracle Application Express D-9 . Press TAB to navigate to the search filter and then ENTER to open the Filter dialog box.

Accessing Interactive Report Regions Using a Keyboard D-10 Oracle Application Express Installation Guide .

4-2. 2-3 Application Express Administration Services. 4-27 obfuscating passwords. B-15. 4-29 managing JOB_QUEUE_PROCESSES. 4-20 Index-1 . 3-37. B-16. B-5 apxconf. B-30 database installation backing up Oracle database.sql. 4-9.sql. 4-29. 4-24 fixing invalid ACL. 4-13. 4-3 SHARED_SERVERS parameter. B-17. 4-1 configuring embedded PL/SQL gateway. 2-1 disk space requirements. 3-16. B-31 Oracle Text requirement. 3-36. 4-29. 3-5. B-2 logging in to. 3-38. 3-33. 3-37. B-1 Oracle Application Server 11g (new). B-31 Application Express users controlling account availability. B-5 Oracle HTTP Server 11g. 3-3.sql. 4-12 stopping processes. 4-28 post installation tasks. 3-16. B-15. 4-32 running apxconf. 3-25. 2-1 development environment changing to runtime. 3-4. 4-13. 4-11.pl utility.sql. 4-26 installing other languages. 4-28. 4-19 copying images (when upgrading). 4-16 D DAD.sql. B-3 Application Express browser requirement. 2-4 pre-installation tasks. 3-22. 4-34 apxdvins. 3-34. 4-33 installing in other languages. 4-1 PL/SQL Web Toolkit requirement. B-31 HTTP server requirement. 4-3 configuring Oracle Application Server 11g. 4-31. 3-15. 4-2 enabling indexing of online Help. 2-3 patching. 3-22. 4-34 apxldimg. 3-1. B-5 dadTool. 4-16 Oracle HTTP Server. 4-1. 4-3 apxdevrm. B-4 apex_epg_config. 4-20 copying images (new installation).sql. 3-18. 2-2 database requirement. B-17. 4-13.sql. 3-25. 3-20. B-33 requiring password change. 3-18. 4-20 Oracle HTTP Server 11g (new). 2-2 installing. 3-36. 4-19 downloading from and configuring embedded PL/SQL gateway. 3-16. 1-4 SHARED_SERVERS parameter. 3-21. 4-2. 4-32 pre-installation tasks. A-6. 3-7 apxrtins. 4-33 ADMIN account changing password. 4-12 C configuring Oracle Application Server 11g. 3-40. 3-39. 3-34. B-15. 2-3 B browser requirement.Index A ACL fixing invalid. 3-5. 4-3 removing prior installation. 4-15. 4-31. 3-2.sql.sql. 3-34. 3-20. 2-2 E embedded PL/SQL gateway about. 4-15. B-33 apxchpwd. 2-3 getting started. 4-29. 3-22. 3-6 apexins. 3-39. B-2 XML DB requirement. 4-13. 4-34 disk space requirements. 1-4 location of images. 4-10 logging in to Application Express. B-3 Automatic Storage Management (ASM) shutting down. 3-38. 4-1 database requirement Application Express.

4-2. B-6. 1-5 steps. B-31 N network services about invalid ACL error. B-21 adding new MIME types. 4-19. 3-25 modifying httpd.conf. B-8. B-3 installing failures. 1-3 pre-installation tasks. 4-10. 3-24. 3-25 Oracle HTTP Server about. 3-32. 3-33. B-8. 1-4 shutting down instances. 4-24 online help not working. 3-34. 4-20 editing dads. A-5 not working if using a virtual host. 3-11.app. B-28 installing software. B-22 modifying marvel. B-24 installation changing ADMIN account password. 3-12. B-14. B-29 changing number of. 2-1 scenarios. B-8. 3-35. B-32 creating workspace manually. A-1 installation option full development environment. 3-18. 3-3. B-22 I images copying. 4-9.app. 1-6 overview. 4-1. 1-4 configuring. B-33 Oracle Application Server 10g editing dads. 4-13. 3-25 Oracle HTTP Server 9. 1-1 planning. B-15. 1-5 installing from database and configuring embedded PL/SQL gateway. B-19 copying images. 3-23. 1-5 downloading from OTN and configuring Oracle HTTP server. B-18. 4-16. A-1 G getting started Application Express. B-14. B-2 verifying validity. 3-34. 4-19. 4-28. 3-23. 4-11. B-19 modifying wdbsvr. B-1 with Oracle Real Application Clusters (Oracle RAC). 3-1. B-1 Oracle Technology Network (OTN) downloading from. 4-29.3 modifying wdbsvr. B-15 online Help enabling indexing in Oracle database 11gR2. 4-30. B-1 HTTP server requirement. 3-32. B-22 modifying dads. 3-20. A-1 other languages.F full development environment installing. 3-24. 4-1. 3-2. 4-15. B-7. 4-27. 4-16. 3-9. B-6 location of images. 4-31. 4-26. 1-1 process. 1-3. 3-33. B-24 modifications to support SQL Workshop. 3-31. 1-5 requirements. B-21 H HTTP Server choosing. 1-4 Oracle HTTP Server 11g configuring. B-29 Index-2 . 4-14. B-4 downloading from OTN and configuring embedded PL/SQL gateway. B-7. A-6 problems with Help index. 3-24. B-17. 3-25. 3-36.conf. 3-30. B-6 copying in new installation. B-30 viewing number of. 3-14. B-3 runtime environment. 3-3.conf. 3-25. 3-16. B-31 logging in to a workspace.0. B-2 O obfuscate password. 4-13.conf. 3-20. 3-29 granting connect privileges.conf modifications if running Oracle9i. 3-13. B-8. 3-27 new installation adding entry for Application Express. B-3 L listener stopping. B-21 Oracle Real Application Clusters (Oracle RAC) selecting an HTTP Server. 3-22. 3-14. B-16. 1-6 installing from database and configuring Oracle HTTP server. B-7. 4-29. B-24 copying when upgrading. 1-3. 2-2 httpd. A-6 Oracle Application Express creating users. 3-1 J JOB_QUEUE_PROCESSES. 4-11. B-1 log file. 4-16. B-15. 4-2 pre-installation tasks. B-22 configuring Oracle Application Server 10g. 4-19. B-7. 3-17. 3-3. 4-27. 4-12. B-7. 3-16.conf. B-12. 3-15. B-5 copying images directory. 4-1. 1-1. 4-28. 3-20.

3-31. 3-21 changing password for APEX_PUBLIC_ USER. 4-26. 2-4 shared_pool_size. A-5 online help issues. 3-23 download and install software. 4-29.Oracle Text default language scripts. 3-12. B-5 apxdevrm. 3-3. 3-5. 3-6 changing ADMIN account password. A-5 reviewing log file. 4-34 apxldimg. 3-1 OTN installing in other languages. 2-3 PL/SQL Web Toolkit. 3-1 prior installations removing. 3-9. 3-5. 3-19 enabling indexing of online Help.sql. 2-1 SHARED_SERVERS parameter. 2-2 database. B-6. 2-3 Oracle XML DB. 3-22. 3-30 enabling network services.sql. 3-7 overview. B-3 runtime environment about. 3-14. 3-8 updating images directory. 3-34 managing JOB_QUEUE_PROCESSES. 3-4. B-17. 3-5. B-24 copying images (when upgrading). 4-14. 3-39. 4-34 installing. 3-3. B-24 copying images directory. 3-32 pre-installation tasks. B-6. 3-22 updating images directory. 4-28. 3-22 unlocking APEX_PUBLIC_USER account. B-1 stopping processes. B-15. 3-35. 2-4 post-installation tasks configuring Oracle Application Server 11g. B-15 PL/SQL Web Toolkit requirement. 3-27 installing in other languages. 3-34. 3-18. 3-7 apxrtins. 3-31 logging in to Application Express. B-28 installing other languages. 3-20. 4-4 ORACLE_HTTPSERVER_HOME. 3-24 copying images directory. 3-5. B-7. 1-4 disabling. 3-4.sql. 3-25 configuring Oracle HTTP Server. 3-8 enabling. B-1 when downloading from OTN. 2-3 requirement. 3-33. 4-16 configuring Oracle HTTP Server. 3-31. 3-39. 3-5 configuring Oracle Application Server 11g. B-15. 3-22 copying images (new installation). 3-40. 4-19. 1-2 copying images. 3-20. 3-6 verifying HTTP server port. B-12. B-28 troubleshooting. 2-3 Oracle XML DB HTTP server about. 4-30. 2-3 HTTP server. 3-37. B-3 apxchpwd. 4-31. 2-2 JVM. 3-23 configuring embedded PL/SQL gateway. B-1 shutting down database. A-1 P password changing for ADMIN account. 3-16. B-15 U upgrade installation post installation tasks.sql. 3-19 restart processes. 3-24 copying images (when upgrading). B-32 Index-3 . 3-13. 4-32 R requirements. B-14. 3-6 apexins. 4-10. B-17. 3-7. 3-21. A-1 cleaning up after failed installation. 1-2 changing to development environment. 3-37.sql. 3-15 T translated version installing. B-5 copying images (new installation). B-12. 2-1 running apex_epg_config. 3-36.sql. 4-34 apxdvins.sql. 4-15. 3-13 OTN installation apex_epg_config. B-28 logging in to Application Express. A-1 images. B-12. 4-1. B-31 user accounts controlling account availability. 3-13 security considerations. 2-1 browser. B-33 creating. 3-13. B-3 S shared_pool_size changing. 3-17. 3-33. B-6 installing in other languages.sql. 4-32 upgrading about. 2-1 disk space. B-29 obfuscating passwords. 3-6 verifying HTTP server port. 1-1 pre-installation tasks backing up Oracle database. B-31 managing JOB_QUEUE_PROCESSES. B-4 obfuscating. 3-3. 3-24. 2-1 Oracle Text. 3-2 downloading from and configuring Oracle HTTP server. B-24 obfuscating password. 3-20. 3-19 downloading from and configuring embedded PL/SQL gateway.

4-13. 4-15. B-33 W wdbsvr. B-16. 3-18. 3-18. 4-15. 3-34. B-21 Web browser requirements. B-33 X XML DB requirement.app modifications if running Oracle HTTP Server 9. B-18. B-17.requiring password change.0. 3-16. B-31 logging in to. 3-36. 4-31. 2-3 Index-4 . 4-31. 4-29. 2-2 workspace creating. 3-36. B-7.3.

Sign up to vote on this title
UsefulNot useful