Show TOC

Procedure documentationConfiguring Instances Locate this document in the navigation structure

 

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 (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   VM Environment   Custom value  .

  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 Note

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

      End of the note.

      Note 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.

      End of the note.
    • 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 (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.