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
- 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
andmessages.log
– provides information aboutgateway.war
when you access from Liberty ServerJetty.log
,noapp.log
andfilegateway.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.
- Stop the Sterling B2B Integrator server.
- Add a property
Dmyfg.temp.path
to thejvm.options
file. Here, Path is the location where the user has permissions to create the fileNote: Path can also be set as /ibm/b2bi/install in case of a docker setup. - Restart the Sterling B2B Integrator server