Oracle9i Application Server Using the PL/SQL Gateway Release 1.0.2 Part Number A86263-02 |
|
The following are the recommended and minimum requirements for installing and running the PL/SQL Gateway:
Operating Systems
Oracle Database
Note The PL/SQL Gateway requires the Oracle 8.1.7 client libraries to be installed in the same Oracle Home as the PL/SQL Gateway. If these libraries are installed, you can still run the PL/SQL Gateway against remote Oracle 8.0.5 or above databases. For example, you can use the PL/SQL Gateway to run PL/SQL procedures installed in a remote 8.0.5 database.
Web Listener
Web Browsers
Before you install the PL/SQL Gateway using the Oracle9i Application Server v1.0 Oracle Universal Installer, you must satisfy the following prerequisite requirements:
To begin the Oracle Universal Installer, execute the runInstaller application located on your product CD or stage area. Follow the instructions in each step of the installation application, including choosing a directory where you want to install Oracle9i Application Server v1.0.2. This install directory will be referred to as <ORACLE_HOME> after you choose.
After installation, you must manually install additional required packages using the owaload.sql script.
@owaload.sql log_file
where
log_file is the installation log file.
owaload.sql installs the PL/SQL Web Toolkit packages into the SYS schema. It also creates public synonyms and makes the packages public so that all users in the database have access to them. Therefore, only one installation per database is needed.
Starting with Oracle 8.1.7 and Oracle9i Application Server v1.0.1, there are a new set of PL/SQL Web Toolkit packages which have additional functionality in them.
Note that Oracle Portal 3.0 depends on the new PL/SQL Web Toolkit packages.
If your installation does not have OAS and you were previously running Oracle9i Application Server or WebDB listener 2.5 and below, you should drop the schema where the old PL/SQL Web Toolkit packages were installed. The new PL/SQL Web Toolkit packages installed in SYS will work. More than one PL/SQL Web Toolkit package installations ay result in problems. Before dropping the schema, verify there is no user data (other than the PL/SQL Web Toolkit packages) in the schema.
The new PL/SQL Web Toolkit packages shipped with Oracle 8.1.7 and Oracle9i Application Server v1.0 many enhancements and are recommended for installation.
If the new PL/SQL Web Toolkit packages have been installed (either automatically or manually) and you were previously running OAS, note that the 8.1.7 install/upgrade or manual install for mod_plsql will install new PL/SQL Web Toolkit packages in the SYS schema and recreate PL/SQL Web Toolkit public synonyms to reference these new packages. But, if you face issues with running the OAS PL/SQL Cartridge, you will need to recreate the older public PL/SQL Web Toolkit package synonyms. To recreate the old public synonyms do the following:
drop public synonym OWA_CUSTOM; drop public synonym OWA_GLOBAL; drop public synonym OWA; drop public synonym HTF; drop public synonym HTP; drop public synonym OWA_COOKIE; drop public synonym OWA_IMAGE; drop public synonym OWA_OPT_LOCK; drop public synonym OWA_PATTERN; drop public synonym OWA_SEC; drop public synonym OWA_TEXT; drop public synonym OWA_UTIL; drop public synonym OWA_INIT; drop public synonym OWA_CACHE; drop public synonym WPG_DOCLOAD;
create public synonym OWA_CUSTOM for OWA_CUSTOM; create public synonym OWA_GLOBAL for OWA_CUSTOM; create public synonym OWA for OWA; create public synonym HTF for HTF; create public synonym HTP for HTP; create public synonym OWA_COOKIE for OWA_COOKIE; create public synonym OWA_IMAGE for OWA_IMAGE; create public synonym OWA_OPT_LOCK for OWA_OPT_LOCK; create public synonym OWA_PATTERN for OWA_PATTERN; create public synonym OWA_SEC for OWA_SEC; create public synonym OWA_TEXT for OWA_TEXT; create public synonym OWA_UTIL for OWA_UTIL; create public synonym OWA_INIT for OWA_CUSTOM; create public synonym OWA_CACHE for OWA_CACHE; create public synonym WPG_DOCLOAD for WPG_DOCLOAD;
If you have an OAS installation in which the new PL/SQL Web Toolkit packages were never installed and choose to use Oracle9i Application Server as well, it is recommended that you install the new PL/SQL Web Toolkit packages. If you decide to continue using the older PL/SQL Web Toolkit packages, in order to use Oracle9i Application Server mod_plsql, you must run the following SQL statements (Note: These statements are already a part of the new PL/SQL Web Toolkit package install and are required only if you have never installed the new PL/SQL Web Toolkit packages and choose to continue using the older PL/SQL Web Toolkit packages).
wpiutl.sql
wpgdocs.sql
wpgdocb.sql
These steps will install the required packages needed to run mod_plsql with an older PL/SQL Web Toolkit package installation. In this configuration, you will not be able to make use of some of the new features in the new PL/SQL Web Toolkit packages.
The Oracle9i Application Server installation creates configuration files that you can edit, including the following that affect the PL/SQL Gateway:
The apachectl is used to start and stop Oracle HTTP Server on Solaris. It is located at:
<ORACLE_HOME>/Apache/Apache/bin/apachectl
Inside this file, there are three parameters that affect the PL/SQL Gateway:
On Windows NT, the Oracle HTTP Server is installed as a service. To aceess the serive, click Start->Settings->Control Panel->System. Click the Environment tab, then create a System variable called WV_GATEWAY_CFG that points to the
configuration file.
Note If you want to have the PL/SQL Gateway running in another Oracle Home, remember to change both the ORACLE_HOME and LD_LIBRARY_PATH settings.
This configuration file defines the behavior of Oracle HTTP Server (powered by Apache). You can set your port number as well as other server settings. It is located at:
<ORACLE_HOME>/Apache/Apache/conf/httpd.conf
This configuration file describes settings for the the PL/SQL Gateway module. It is located at:
<ORACLE_HOME>/Apache/modplsql/cfg/plsql.conf
There settings are configurable:
This configuration file describes settings for the the PL/SQL Gateway module. It is located at:
<ORACLE_HOME>/Apache/modplsql/cfg/wdbsvr.app
This is the main PL/SQL Gateway configuration file. It contains all the DAD information. Please do not edit this file directly. Use the PL/SQL Gateway configuration page, which you can access through your browser as shown below.
To access to the PL/SQL Gateway configuration page, enter the following URL in your Web browser:
http://<hostname>:<port>/pls/DAD/<admin_path>/gateway.htm
where:
<hostname> is the machine where the application server is running.
<port> specifies the port at which the application server is listening. If omitted, port 80 is assumed.
<admin_path> specifies the URL path element that identifies an admin page. The default is admin_. For example, if you specify the default of admin_, the following URL will invoke the PL/SQL Gateway configuration page, given that the invoking user is listed in the administrators configuration setting:
http://www.myserver.com/pls/admin_/gateway.htm
Configuration settings are protected by the administration security settings. The web administration page can only be invoked by those users whose user names appear in the Administrators setting of the configuration file. See "Configuring the PL/SQL Gateway" for more information.
The Oracle HTTP Listener configuration file includes the modplsql configuration file plsql.conf. The contents of plsql.conf are:
# # Directives added for the PL/SQL Gateway # LoadModule plsql_module %APACHE_HOME%/modplsql/bin/modplsql.so # # Enable handling of all virtual paths beginning with "/pls" by mod-plsql # <Location /pls> SetHandler pls_handler Order deny,allow Allow from all </Location>
To start the Apache listener, type:
<ORACLE_HOME>/Apache/Apache/bin/httpdsctl start
To start the Apache listener with SSL. support, type:
<ORACLE_HOME>/Apache/Apache/bin/httpdsctl startssl
To stop the Apache listener, type:
<ORACLE_HOME>/Apache/Apache/bin/httpdsctl stop
|
![]() Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|