Configuring and Managing Java Virtual Machines 10-13
10.8.3 Managing Parameters
Use Fusion Middleware Control to manage parameters within a named configuration. You can add, edit, or delete parameters using Fusion Middleware Control.
To edit a parameter in a configuration section: 1.
From the JVM Configuration region, select the row of the configuration section that contains the parameters you want to edit.
2. Select the row of the parameter you want to edit. Enter the Value and Comments.
3. Click Apply to save the changes or Revert to discard them.
To add a parameter to a configuration section: 1.
In Fusion Middleware Control, from the JVM Configuration region, select the configuration section row for which you want to add a parameter.
2. Click Add to add a new parameter.
The Add dialog box is displayed.
3. Enter the Name, Value and Comments for the parameter.
4. Click Create to add the parameter.
5. Click Apply to save the changes or Revert to discard them.
To delete a parameter in a configuration section: 1.
In Fusion Middleware Control, from the JVM Configuration region, select the configuration section from which you want to delete a parameter.
2. Select the row that contains the parameter you want to delete.
3. Click Delete.
4. Click Apply to save the changes or Revert to discard them.
10.8.4 JVM Configuration Parameters and Default Values
Table 10–4 describes the JVM configuration parameters and their default values.
Note: You cannot delete the Default configuration section.
Table 10–4 JVM Configuration Parameters
Parameter Description
Default Value
Maximum Sessions per
JVM Specifies the maximum number of concurrent
Oracle Forms sessions the default JVM will serve before a new JVM is spawned.
65535 Classpath
When you specify a classpath, it will override the system classpath or any classpath specified in your
environment. ORACLE_
HOMEjdkbinjava JVM Options Enter any valid options to pass to the JVM. Refer to
the Sun Java documentation for a list of valid JVM startup parameters.
Null
10-14 Forms Services Deployment Guide
10.8.5 Starting and Stopping JVM Controllers with Fusion Middleware Control
Fusion Middleware Control is the recommended tool for managing Oracle Forms Services, such as starting, stopping, and restarting a JVM controller.
If a JVM controller is down, you can start it. If a JVM controller is already running, you can restart it without first having to manually stop it. Fusion Middleware Control does
this step for you.
To access the JVM Controller page: 1.
Start the Enterprise Manager Fusion Middleware Control.
2. From the Forms home page, select JVM Controllers.
The JVM Controllers page Figure 10–5
is displayed.
Figure 10–5 JVM Controller Page
To start a JVM controller that is not running: 1.
From the Forms menu, select JVM Controllers. The JVM Controllers page is displayed.
Log Directory
Leave Log Directory blank to use the log location for the default JVM controller. If any other
directory is set, the log file cannot be viewed through Enterprise Manager.
ORACLE_ INSTANCEFRCompone
ntfrcommontools jvmlog
Logging Specifies whether logging is enabled or not. Valid
values: On, Off. On
Comment Add any comments about this default JVM in this
text area. Null
Note: Ensure that users have stopped the forms sessions that are
using the JVM controller before you stop or restart the JVM. Users may want to restart sessions when the JVM is restarted.
Table 10–4 Cont. JVM Configuration Parameters
Parameter Description
Default Value
Configuring and Managing Java Virtual Machines 10-15
2.
Select the JVM controller that you want to start. A JVM that is not running is indicated by a red, down arrow.
3. Click Start.
When the JVM controller has started, a green, up arrow Figure 10–5
is displayed in the Status.
To restart a running JVM controller: 1.
From the Forms menu, select JVM Controllers. The JVM Controllers page is displayed.
2.
Select the JVM controller to be restarted.
3. Click Restart.
4. Click Yes on the Confirmation dialog.
The JVM Controller page reappears.
When the JVM controller has restarted, a green, up arrow is displayed in the Status.
To stop a JVM Controller 1.
From the Forms menu, select JVM Controllers. The JVM Controllers page is displayed.
2.
Select the running JVM controller that you want to stop, indicated by a green, up arrow.
3. Click Stop.
4. Click Yes on the Confirmation dialog.
When the JVM controller has been stopped, a red, down arrow Figure 10–5
is displayed in the Status.
To view additional details of a JVM Controller 1.
From the Forms menu, select JVM Controllers. The JVM Controllers page is displayed.
2.
Click the plus symbol next to the JVM controller. The row is expanded to display additional details
Figure 10–5 of the JVM controller.
10.8.6 Forms Configuration File Settings