AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

JAR cache does not retry downloading after error, user must manually run application again

Open
#865 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
268
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm working with project witch use IceTea-web and found one problem.
Sometimes when between client and server is slow unstable connection there is problem with downloading jars to cache (in our case downloading is just interrupted and downloaded file is incomplete). User must run application many times to download all jars.

I think it is because this change :
https://github.com/AdoptOpenJDK/IcedTea-Web/pull/803/files
and this :
https://github.com/karakun/OpenWebStart/issues/401

So user run application. Jars are downloaded to cache and when error occurs, corrupted jar is deleted and user must run application once again.

Could we have some kind of retry mechanism maybe configured in icetea-web properties (retry on/off, retry times)
So when jar is not downloaded properly try to download it once again X times
I think logic for that is in `BaseResourceDownloader.tryDownloading` method

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.