delete

The solutionManager delete command removes .jar and manifest (.mf) files that remain on the server after you undeploy a solution.

Purpose

If you undeploy a solution, the server.xml file is updated to remove the solution, but the .jar and manifest (.mf) solution files remain on the server. The solutionManager script detects these files and prevents redeployment of the solution on a production server unless the solution version is increased. If you increase the version number before deploying the updated solution, the files from the previous version are ignored. An attempt to deploy a solution with the same version as the previous solution results in an error. You can run the delete command to remove the files from the previous solution and deploy the solution again without changing the solution version.

On a development server, the redeploy command replaces an existing solution with a new copy of the solution using the same version.

Restriction: Stop the server before running the solutionManager delete command.

Syntax

solutionManager delete solution_version 

Description

Table 1. Mandatory parameter for solutionManager delete
Mandatory parameter Description
solution_version Provide the solution name that includes the version. For example: OilServiceSolution-1.0.