
- •Contents
- •Send Us Your Comments
- •Preface
- •1 Introduction to iSQL*Plus
- •What is iSQL*Plus?
- •iSQL*Plus Architecture
- •iSQL*Plus User Interface
- •Oracle HTTP Server
- •Oracle9i
- •2 Configuring iSQL*Plus
- •System Requirements
- •Web Browser (client tier)
- •Oracle HTTP Server (middle tier)
- •Oracle9i (database tier)
- •Installation
- •Configuring the Client Tier
- •Adding MIME Types
- •Adding Proxy Server Exceptions
- •Configuring the Middle Tier
- •Configuring the iSQL*Plus Server
- •Defining a Connection Identifier
- •Setting the iSQL*Plus Session TimeOut
- •Changing the Default Cascading Style Sheet
- •Enabling or Disabling iSQL*Plus
- •Configuring the Oracle HTTP Server
- •Testing the Oracle HTTP Server Configuration File
- •Starting and Stopping the Oracle HTTP Server
- •Configuring the Database Tier
- •iSQL*Plus Security
- •Using Administration Privileges
- •Enabling User Security
- •Adding Entries to an Oracle HTTP Server Authentication File
- •Logging In Using Oracle HTTP Server Authentication
- •Security Usage Notes
- •Configuring Globalization Support
- •Web Browser - client tier:
- •Oracle HTTP Server - middle tier:
- •Oracle9i - database tier:
- •3 The iSQL*Plus User Interface
- •The iSQL*Plus Log In Screen
- •Help Icon
- •Username:
- •Password:
- •Connection Identifier:
- •Privilege:
- •Clear
- •The iSQL*Plus Work Screen
- •Password Icon
- •Log Out Icon
- •Help Icon
- •Enter statements:
- •Script location:
- •Browse...
- •Load Script
- •Execute:
- •Output:
- •Clear Screen
- •Save Script
- •The Change Password Screen
- •Help Icon
- •Username:
- •Old password:
- •New password:
- •Retype new password:
- •Change Password
- •Clear
- •Cancel
- •4 Using iSQL*Plus
- •Running iSQL*Plus
- •Entering Statements
- •Loading Scripts
- •Entering Substitution Variables
- •The Define Substitution Variables Screen
- •Password Icon
- •Log Out Icon
- •Help Icon
- •Define Substitution Variables
- •Submit for Execution
- •Cancel
- •Creating Dynamic Reports
- •Using SET and COLUMN Commands
- •Getting Help
- •Exiting iSQL*Plus
- •5 Command Reference
- •SQL*Plus Command Summary
- •@ (“at” sign)
- •@@ (double “at” sign)
- •/ (slash)
- •ARCHIVE LOG
- •ATTRIBUTE
- •BREAK
- •BTITLE
- •CLEAR
- •COLUMN
- •COMPUTE
- •CONNECT
- •COPY
- •DEFINE
- •DESCRIBE
- •DISCONNECT
- •EXECUTE
- •HELP
- •LIST
- •PROMPT
- •RECOVER
- •REMARK
- •REPFOOTER
- •REPHEADER
- •SHOW
- •SHUTDOWN
- •START
- •STARTUP
- •TIMING
- •TTITLE
- •UNDEFINE
- •VARIABLE
- •WHENEVER OSERROR
- •WHENEVER SQLERROR
- •SQL*Plus Error Messages and Codes
- •iSQL*Plus Error Messages
- •COPY Command Messages
- •PRODUCT_USER_PROFILE Table
- •Creating the PUP Table
- •PUP Table Structure
- •Description and Use of PUP Columns
- •PUP Table Administration
- •Disabling SQL*Plus, SQL, and PL/SQL Commands
- •Creating and Controlling Roles
- •Disabling SET ROLE
- •Disabling User Roles
- •Glossary
- •Index

