Receiving the request was rejected because its size (5566923382) exceeds the configured maximum (5368709120) when trying to upload a 24.1 iso image in Agent Inventory tab
search cancel

Receiving the request was rejected because its size (5566923382) exceeds the configured maximum (5368709120) when trying to upload a 24.1 iso image in Agent Inventory tab

book

Article ID: 420347

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

When attempting to upload a 24.1 Agent Installer in Agent Inventory tab, it throws a http 500 error. In the CA-wcc.log file seeing the below error message:

@asi <https-jsse-nio-8443-exec-16> []ERROR #AuthorizationFilter     #(163) Fatal error org.apache.tomcat.util.http.InvalidParameterException: org.apache.tomcat.util.http.fileupload.impl.SizeLimitException: the request was rejected because its size (5566923382) exceeds the configured maximum (5368709120)

Environment

WebUI 24.1.1

All Linux versions

Resolution

Edit the /opt/CA/WorkloadAutomationAE/wcc/tomcat/webapps/asi/WEB-INF/web.xml file

 

value needs to be changed from:

                        <!-- Maximum file size (5 GB in bytes) -->

                        <max-file-size>5368709120</max-file-size> <!-- 5 GB -->

                        <!-- Maximum request size (total size of all uploaded parts) -->

                        <max-request-size>5368709120</max-request-size> <!-- 5 GB -->

 

to:

 

                        <!-- Maximum file size (6 GB in bytes) -->

                        <max-file-size>6291456000</max-file-size> <!-- 6 GB -->

                        <!-- Maximum request size (total size of all uploaded parts) -->

                        <max-request-size>6291456000</max-request-size> <!-- 6 GB -->

 

After making the above changes, stop and restart the WCC processes.