CAU for Linux Agent to fails with:
Runtime Error in Object '' Line '&02': Converting String to numeric Value not possible. String '&04'
However, the root cause is found in the Tomcat log: UploadSizeExceededException.
This is due to a Tomcat limitation.
Add the following in web.xml:
<multipart-config>
<max-file-size>104857600</max-file-size>
<max-request-size>104857600</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
If this does not solve the issue, you should update server.xml and set maxPostSize:
https://tomcat.apache.org/tomcat-10.0-doc/config/http.html
This is set within the connector definition and would look something like this:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
keyAlias="tomcat" keystoreFile="<Automic>\certificates\tomcat-keystore.jks" keystorePass="tomcat"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" maxPostSize="104857600"/>
In general, 100 MB => 104857600 should be enough but it is possible to set 200 MB => 209715200 to have an extra margin.