Bug 538075 - Webstart not working on osx
Summary: Webstart not working on osx
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.9   Edit
Hardware: Other Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 02:05 EDT by Al Bundy CLA
Modified: 2021-11-10 05:13 EST (History)
1 user (show)

See Also:


Attachments
JNLP file (1.01 KB, application/x-java-jnlp-file)
2021-11-09 13:54 EST, Yurii Hrytsai CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Al Bundy CLA 2018-08-20 02:05:44 EDT
We are deploying our application for windows, linux and osx.
The local client works on all platforms but webstart works only on linux and windows. 

On osx nothing happens after launching the jnlp. 

All our files are signed and we are using java 8 at the moment. 

We are also setting -XstartOnFirstThread but it seems that this vmarg does not work anymire with webstart.

Does someone know a workaround to get webstart working?
Comment 1 Al Bundy CLA 2018-11-18 08:44:44 EST
I've added a workaround to https://bugs.eclipse.org/bugs/show_bug.cgi?id=541282
Comment 2 Eclipse Genie CLA 2020-11-08 00:49:11 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Al Bundy CLA 2020-11-09 05:26:40 EST
sill an issue because mentioned workaround has it's own issues :-/
Comment 4 Yurii Hrytsai CLA 2021-11-09 08:55:27 EST
Proposed workaround does not work under java 9+ since apple.dispatch was removed there.
There is some issue with -XstartOnFirstThread vm-arg that needs to be fixed, application hangs on the step "About to launch external with commands: '[/Library/Java/JavaVirtualMachines/temurin-17.jdk......". Without the arg application goes further to the place when warning about missing arg is logged and main thread left by the app.
I can provide some additional info/logs if it is needed.
Comment 5 Yurii Hrytsai CLA 2021-11-09 13:54:32 EST
Created attachment 287472 [details]
JNLP file

See attached jnlp file that reproduces error in 100% times on mac OS but works on Windows.
Comment 6 Yurii Hrytsai CLA 2021-11-10 05:13:46 EST
How to run attached JNLP:

1. Install latest JDK11 or above from: https://adoptium.net/index.html
2. Install latest OpenWebStart from the official site: https://openwebstart.com/download/
3. Add github repo to whitelist to avoid security blocking during JNLP startup:
	- locate {USER_HOME}\.config\icedtea-web\deployment.properties
	- append with: deployment.security.whitelist=https\://github.com
4. Download the jnlp file and run it with the OpenWebStart