ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

PDM_publish command execution pushes default configuration to web.xml file

book

Article ID: 213199

calendar_today

Updated On:

Products

CA Service Desk Manager

Issue/Introduction

When customer runs a pdm_publish command(on standby server) to implement their schema modification, the process breaks the REST App servers.  When they run pdm_publish, it changes the web.xml in the webapps under the rest folder. This is causing their Web Apps to fail.

 

Cause

When customer runs a pdm_publish command(on standby server) to implement their schema modification, the pdm_publish process resets web.xml file in webapps servers back to its default state, and they have to restore the web.xml from a backup to remediate for the missing CORS information. The change to the web.xml file appears to happen after restarting the daemon on the integration server.

Environment

Release : 17.1

Component : SERVICE DESK BUSINESS OBJECTS

Resolution

PDM_publish process does reset the web.xml to a default configuration via web.xml.tpl. The process causes the web.xml.tpl file to push its content into web.xml  that is also located in C:\Program Files (x86)\CA\Service Desk Manager\site\rest

The solution is to modify the web.xml.tpl file to contain the CORS data so when web.xml.tpl file push its content, the correct information will be populated into all web.xml files