AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

Jars are downloaded several times during application running (and it fails)

未关闭
#895 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
268
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

hello,
I've created https://github.com/karakun/OpenWebStart/issues/536#issue-1627954410 but the isuue is perhaps more specific to IcedTea-Web ?

My JWS application is hosted on AWS public Cloud (it’s AWS but could be another one), for example : https://myapp.com/
The codebase of the application in jnlp is https://myapp.com/

When I run OWS, it downloads all jars, starts the application, but when I navigate into my app it tries to download jars, and my app fails.
I checked in the cache, and into the logs: the jars are correctly downloaded before starting the application. I don’t know why there is an additional download.
I suspected that the OWS cache reference jars by IP and not by dns name, because the DNS resolution of https://myapp.com/ could return several IPs.
So I did a test by replacing the codebase of my app with an IP instead of DNS name, ex : https://50.50.20.12/
Then, the application runs correctly, and in the logs I can see that the jars are no longer downloaded.

Do you think that my problem is due to DNS resolution ?

Thanks for your help

Regards

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。