Application Servers - Apache Tomcat - Error - Undeploying WARs fails with error - Unable to delete war The continued presence of this file may cause problems

Description

CAST AIC-Portal  and Report Generator WARs are not getting undeployed and throwing the error - FAIL - Unable to delete [war]. The continued presence of this file may cause problems, as shown below :

Observed in CAST AIP

ReleaseYes/No
7.3.xN/A
7.2.xN/A
7.0.xN/A

Observed on RDBMS

RDBMSYes/No
Oracle ServerN/A
Microsoft SQL ServerN/A
CSS2N/A
CSS1N/A

Step by Step Scenario

  1. Launch the tomcat manager
  2. click on Undeploy Button for the application you wish to undeploy
  3. Receive error - FAIL - Unable to delete [war]. The continued presence of this file may cause problems

Action Plan

To avoid the error please follow the below steps :

  1. Open context.xml from <tomcat_installation_dir>/conf folder and modify the file to match the below:
  2. Re-start the tomcat service

Impact on Analysis Results and Dashboard

N/A

Notes/comments

This is not an error message from the CAST components. The solution in this page has been taken from internet.

Related Pages