Why are changes in the CA PPM Tomcat's server.xml not retained post restart of PPM services?

Document ID : KB000012260
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We made changes in tomcat's /<TOMCAT INSTALL DIRECTORY>/tomcat-app-deploy/conf/server.xml file.

It was working fine until we found that it was reverted back to it's original state. 

We have neither upgraded CA PPM nor have we applied any CA PPM patches. 

Question:

Why are the changes we made in the tomcat's server.xml not retained?

Environment:
CA PPM all versions
Answer:

Whenever you restart the app server, the server.xml is overwritten by the deploy.xml file

This occurs also when you perform a "service deploy app"

So if changes were only made in the server.xml and not in the deploy.xml file, these changes will be overwritten on restart of app server.

To make the changes permanent, you should edit the deploy.xml file in the <clarity_install>/.setup/scripts/j2ee/tomcat folder.

 

 

Additional Information:

Note We don't recommend any changes to the CA PPM file structure as well as any third party tools which come with PPM .