Sporadicall error "Missing Ressource: error.initialConfig_de"

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Andrej
Posts: 6
Joined: 14 Dec 2021, 15:31

Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Andrej »

Hello,

we have OWS 1.12.0 on Windows Server 2022 Citrix Environment with roaming profiles.
We launch 2 JNLPs nearly parallel.
Sometimes OWS throws the attached error, probably on users who launch it for the first time. In the background you see 1 JNLP did successfully launch and the 2nd didn't Start. Also no log exists for the error message. Repeating the same steps it works. Maybe after some retryies it occurs again.
Looks to me like a timing issue when launching the JNLP files through OWS, since the first is already creating everything.
Attachments
config_error.png
config_error.png (565.72 KiB) Viewed 14293 times

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Janak Mulani »

>
we have OWS 1.12.0 on Windows Server 2022 Citrix Environment with roaming profiles
>
Can you please explain what does "Citirx Environment with roaming profiles mean" .
>
We launch 2 JNLPs nearly parallel.
>
Are the two Jnlps located at different URLs and pointing to different applications?

How are they started simultaneously, e.g. by double clicking on them or on their shortcuts in quick succession?

What is the usecase that you need to launch the Jnlps simultaneously? What happens if they are started one after the other with some delay in between?

Andrej
Posts: 6
Joined: 14 Dec 2021, 15:31

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Andrej »

Citrix Environment means -> profiles are copied to C drive at logon and then the applications launch. (not sure if this does even matter for this case)
In our case Firefox is launched and after user login inside the web application a download of 2 two JNLP files is executed. Through auto open of JNLP in firefox. OWS then stars the files. So it's like double click two JNLP files. If it's manually downloaded and therefore delayed started or only one of them, we could not see the behaviour.
Yes it's different urls and applications

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Janak Mulani »

Can you send us the OWS logs for both the Jnlp applications? https://openwebstart.com/docs/OWSGuide.html#_logging

Andrej
Posts: 6
Joined: 14 Dec 2021, 15:31

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Andrej »

I could send you of the started application. Strangely no other log was written, for the second. Where to upload?
I tryied several times to reproduce but couldn't get it.

Andrej
Posts: 6
Joined: 14 Dec 2021, 15:31

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Andrej »

Now I ran into this, while also just running the jnlp files

This one is probably also related to the same topic https://github.com/karakun/OpenWebStart/issues/648 I added a Powershell script to reproduce.
It takes some time but happens sporadically.
Attachments
Error_backup.png
Error_backup.png (50.11 KiB) Viewed 14262 times
2026-02-09_09_17_06.87-ows-stage1.log
(56.06 KiB) Downloaded 11 times

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Janak Mulani »

Thanks for the log. I will have a look. I also saw your post on ows github https://github.com/karakun/OpenWebStart ... 3870281584

Andrej
Posts: 6
Joined: 14 Dec 2021, 15:31

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Andrej »

Any update on this?

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Janak Mulani »

There seems to be a race condition. Trying to reproduce and fix.

Janak Mulani
Posts: 1088
Joined: 24 Mar 2020, 13:37

Re: Sporadicall error "Missing Ressource: error.initialConfig_de"

Post by Janak Mulani »

When OWS is run for the first time it creates C:\Users\USERNAME.config\icedtea-web and C:\Users\USERNAME.cache\icedtea-web directories and files under them. So, when OWS has never been executed before on a machine and two Jnlps are started simultaneously with OWS, race conditions can occur when the two OWS processes would simultaneously try to create/access common files in the above mentioned directories and also try to download and cache the JVM specified in those Jnlp. I tried the sample powershell script and could reproduce the error mentioned by @AlBundy33. Need to see if we can prevent the race condition at all the places. Btw, The password for the truststore is the default "changeit" .

However the powershell script looks like a stress test for OWS. Can you please explain the need to start jnlps simultaneously?

Post Reply