Update an existing service package using the CLI

Perform this task when you want to overwrite an existing service package in the repository. For example, you made a modification to a service binary and would like to replace the existing serivce binary with the new one without disrupting existing clients or workload. In this case, when you redeploy a service package that is being used by an enabled application, workload continues to run with the next scheduled task using the updated service package.

  1. Compile your new service binaries and add them to the service package.
  2. At the command prompt, change your current directory to the directory where the service package is located.
    Note:

    For the following step, ensure that the package name matches the original package name in the repository.

  3. Deploy the service package:

    For example:

    soamdeploy add SampleService -p SampleService.zip -c /SampleApplications/SOASamples

  4. Verify that the workload is still running (applicable to long-running tasks):

    For example:

    soamview session SampleApp