[SOLVED] launching from a jnlp file, on x32 linux

Get help with installation and configuration of OWS. Please post specific bug reports, pull requests, or source code extensions on github.
ddyer
Posts: 9
Joined: 10 Jan 2021, 10:28

[SOLVED] launching from a jnlp file, on x32 linux

Post by ddyer »

Openwebstart doesn't quite work in this configuration, installed on an x86 linux machine. The same jnlp
launches fine on windows and mac.

In this case, the jnlp was downloaded to the user Downloads folder. Clicking to launch just seems to fizzle,
but launching from a shell shows this:


dyer@kali:~/Downloads$ javaws boardspace7.jnlp
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
[ITW-CORE][2021-01-10 01:22:48.566 PST][INFO ][com.openwebstart.launcher.OpenWebStartLauncher] OWS main args [boardspace7.jnlp].
[ITW-CORE][2021-01-10 01:22:48.893 PST][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Starting OpenWebStart 1.3.1
[ITW-CORE][2021-01-10 01:22:49.061 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2021-01-10 01:22:49.219 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2021-01-10 01:22:49.236 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/ddyer/.config/icedtea-web/deployment.properties
[ITW-CORE][2021-01-10 01:22:49.265 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'ows.install4j.propertyUpdate' is unknown.
[ITW-CORE][2021-01-10 01:22:49.661 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/ddyer/.config/icedtea-web/deployment.properties
[ITW-CORE][2021-01-10 01:22:49.673 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'ows.install4j.propertyUpdate' is unknown.
[ITW-CORE][2021-01-10 01:22:49.798 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Saving properties into /home/ddyer/.config/icedtea-web/deployment.properties
[ITW-CORE][2021-01-10 01:22:49.898 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/ddyer/.config/icedtea-web/deployment.properties
[ITW-CORE][2021-01-10 01:22:49.901 PST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Property 'ows.install4j.propertyUpdate' is unknown.
[ITW-CORE][2021-01-10 01:22:49.912 PST][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Calling ITW Boot with args [boardspace7.jnlp].
[ITW-CORE][2021-01-10 01:22:49.947 PST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OpenWebStartLauncher called with args: [boardspace7.jnlp].
[ITW-CORE][2021-01-10 01:22:49.947 PST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OS: Linux
[ITW-CORE][2021-01-10 01:22:49.948 PST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] Java Runtime Oracle Corporation-1.8.0_212
[ITW-CORE][2021-01-10 01:22:51.212 PST][INFO ][net.sourceforge.jnlp.runtime.Boot] Proceeding with jnlp
[ITW-CORE][2021-01-10 01:22:51.221 PST][INFO ][net.sourceforge.jnlp.runtime.Boot] JNLP file location: boardspace7.jnlp
[ITW-CORE][2021-01-10 01:22:51.227 PST][ERROR][net.sourceforge.jnlp.runtime.Boot]
failed to launch
net.sourceforge.jnlp.LaunchException: No local file '/opt/OpenWebStart/boardspace7.jnlp' found and failed to create an URL from boardspace7.jnlp
at net.sourceforge.jnlp.runtime.Boot.locationToUrl(Boot.java:392)
at net.sourceforge.jnlp.runtime.Boot.launch(Boot.java:355)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:335)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.runMain(Boot.java:279)
at net.sourceforge.jnlp.runtime.Boot.mainWithReturnCode(Boot.java:132)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:114)
at com.openwebstart.launcher.PhaseTwoWebStartLauncher.main(PhaseTwoWebStartLauncher.java:81)
at com.openwebstart.launcher.OpenWebStartLauncher.main(OpenWebStartLauncher.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
at install4j.com.openwebstart.launcher.OpenWebStartLauncher.main(Unknown Source)
Caused by: java.net.MalformedURLException: no protocol: boardspace7.jnlp
at java.net.URL.<init>(URL.java:593)
at java.net.URL.<init>(URL.java:490)
at net.sourceforge.jnlp.runtime.Boot.locationToUrl(Boot.java:386)
... 16 more

ddyer@kali:~/Downloads$

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

Re: launching from a jnlp file, on x32 linux

Post by Stephan Classen »

can you please try and pass the full path to the jnlp on the command line.

Something similar to

javaws /user/home/dyer/Downloads/boardspace7.jnlp

ddyer
Posts: 9
Joined: 10 Jan 2021, 10:28

Re: launching from a jnlp file, on x32 linux

Post by ddyer »

launching with the full path fixes this problem.

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

Re: launching from a jnlp file, on x32 linux

Post by Stephan Classen »

I can confirm the same behavior on a x64 linux.

This is sub optimal. We will have a look at this

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

Re: launching from a jnlp file, on x32 linux

Post by Stephan Classen »

Can you please retry with 1.3.2

Post Reply