Skip Headers

Oracle® Application Server Forms Services Deployment Guide 10g Release 2 (10.1.2) B14032-03 |
| Library | Product | Contents | Index

Previous | Next |

# 4.2 Enterprise Manager and Oracle Forms

The Enterprise Manager Application Server Control Console user interface that is shipped with Forms Services is a Web-based tool that you launch from your default browser. The default URL is:

    http://<computer.domain>:1156

Note: For information on how to launch Enterprise Manager, see the Oracle Enterprise Manager Advanced Configuration.

For Forms Services, use the Web-based Enterprise Manager Application Server Control Console to:

- Monitor metrics for a Forms Services instance. See Chapter 10, "Monitoring Forms Services Instances" for more information.

- Monitor metrics for user sessions. See Chapter 10, "Monitoring Metrics for User Sessions" for more information.

- Allow or deny new user sessions. See Chapter 4, "Allowing New Users Sessions" and Chapter 4, "Disabling New User Sessions" for more information.

- Terminate user sessions. See Chapter 4, "Terminating a User Session on a Forms Services Instance" for more information.

- Configure parameters for a Forms Services instance. See Chapter 4, "Configuring Parameters with Application Server Control Console" for more information.

- Configure Forms Trace and monitor trace metrics. See Chapter 8, "Configuring Forms Trace" and Chapter 8, "Monitoring Forms Services Trace Metrics" for more information.

- Configure multiple environment files. See Chapter 4, "Configuring Environment Variables with Enterprise Manager" for more information.

- Use available Forms Services utilities and runtime pooling. See Chapter 10, "Forms Services Utilities" and Chapter 10, "Tuning OracleAS Forms Services Applications" for more information.

## 4.2.1 Using Enterprise Manager Application Server Control to Manage Forms Sessions

By default, Enterprise Manager Application Server Control provides some information about Forms which allows you to centrally modify the configuration files. But you won't experience the full functionality that Enterprise Manager can provide for Forms unless you do the following:

1. In the Forms configuration file (formsweb.cfg) make sure the following variable is set in the default section.

   `em_mode=1`

   This will let Application Server Control show user information for each running Forms application. Only sessions created after setting `em_mode` to 1 will be shown. By default, this value is `0,` which is off.

2. In the Forms configuration file (formsweb.cfg) make sure the following variable is set. You can either set it in the default section or in a specific application section. As with step 1, you can set this variable using Application Server Control:

   `allow_debug=true`

   This will let you turn tracing on and off.

3. (Windows only) For the middle tier user that installed Oracle Application Server, you need to give them the "Log on as a batch job" privilege. Logon as either that user, or another user with administrator privileges. Select Administrative Tools in the Control Panel. Then select Local Security Settings| Local Policies | User Right Assignment. Add the username of the user who installed Oracle Application Server.

4. (Windows only) As the user who installed Oracle Application Server or as a user with administrator privileges, bring up the Windows Services, which can be found in the Control Panel. Find the Oracle/xxxxxx/ProcessManager service. Right-click it and choose Properties. In the Logon tab, make sure Allow service to interact with desktop is selected.

5. (Windows only) You will need to restart this service. Note that even after it is restarted, it can take up to several minutes for the changes to take effect in Application Server Control.

## 4.2.2 Configuring Enterprise Manager Grid Control to Manage Forms Services

When you install Forms Services, the Oracle Universal Installer automatically edits Enterprise Manager Grid Control targets.xml file. The targets.xml file contains a list of all the services to be managed by Enterprise Manager.

The first time you use Enterprise Manager to monitor Forms Services, you must perform the following steps for each Forms Services instance to be monitored.

See the Enterprise Manager documentation for information on how to use the Application Server Control Console to access the Enterprise Manager Administration page for a node. (You will need to provide an administrator's username and password.)

To configure Enterprise Manager Grid Control to Manage Forms Services:

1. On the Agent Administration page, all services that are being monitored are listed under the Agent Monitored Targets heading.

2. Select the radio button next to the Forms instance to be configured for Enterprise Manager.

3. Click Edit.

4. Provide the ORACLE_HOME and URL for the Forms instance.

5. Click OK.

   Note: See the Enterprise Manager help system for more information about other tasks that you can complete on this page.

## 4.2.3 Accessing Forms Services with Application Server Control Console

To perform most management tasks for a Forms server using Application Server Control Console, you start by navigating to the Forms Home page for the Forms Server in Application Server Control Console.

To navigate to the Forms Home page for a Forms Server in the Application Server Control Console:

1. Using Application Server Control Console, navigate to the home page for the application server that contains Forms server you want to manage.

   For introductory information about using the Enterprise Manager Application Server Control Console, see "Introduction to Administration Tools" in the Oracle Application Server Administrator's Guide.

2. In the System Components section on the application server home page, click the link for the Forms server that you want to manage. This displays the Forms home page for the Forms server in the Application Server Control Console.