Java CAPS JMS Reference

ProcedureTo Set the MS Control Utility Timeout Period

The MS Control Utility uses a default timeout period of five seconds for retrieving requested information, after which the utility exits and you see the message “Timeout to receive message from the server, exiting stcmsctrlutil API.” If this behavior should become a problem, you can include the -timeout flag with any command to set the MS Control utility's timeout period to a different value for that command only. Any command not including the -timeout flag uses the default value.

The example below sets the timeout period to 15 seconds, while obtaining a topic list from the journaler.

  1. Use the following command syntax to set the timeout period:


    stcmsctrlutil -j -tl -timeout 15