Attach multiple files to a catalog request

book

Article ID: 36909

calendar_today

Updated On:

Products

CA Service Catalog CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Problem: 

when trying to attach two  files at the same time to a catalog request , after submit , the attachement files are not able to actually attach to it  and there is no error message either .

Environment:  

CA Service Catalog  R12.8, R12.9, R14.1 

Cause: 

The root cause was that the combined size of the files, over 8 MB, is more than the maximum POST size that Tomcat is currently configured to accept.

That value, 'maxPostSize', is set to a default value of 5242880 bytes, or about 5.24 MB.

As such, attaching only one file was ok because its size was under 5.24 MB.

But attempting to attach both at once exceeded this limit and caused Tomcat to stop processing their submission.

 

Resolution:

The resolution is to increase the value for 'maxPostSize'  in web.xml per your business needs.

Our recommendation is the following:

1) Locate the file  USM_HOME\view\webapps\usm\WEB-INF\web.xml

2) Make  a backup of the existing web.xml  first . Then, locate the following section in web.xml :

<init-param>

<param-name>maxPostSize</param-name>

<param-value>5242880</param-value>

</init-param>

In the 'param-value' attribute, you can update the value to a greater number, for example 20 MB or 50 MB, per your business needs. 

If you submit multiple files in a request at the same time, the combination of the file size of all those files cannot exceed the value specified here.  

Please note that this value will need to be specified in bytes.

3) Then restart the Service Catalog services and you should be able to attach these two files to a Request

as soon as  total file size of those two files not exceed the limitation specified in web.xml. 

Environment

Release: CASVCT99000-12.9-Service Catalog
Component: