Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
2.15 Mб

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_



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

Соседние файлы в папке Oracle 9.0.1