How to: |
You can run iWay Service Manager (iSM) in a command shell to debug and troubleshoot any errors that may occur.
For more information on starting and stopping iSM in a command shell, see Operations and Monitoring.
On Windows, the iwsrv command starts iSM in a command window for debugging purposes. For reference, the following topic includes the full syntax of the iwsrv command.
Navigate to the iWay home bin directory. For example, on Windows, if iWay is installed in C:\Program Files\iWay60, go to
C:\Program Files\iWay60\bin
The syntax for the iwsrv command, which starts iWay Service Manager in a command window on Windows is
iwsrv [configuration|base] [-s service|start] [-l launch] [options]
where:
Is the name of the server configuration that is loaded for this instance. The default value is base.
Is the name of the service that is executed. Valid values are:
start: Starts the service. The default value is start.
stop: Stops the service.
Specifies the launch method. Valid values are:
java: Launches using Java that is running in a separate process.
script file: Launches using a script file.
Specify tracing or server back-up information. Valid values are:
-c: Turns tracing on. In this mode, you can display useful error messages on the console. For example, you can display a message that says the Java Runtime Environment (JRE) is not properly installed.
-d: Limits tracing to debug only.
-b: Indicates that iWay Service Manager is a back-up server.
-h: Indicates the iWay Service Manager home directory.
The following command starts a server configuration named test and sends traces to the command window as print lines:
iwsrv test -c
iWay Software |