The application runs smoothly. Problems arise only when processing large files. The decisive factor is the size of a file while processing in the application. This is due to the size in bytes and by their structure. Problematic are z. B. many pages (> 100), large pictures.

The following typical error messages can be seen in the log:

  1. too little memory
    java.lang.OutOfMemoryError: Java heap space
    -> Further information can be found in the FAQ Make more memory available
  2. SOAP
    e.g. B. java.net.SocketException: Software caused connection abort: socket write error
    –> solution see below

 

These problems can occur when using the SOAP protocol.
In this case, limiting settings must be increased.

To do this, create the file /classes/cxf/bus.properties e.g. B. with the following content:

org.apache.cxf.stax.maxTextLength = 512000000

and restart the application.

This increases the message size from approx. 100 MB (standard) to 512 MB.
Note that the message size is always larger than the actual file size (factor approx. 64) due to the base1,3 encoding.

Created: 15.01.2021 - 11: 27
Stand: 08.12.2022 - 11: 46