RCP: 0.7.7, Update fail with Timeout exception
In some network configurations (WIFI or even Ethernet connection), some users are having difficulties to update TXM 0.7.7 to TXM 0.7.8 : the update raises Timeout exceptions while downloading plugins.
Diagnostics
- Reduce the update size :
- split the CQP plugin per OS : spare 3 mo
- reduce the Toolbox size : 57.1 mo ->28.9 mo
# remove the Java class files from the bin directory (and keep the Groovy class files) : 14.5 mo ->8.1 mo
# remove TIGERSearch.jar : 9.0 mo
# remove Jsesh jars : 15 mo + 2.1 mo + 1.6 mo
# move libraries in plugins (like groovy and jfreechart)
## saxon 9.8 mo
## sqlite 5.6 mo
- Download a jar via FF and see if the timeout is raised
- Try to serve the update with a different server
- using SJ server
- Try with larger HTTP thresholds
- Try running an update right after the Timeout error
Diagnostics
Antivirus may unzip plugin jars and detect dll or binary files to block a download
Solution 1
Create the PrepareTXM4Update macro to fix the TXM.ini file and remove the HTTP parameters.
Solution 2
It often fails during the download of the CWBInstaller plugin. This plugin is big because it contains CQP binaries for all supported architectures (Windows, Mac OS X and Linux for 32 bit and 64 bit).
Split the plugin in 3 plugins for each system:
- Windows
- Linux
- Mac OS X
(from redmine: issue id 1953, created on 2016/12/05 by Matthieu Decorde)