Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Managing Packages | Deleting a Package
 
Deleting a Package
When you no longer need the services and files in a package, you can delete the package. Deleting a package removes the package and all of its contents from the Package Navigator view.
When you delete a package from Designer, Integration Server saves a copy of the package. If you later want to recover the package and its contents, contact your server administrator. Only Integration Server Administrator users can recover a package. For more information about recovering packages, see webMethods Integration Server Administrator’s Guide.
Before you delete a package, make sure that:
*Other users or other services do not use (depend on) the services, templates, IS document types, and schemas in the package. You can use the Package Dependencies option to identify other services that are dependent on a service in a package that you want to delete. For more information, see Identifying Package Dependencies.
*All elements in the package that you want to delete are unlocked, or locked by you. If the package contains elements that are locked by others or system locked, you cannot delete the package.
*To delete a package
1. In Package Navigator view, select the package you want to delete.
2. Click Edit > Delete.
Note:
When you delete a package, Integration Server does not delete the jar files in the code/jars and code/jars/static directory. The jar files in code/jars folder are loaded by the Package class loader and jars files in code/jars/static folder are loaded by the Integration Server class loader. These jar files are locked by Integration Server and can only be deleted when Integration Server is shut down. If you install a new version of a package without removing the jar files for the old version of the package, Integration Server uses the old jar files with the new package version. This can result in inconsistent or unexpected behavior. To avoid this problem, before installing a new version of a deleted package, shut down Integration Server and delete any jar files left in the Integration Server_directory / instances/instanceName/ packages/packageName/code/jars and Integration Server_directory / instances/instanceName/ packages/packageName/code/jars/static directories.