AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

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

Aperta
#895 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
268
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.