problem with different System/JNLP

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

problem with different System/JNLP

Post 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

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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)

Stephan Classen
Posts: 206
Joined: 27 Mar 2020, 09:55

Re: problem with different System/JNLP

Post by Stephan Classen »

Can you send the JNLP files please

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post by Karkre68 »

Hello,

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

Thanks Karsten

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

Re: problem with different System/JNLP

Post 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?

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post by Karkre68 »

Here my 3 files. I had to put in zip otherwise your tool checks security.
Attachments
jnlp.zip
(3.38 KiB) Downloaded 8 times

Stephan Classen
Posts: 206
Joined: 27 Mar 2020, 09:55

Re: problem with different System/JNLP

Post 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?

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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"?

Stephan Classen
Posts: 206
Joined: 27 Mar 2020, 09:55

Re: problem with different System/JNLP

Post by Stephan Classen »

yes, rename the file and the href. if this helps we are one step further

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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?

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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?

Stephan Classen
Posts: 206
Joined: 27 Mar 2020, 09:55

Re: problem with different System/JNLP

Post 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

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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
Attachments
jnlp_test2.zip
(2.28 KiB) Downloaded 11 times
jnlp_test1.zip
(2.25 KiB) Downloaded 12 times

Stephan Classen
Posts: 206
Joined: 27 Mar 2020, 09:55

Re: problem with different System/JNLP

Post 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

Karkre68
Posts: 15
Joined: 19 Nov 2021, 12:50

Re: problem with different System/JNLP

Post 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.

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

Re: problem with different System/JNLP

Post 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

Post Reply