problem with different System/JNLP
problem with different System/JNLP
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
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
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)
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)
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: problem with different System/JNLP
Can you send the JNLP files please
Re: problem with different System/JNLP
Hello,
Here my 3 JNLP files. i put *.txt at the end, because your up didn't jnlp noz allow.
Thanks Karsten
Here my 3 JNLP files. i put *.txt at the end, because your up didn't jnlp noz allow.
Thanks Karsten
-
- Posts: 755
- Joined: 24 Mar 2020, 13:37
Re: problem with different System/JNLP
Here my 3 files. I had to put in zip otherwise your tool checks security.
- Attachments
-
- jnlp.zip
- (3.38 KiB) Downloaded 774 times
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: problem with different System/JNLP
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?
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
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"?
1. file name like "phxip_en_test.jnlp", ""phxip_en_dev".jnlp
2. in JNLP file also "href="phxip/phxip_en_test.jnlp"?
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: problem with different System/JNLP
yes, rename the file and the href. if this helps we are one step further
Re: problem with different System/JNLP
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?
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
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?
"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?
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: problem with different System/JNLP
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
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
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
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 863 times
-
- jnlp_test1.zip
- (2.25 KiB) Downloaded 852 times
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: problem with different System/JNLP
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
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
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.
-
- Posts: 755
- Joined: 24 Mar 2020, 13:37
Re: problem with different System/JNLP
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
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