Documentation Center

Deploying cartridges

Deploy a cartridge by copying the JAR file your Content Service or Session-enabled Content Service.

Procedure

  1. Package your cartridge into a JAR file.
  2. In the services\ folder of your Content Service or Session-enabled Content Service (if using), create a subfolder with a name of your choice.
  3. Copy the JAR file to this new folder.
  4. Reinstall the Content Service or Session-enabled Content Service by doing one of the following:
    • If you installed the service using the installService.ps1 PowerShell cmdlet, uninstall it by running uninstallService.ps1. Then run installService.ps1 again, with the same parameter-value pairs you used originally.
    • If you installed the service using the start.ps1 PowerShell cmdlet, kill the process. Then run start.ps1 again, with the same parameter-value pairs you used originally.
    • If you installed the service using the start.sh shell command, uninstall it by running stop.sh. Then run start.sh again, with the same parameter-value pairs you used originally.

What to do next

Configuring cartridges