Bug #1953

Updated by Matthieu Decorde over 4 years ago

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.

h3. Diagnostics

# Reduce the update size :
#* split the CQP plugin per OS
#* reduce the Toolbox size
#** 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 # *using SJ server
# Try with larger HTTP thresholds
# Try running an update right after the Timeout error

h3. Diagnostics

Antivirus may unzip plugin jars and detect dll or binary files to block a download

h3. Solution 1

Create the PrepareTXM4Update macro to fix the TXM.ini file and remove the HTTP parameters.

h3. 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