Show TOC

Configuring InstancesLocate this document in the navigation structure

Use

This procedure enables you to manage Java instances. You can add and remove server processes, disable instances, or view and edit the JVM settings.

If you change the properties of an instance, the changes apply only to this instance.

Prerequisites

Start the Config Tool by double-clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory.

Procedure

Adding and Removing a Server Process

More Information: Adding and Removing Server Processes

Viewing and Editing the JVM Settings for a Specific Instance

More information: Configuring JVM Parameters

Enabling and Disabling an Instance

  1. From the tree structure, select the instance you want to configure.

  2. Select VM Environment .

  3. Select the Execute property.

    The value is set to true by default. Its function is to automatically start the specified instance during runtime of AS Java.

  4. In Custom value , enter false .

  5. Choose Apply Changes.

    To run an instance that has been stopped, set the value of the Execute property to true .

  6. In order the change to take effect, restart the AS Java.

Viewing or Editing the Debug Properties for an Instance

  1. From the tree structure, select the instance you want to configure.

  2. Choose Start of the navigation path VM Environment  Next navigation step  Custom value End of the navigation path.

  3. Enter the new value of the following settings:

    • Debuggable - the debug mode feature for the selected instance is enabled.

    • DebugMode - specifies whether the instance is in debug mode and if the debug port is open.

      Note

      When you enable debug mode for an instance, first make sure you have stopped all message-driven beans running on that instance.

      Note

      In case, your applications contain message-driven beans whose destination type is Topic , you also need to start the message-driven beans on another server process.

    • LoadBalanceRestricted - specifies whether the instance is part of the load balancing system.

    • DebugPort - specifies the JVM debug port. The default value depends on the instance number and server process index number.

      For example, if the instance number is 00 , the debug port is 50026 for server0 .

  4. Choose Apply Changes.

Viewing Instance Profile Constants

  1. From the tree structure, select the instance you want to configure.

  2. Select the Instance Profile tab and see information such as system name, instance name, instance number, operation system name, and so on.