Broken Pipe Errors which crashes the REST API access
search cancel

Broken Pipe Errors which crashes the REST API access

book

Article ID: 143373

calendar_today

Updated On:

Products

CA Service Desk Manager SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager - Mobile Application CA Service Desk Manager - Xtraction

Issue/Introduction

We are not sure why the errors are surfacing on that specific object. 

Environment

Release : 17.0

Component : Svc Desk Web Services

Resolution

In this specific example, the error was happening on the service   "sa_script_role_join_scriptService". Similar approach can be followed in case an error is seen on some other service too.


  
1) Backup this file CATALINA_BASE_REST\webapps\caisd-rest\WEB-INF\beans.xml and comment out the service entry causing the exception

 a) Look for below
 <!--The sa_script_role_join_script bean service-->
  <bean autowire="default" class="com.ca.ServicePlus.rest.sdm.service.sa_script_role_join_scriptService" id="sa_script_role_join_scriptService"/>

 b) Put a comment on the second line to look like below:
 <!--The sa_script_role_join_script bean service-->
 <!--    <bean autowire="default" class="com.ca.ServicePlus.rest.sdm.service.sa_script_role_join_scriptService" id="sa_script_role_join_scriptService"/>   -->

 c) Save

2) Backup this file CATALINA_BASE_REST\conf\server.xml and 

 a) look for below entry:
  <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
  
 b) change the value of autoDeploy to false so it looks like:
   <Host appBase="webapps" autoDeploy="false" name="localhost" unpackWARs="true">
  
 c) save
 
3) Restart REST Tomcat. 

 

Additional Information

Repeat the above process if there is an updated caisd-rest.war file that is obtained via a patch/upgrade, and/or if REST is redeployed again.