Unable to modify the event rules notification actions even with administration access.

Document ID : KB000008940
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Issue on updating the event rules notification actions after creating

Environment:
CA Service Catalog 14.1CA Service Catalog 17.0
Cause:

Update of the event action was not saving the updated content. Noted that the POST request to the tomcat was throwing an HTTP 400 Error

Noted that the  maxHttpHeaderSize value is referred to shortened value"2048"

Resolution:

Please follow the below steps to correct the value of the parameter in server.xml file

1. Login to the Catalog server

2. Go to $USM_HOME$\view\conf

3. Edit the file named 'server.xml'

4. Search for below connector which holds the value of maxHttpHeaderSize

For example: Update below connector

<Connector URIEncoding="UTF-8" compressableMimeType="text/html,text/plain,text/xml,text/css,text/javascript,image/png,image/gif,image/jpeg,application/json" compression="on" compressionMinSize="2048" connectionTimeout="15000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="2048" maxThreads="400" minSpareThreads="25" port="8080" redirectPort="8443" server="Service Catalog" useBodyEncodingForURI="false"/>

To

<Connector URIEncoding="UTF-8" compressableMimeType="text/html,text/plain,text/xml,text/css,text/javascript,image/png,image/gif,image/jpeg,application/json" compression="on" compressionMinSize="20480" connectionTimeout="15000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="2048" maxThreads="400" minSpareThreads="25" port="8080" redirectPort="8443" server="Service Catalog" useBodyEncodingForURI="false"/>

Additional Information:

Note: You may want to update the maxHttpHeaderSize value to "20480" for all the connectors within the file i.e. Connector port="8443" 

Make sure that you have one connector enabled for the application to consume. In this below example this connector is disabled

<--<Connector port="8443" enableLookups="false" tomcatAuthentication="false" maxHttpHeaderSize="20480"

      maxThreads="400" minSpareThreads="25" maxSpareThreads="100" debug="0" connectionTimeout="15000"

      disableUploadTimeout="true" compression="on" compressionMinSize="2048"

      compressableMimeType="text/html,text/plain,text/xml,text/css,text/javascript,image/png,image/gif,image/jpeg,application/json"

      scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" SSLEnabled="true"

      keystoreFile="C:\Program Files\CA\Service Catalog\.keystore" keyAlias="alias_name" keystorePass="changeit"/>

-->