Page 1 of 1

problem with different System/JNLP

Posted: 19 Nov 2021, 14:07
by Karkre68
Hello,

We have 3 servers (Prod, Test and Dwevelop). If i download first jnlp file from server eveything wokrs fine and Icon is created on desktop.
When i download afterwards a new jnlp from server 2. application 1 ist started. Why?
Please have in look in jnlp file. in my files only server url and name is different.

When i delete cache, then 2. application is starting correct.

Please give some hints for fixing this problem.

Thanks Karsten

Re: problem with different System/JNLP

Posted: 19 Nov 2021, 15:06
by Karkre68
1) C:\Users\WN00901743\AppData\Local\Programs\OpenWebStart\javaws.exe "https://ip.wgn.wuerth.com/phxip/phxip/phxip_en.jnlp"
2) C:\Users\WN00901743\AppData\Local\Programs\OpenWebStart\javaws.exe "https://ip-test.wgn.wuerth.com/phxip/ph ... ip_en.jnlp"

Always start appl on server 1) instead of server in 2)

Re: problem with different System/JNLP

Posted: 19 Nov 2021, 16:05
by Stephan Classen
Can you send the JNLP files please

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 08:45
by Karkre68
Hello,

Here my 3 JNLP files. i put *.txt at the end, because your up didn't jnlp noz allow.

Thanks Karsten

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 09:35
by Janak Mulani
Karkre68 wrote: 22 Nov 2021, 08:45 Hello,

Here my 3 JNLP files. i put *.txt at the end, because your up didn't jnlp noz allow.

Thanks Karsten
Did you forget to upload the jnlp.txt files?

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 11:16
by Karkre68
Here my 3 files. I had to put in zip otherwise your tool checks security.

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 13:42
by Stephan Classen
OK, I checked the JNLPs. They look fine. All point to completely different resources.

Most likely the shortcurts get messed up because all 3 files are called "phxip_en.jnlp".
Therefore OWS thinks the shortcut has already been created and does not create a new one.

Also does your application write files to the file system? If yes then could it be that all instances are picking up the same file and therefore connect to the same server?

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 14:58
by Karkre68
What have i to change o make JNLP files for unique?
1. file name like "phxip_en_test.jnlp", ""phxip_en_dev".jnlp
2. in JNLP file also "href="phxip/phxip_en_test.jnlp"?

Re: problem with different System/JNLP

Posted: 22 Nov 2021, 20:39
by Stephan Classen
yes, rename the file and the href. if this helps we are one step further

Re: problem with different System/JNLP

Posted: 23 Nov 2021, 14:02
by Karkre68
I renamed jnlp file "phxip_en_dev.jnlp" and also href. file on second server is "phxip_en.jnlp", problem is still the same. Only first short on desktop starts 1. Server. I set proxy server to "NONE".
I think here is a bug. Can you make a test with 2 servers and and 2 JNLP files?

Re: problem with different System/JNLP

Posted: 23 Nov 2021, 14:57
by Karkre68
All urls's will connect to same IP of firewall (reverse proxy) and firewall will detect on server header which is target system/IP and redirect. So OpenWebStart has a bug in our landcape. Oracle javaws was working fine for this landscape.
"C:\Program Files\OpenWebStart\javaws.exe" https://ip-dev.wgn.wuerth.com/phxip/phxip_en.jnlp
"C:\Program Files\OpenWebStart\javaws.exe" https://ip-test.wgn.wuerth.com/phxip/phxip_en.jnlp

What can I do to fix this? Or do you have fix your code?

Re: problem with different System/JNLP

Posted: 26 Nov 2021, 09:11
by Stephan Classen
I am a little confused. You mention that you have renamed the files and also the href. But in your last post the files are still called the same.

Please make sure to rename the files on the server, as OWS will download the latest version on the server and use that. So only renaming the file locally will not be sufficient.

You can also try the following:
- delete all shortcuts
- start JNLP for server 1 (e.g. DEV) and have it create shortcuts
- rename the shortcuts
-start JNLP for server 2 (e.g. TEST) and have it create shortcuts
- test of the 2 different shortcuts work as you need them to

Re: problem with different System/JNLP

Posted: 26 Nov 2021, 14:50
by Karkre68
TEST HTTPS and with Application Firewall and redirecting to internal server (jnlp_test1.zip)
1. delete all shortcuts on menu and desktop.
2. download JNLP from DEV Server: https://ip-dev.wgn.wuerth.com/phxip/phxip_en.jnlp
3. check link short: "C:\Program Files\OpenWebStart\javaws.exe" "https://ip-dev.wgn.wuerth.com/phxip/phxip/phxip_en.jnlp"
4. rename short cuts in menu and on desktop
5. download JNLP from DEV Server: https://ip-test.wgn.wuerth.com/phxip/phxip_en.jnlp
6. check link short: "C:\Program Files\OpenWebStart\javaws.exe" "https://ip-dev.wgn.wuerth.com/phxip/phxip/phxip_en.jnlp"
=> result: here must be an bug for

TEST HTTP and direct Server Adress (jnlp_test2.zip)
1. delete all shortcuts on menu and desktop.
2. download JNLP from DEV Server: http://ap5e4ip7.mdmdev.wcp.wuerth.com:8 ... ip_en.jnlp
3. check link short: "C:\Program Files\OpenWebStart\javaws.exe" "http://ap5e4ip7.mdmdev.wcp.wuerth.com:8 ... ip_en.jnlp"
4. download JNLP from DEV Server: http://ap5e5ip8.mdmdev.wcp.wuerth.com:8 ... ip_en.jnlp
5. check link short: "C:\Program Files\OpenWebStart\javaws.exe" "http://ap5e5ip8.mdmdev.wcp.wuerth.com:8 ... ip_en.jnlp"
=> result: working fine all shortcuts are like defuned and dfferent

Re: problem with different System/JNLP

Posted: 26 Nov 2021, 15:44
by Stephan Classen
So the problem is specific to the setup with the WAF.

Can you provide us the debug logs. Without them we will not make any progress.
If you are concerned about the content of the logs you can also send them to openwebstart@karakun.com instead of posting them here in public

Re: problem with different System/JNLP

Posted: 01 Dec 2021, 17:52
by Karkre68
I send a e-mail with described problem to e-mail: openwebstart@karakun.com. I had a look in log and you can seen during jnlp download server adress is changed.

Re: problem with different System/JNLP

Posted: 02 Dec 2021, 07:15
by Janak Mulani
Hi,

Your mail ended up in the spam folder. We will have a look at the logs and come back to you.

For guaranteed response time to your posts you could support OpenWebStart by buying Basic or Premium support.

Thanks

Janak