Configuring the Middle Tier
To configure the proxy exceptions setting in Netscape Navigator 4.7 for Windows
1.Select Preferences from the Edit menu.
2.Select Proxies from the Advanced category.
3.Select the Manual proxy configuration radio button.
4.Click View. The Manual proxy configuration dialog is displayed.
5.Enter the Oracle HTTP Server domain for which you do not want to use a proxy in the Exceptions pane.
To configure the proxy exceptions setting in Microsoft Internet Explorer 5.0
1.Select Internet Options from the Tools menu.
2.Click Lan Settings in the Lan Settings pane on the Connections tab.
3.Click Advanced in the Proxy Server pane. This is only available if Use a proxy server is selected.
4.Enter "*." followed by the Oracle HTTP Server domain for which you do not want to use a proxy in the Exceptions pane. For example, to enter an exception for the Oracle HTTP Server domain, host.domain, you must enter *.host.domain.
Configuring the Middle Tier
The Oracle HTTP Server and the iSQL*Plus Server are installed on the middle tier during Oracle9i installation. This section discusses configuration options for the middle tier. Specific topics discussed are:
■
■
Configuring the iSQL*Plus Server
Configuring the Oracle HTTP Server
Configuring the iSQL*Plus Server
The iSQL*Plus Server is installed during Oracle9i installation on the middle tier. You can:
■Define connection identifiers
■Set the iSQL*Plus session timeout behavior
■Change the appearance of iSQL*Plus screens by modifying the cascading style sheet
■Enable/disable the iSQL*Plus Server
2-4 iSQL*Plus User’s Guide and Reference

Configuring the Middle Tier
Defining a Connection Identifier
You can create new connection identifiers for use in iSQL*Plus. The new definitions are made in the tnsnames.ora file on the middle tier machine which is running the iSQL*Plus Server.
To create a new connection identifier for iSQL*Plus
1.Log in to the middle tier machine which is running the iSQL*Plus Server as the system administrator.
2.Change directory to %ORACLE_HOME%\network\admin
3.Open tnsnames.ora in a text editor.
4.Add a new line to the end of file in the form:
connection identifier = (DESCRIPTION=(ADDRESS_
LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=www.oracle.com)
(PORT=1521)))(CONNECT_DATA=(SID=orashop)))
See the Oracle Net Services Administrator’s Guide for more information about defining connection identifiers.
Setting the iSQL*Plus Session TimeOut
Timing out iSQL*Plus sessions frees up resources for other users. The timeout settings determine whether sessions will timeout, and how long before they timeout. By default, an iSQL*Plus session times out after 60 minutes. You can edit the iSQL*Plus configuration file, isqlplus.conf, to change the lines affecting the timeout behavior. The syntax of the two lines to change in the configuration file is:
iSQLPlusTimeOut {On|Off} iSQLPlusTimeOutInterval {n}
Where n is the number of whole minutes of inactivity until the session times out. The default is 60.
When a user tries to use a timed out iSQL*Plus session, the Log In screen is displayed and the user is prompted to log in again. The iSQL*Plus timeout feature is independent of the Oracle HTTP Server keep alive settings.
Changing the Default Cascading Style Sheet
iSQL*Plus uses a cascading style sheet to control the format of the user interface. You can replace the default style sheet with your own style sheet. It is recommended that you do not delete the default style sheet, but rename it so that you can revert to it if necessary.
Configuring iSQL*Plus 2-5

Configuring the Middle Tier
To replace the default cascading style sheet
1.Navigate to the %ORACLE_HOME%\sqlplus\admin\iplus\ directory.
2.Rename the existing default style sheet from iplus.css to another name.
3.Copy your new style sheet to the %ORACLE_HOME%\sqlplus\admin\iplus\ directory.
4.Rename your new style sheet to iplus.css.
5.You may need to refresh your browser display to see the effects of your new style sheet.
Enabling or Disabling iSQL*Plus
You can edit the Oracle HTTP Server configuration file to disable iSQL*Plus.
To disable the Oracle HTTP Server
1.Stop the Oracle HTTP Server.
2.Change directory to the Oracle HTTP Server configuration directory by entering:
cd %ORACLE_HOME%\Apache\Apache\conf
3.Open the oracle_apache.conf configuration file.
4.Comment out the isqlplus.conf include line by inserting a # at the beginning of the line as follows:
# include "ORACLE_HOME\sqlplus\admin\isqlplus.conf"
Where ORACLE_HOME is the hard-coded path of your Oracle home directory.
5.Save your oracle_apache.conf file.
6.Check your edits by parsing the edited configuration file. See "Testing the Oracle HTTP Server Configuration File"
7.When you next start the Oracle HTTP Server, iSQL*Plus is disabled.
To re-enable iSQL*Plus, reverse the edit to uncomment the include line in oracle_ apache.conf.
2-6 iSQL*Plus User’s Guide and Reference