Troubleshooting myFileGateway 2.0

If you encounter errors in the myFileGateway 2.0 application, use the troubleshooting tips.

myFileGateway 2.0 does not perform as expected

You can refer to the following error trace or log files when the myFileGateway 2.0 application does not perform as expected.
  • Browser network trace – provides information about network and console logs on browser
  • <Install_dir>/logs/cfx_gateway.log – provides information about API gateway related logs
  • <Install_dir>/logs/cfgapi.logs – provides information about SFG APIs, which are internally used by myFileGateway 2.0 application
  • <Install_dir>/liberty/wlp/usr/server/SIServer/logs/console.log and messages.log – provides information about gateway.war when you access from Liberty Server
  • Jetty.log, noapp.log and filegateway.logs – provides information about smartClient REST calls

Download size limit

File download fails for large files.

Workaround: The maximum size of the file to be downloaded is limited to the heap size and RAM of the Liberty server where the APIs are hosted. If you want to increase the download size, you must increase the RAM of the computer and then increase the heap size of the JVM by updating the jvm.options file in the Liberty server. To increase the heap size, use the -Xmx parameter for the maximum size and the -Xms for the minimum size.

File activity or profile section hangs

If the file upload takes more time than the session time of the user, the file activity or profile section hangs.

Workaround: Set the session time of the user higher than the maximum time that is required for the file upload.

Performance issue in file upload

Chunk size for file upload is optimally set to 4 MB and number of concurrent uploads is also optimally set to 4. However, you find some performance issues during the file upload.

Workaround: Update the CHUNK_SIZE and MAX_CONNECTIONS in the app-prod-env-config.js file under <Install-dir>/noapp/deploy/myfg_exploded/webapp/assets/.

File upload failure

If the file upload fails with a 400 error, perform the following changes to the jvm.options file, which is located in the <INSTALL_PATH>/liberty/wlp/usr/servers/SIServer folder.

Workaround:
  1. Stop the Sterling B2B Integrator server.
  2. Add a property Dmyfg.temp.path to the jvm.options file. Here, Path is the location where the user has permissions to create the file
    Note: Path can also be set as /ibm/b2bi/install in case of a docker setup.
  3. Restart the Sterling B2B Integrator server