By default, a WebTrader sponsor community in Interchange can send or receive documents of up to 50 MB. If your WebTrader users will be sending larger documents you should activate large message handling on the WebTrader community configuration.
To do this you:
When large message trading is not enabled (Secure file not configured for the sponsor community), WebTrader partners can send messages of up to 10 MB. Attempts to send larger messages will fail.
If you, as the WebTrader sponsor have a license with the webtraderAppletForLargeFiles key enabled, but you have not enabled Secure client on your sponsor community, the partner will see the following message displayed on their Send documents page:
| A configuration error prevents uploading large files. Ask your sponsor to enable a secure file HTTP of HTTPS exchange for receiving messages from partners. Try again to upload after the sponsor tells you this has been done. |
When this message is displayed, the WebTrader partner can continue to send documents of less than 10 MB.
On first connection to the sponsor server via the WebTrader UI, the WebTrader user's browser displays a Java applet status information message and it downloads the large file handling applet.
After the applet is downloaded:
WebTrader engages chunking for uploads and downloads of files larger than 2 gigabytes. Chunking is disabled for smaller payloads.
To activate chunking for all uploads and downloads, set the following property to true:
httpChunkingAlwaysOn=true
Add the property to the applet.properties file.
In Windows the file is on the client WebTrader’s computer at:
\Documents and Settings\<user directory>\.cyclone
In UNIX or Linux the file is on the client WebTrader partner's computer under the user’s home directory. The file may be hidden. Use the ls –a or ls -la command to reveal hidden files.
The applet that manages uploads and downloads only creates an applet.properties file as needed. If the file exists, the WebTrader partner can add the property and value to the file. If the file does not exist, the WebTrader can create a file by that name and add the property and value to it.
The standard limit for file uploads of 50 MB applies generally to all Interchange HTTP uploads. It is possible to reset this limit. To do this:
<install directory>/webapps/ui/WEB-INF/.web.xml in a text editor.|
<!-- Specify maximum allowed size of the upload. Defaults to 50 Mb. --> <init-param> <param-name>upload-max-size</param-name> <param-value>52428800</param-value> </init-param> |
| Note | This value is not conserved on upgrades. If you upgrade your Interchange installation you will need to reset this value in the upgraded file. |