Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


7.4.6 Changing the port number of the Java debugger communication port

To change the port number of the Java debugger communication port, use the delete-system-property subcommand of the asadmin utility command to delete the port number before the change, and then use the create-system-properties subcommand to specify a new port number.

Prerequisites

Intended users

Procedure

  1. To acquire the setting value of the system property JAVA_DEBUGGER_PORT of the Java debugger communication port and verify the port number before the change, run the list-system-properties subcommand of the asadmin utility command.

    asadmin list-system-properties server_instance_name

    When this command is run, the result is displayed as follows:

    JAVA_DEBUGGER_PORT=29010
        :
    Command list-system-properties executed successfully.
    Reference note

    If the system property (JAVA_DEBUGGER_PORT) is specified, perform steps 2 and 3. If the system property is not specified, perform step 3.

  2. To delete the system property JAVA_DEBUGGER_PORT, run the delete-system-property subcommand of the asadmin utility command.

    asadmin delete-system-property --target server_instance_name JAVA_DEBUGGER_PORT

    When this command is run, the result is displayed as follows:

    Command delete-system-property executed successfully.
  3. To set a new port number for the system property JAVA_DEBUGGER_PORT, run the create-system-properties subcommand of the asadmin utility command.

    asadmin create-system-properties --target server_instance_name 
    JAVA_DEBUGGER_PORT=changed_port_number

    When this command is run, the result is displayed as follows:

    Command create-system-properties executed successfully.