Unable to run JNLP file with OWS 1.9.0

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
JaLe
Posts: 4
Joined: 07 Dec 2023, 12:45

Unable to run JNLP file with OWS 1.9.0

Post by JaLe »

Hi,

ever since we have updated OpenWebStart from 1.8.0 to 1.9.0 version. We are unable to run JNLP files.

We are running the same setting as we did with 1.8.0 version.

We are getting this error MSG:
Fatal read error: Could not read or parse the JNLP file

With 1.8.0 version everithing works fine.

Any idea what could cause the error?
Thanks

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

Re: Unable to run JNLP file with OWS 1.9.0

Post by Janak Mulani »

Can you please post the OWS logs?

JaLe
Posts: 4
Joined: 07 Dec 2023, 12:45

Re: Unable to run JNLP file with OWS 1.9.0

Post by JaLe »

Sure, here are the logs form OWS 1.9.0
Attachments
log_190.zip
(7.61 KiB) Downloaded 309 times

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

Re: Unable to run JNLP file with OWS 1.9.0

Post by Janak Mulani »

Please check that by typing/pasting the URL https://socpos.mpsv.cz:443/posvvaclient ... vatel.jnlp in a browser it is downloading the jnlp file.

Can you please try after cleaning the OWS application cache? You can do this using itw-settings application or you could manually delete <User Home>\.cache\icedtea-web\cache?

And if the above does not work then:

1. Clear cache

2. Run the file from OWS 1.8.0 installation dir from command line >javaws <url of the file> and send the stage 1 log

3. Clear cache

4. Run the file from OWS 1.9.0 installation dir lfrom command line >javaws <url of the file> and send the stage 1 log

JaLe
Posts: 4
Joined: 07 Dec 2023, 12:45

Re: Unable to run JNLP file with OWS 1.9.0

Post by JaLe »

Downloading the file with browser works fine.

I have tried to clear the cache. Sadly this didnt solve the problem.

So I followed your instructions and here are the logs from both 1.8.0 and 1.9.0 versions
Attachments
ows190log121223.zip
(7.88 KiB) Downloaded 331 times
ows180Log121223.zip
(8.73 KiB) Downloaded 303 times

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

Re: Unable to run JNLP file with OWS 1.9.0

Post by Janak Mulani »

did you using\\ 32 bit OWS on your machine

In 1.8.0 log 31_15.37there is an exception:

Code: Select all

net.sourceforge.jnlp.LaunchException: No local file 'C:\Windows\-userConfig' found and failed to create an URL from -userConfig

In 1.9.0 log 34_16.703 there is an exception:

Code: Select all

net.sourceforge.jnlp.LaunchException: No local file 'C:\Windows\-userConfig' found and failed to create an URL from -userConfig


In both the above cases javaws is not recognizing the argument passed to it.


In 1.8.0 log 31_16.173, OWS is launching the stage2:

Code: Select all

[ITW-CORE][2023-12-12 08:31:19.424 CET][INFO ][com.openwebstart.launcher.OwsJvmLauncher] About to launch process with command:
C:\Users\vpokus\.cache\icedtea-web\jvm-cache\adoptium_11.0.19_x86\bin\java.exe "-Xbootclasspath/a:C:\Program Files (x86)\OpenWebStart_180\OpenWebStart\openwebstart.jar" -Dicedtea-web.bin.location=C:\Program Files (x86)\OpenWebStart_180\OpenWebStart\javaws ... net.sourceforge.jnlp.runtime.Boot -Xnofork https://socpos.mpsv.cz/posvvaclient/iokposkytovatel.jnlp
It does not look like you ran your Jnlp file with OWS 1.8.0 AFTER clearing the cache (line 106 in the logs)

Code: Select all

[ITW-CORE][2023-12-12 08:31:16.941 CET][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isCached: CacheKey{location=https://socpos.mpsv.cz/posvvaclient/iokposkytovatel.jnlp, version=null} = true
Can you please run the Jnlp with OWS 1.8.0 AFTER clearing the cache?


In 1.9.0 log 34_18.177 there is an exception:

Code: Select all

[ITW-CORE][2023-12-12 08:34:19.777 CET][ERROR][net.sourceforge.jnlp.AbstractLaunchHandler]
netx: Read Error: Could not read or parse the JNLP file at 'https://socpos.mpsv.cz/posvvaclient/iokposkytovatel.jnlp'. (net.adoptopenjdk.icedteaweb.resources.IllegalResourceDescriptorException: Location https://socpos.mpsv.cz:443/posvvaclient/iokposkytovatel.jnlp does not specify a resource being tracked. (Location https://socpos.mpsv.cz:443/posvvaclient/iokposkytovatel.jnlp does not specify a resource being tracked.))


OWS is downloading the Jnlp file into cache directory C:\Users\vpokus\.cache\icedtea-web\cache\0\0\iokposkytovatel.jnlp. Do you see it there?

Code: Select all

[ITW-CORE][2023-12-12 08:34:19.561 CET][DEBUG][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] Downloading file: https://socpos.mpsv.cz/posvvaclient/iokposkytovatel.jnlp into: C:\Users\vpokus\.cache\icedtea-web\cache\0\0\iokposkytovatel.jnlp
But after this, OWS is not able to parse that file the second time. Is it removed from cache or something?

Can you try with some other Jnlp file?

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

Re: Unable to run JNLP file with OWS 1.9.0

Post by Janak Mulani »

You start with URL https://socpos.mpsv.cz/posvvaclient/iok ... vatel.jnlp. In your Jnlp file you have codebase and href. The codebase specifies default port for https 443 in the URL OWS had a bug. We have fixed and make a new release. Would you like to test the fix?

JaLe
Posts: 4
Joined: 07 Dec 2023, 12:45

Re: Unable to run JNLP file with OWS 1.9.0

Post by JaLe »

Unfortunately I am unable to test OWS with another JNLP file. I would like to test the new realease you have made. That would be great.

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

Re: Unable to run JNLP file with OWS 1.9.0

Post by Janak Mulani »

We have not made the 1.9.1 release yet, will do it soon. If you send email to openwebstart@karakun.com I can provide a pre-release.to test.

Post Reply