Command line examples

This section includes examples of service requests that are submitted using management server commands.

The following syntax uses the java -jar com-ibm-nex-client-tool.jar command to run a service, where ..\..\..\..\Java60\jre\bin\ is a relative path from the folder that contains the com-ibm-nex-client-tool.jar file to the folder that contains a Java 6.0 JRE installation.

..\..\..\..\Java60\jre\bin\java -jar com-ibm-nex-client-tool.jar -s service1:1.0.0 -u http://localhost:8080/server/job

The following syntax uses the runservice script to run a service where the management server does not use the default URL.

runservice -s service1:1.0.0 -u http://server1:8080/server/job

The following syntax uses the runservice script to run multiple services.

runservice -s service1:1.0.0,service2:1.2.0

The following syntax uses the runservice script to run a service with a space in the service name.

runservice -s "service one":1.0.0