Deploying cartridges
Deploy a cartridge by copying the JAR file your Content Service or Session-enabled Content Service.
Procedure
- Package your cartridge into a JAR file.
- In the services\ folder of your Content Service or Session-enabled Content Service (if using), create a subfolder with a name of your choice.
- Copy the JAR file to this new folder.
- 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.