Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWebstart , equinox launcher which parameters in JNLP file
https://www.eclipse.org/forums/index.php/mv/msg/575513/1164127/#msg_1164127
Apologies for the long post, google is not my friend on this one :-)
I would really appreciate and send a lot of love, if someone has
experience with combination of Eclipse Kepler RCP (e4 workbench),
Webstart (JNLP) and Tycho JNLP plugin.
I am struggling to make my RCP app starting with a webstart: jnlp.
The examples and documentation around do not seem to cover my case
whereby a simpleconfigurator and bundle.info implies.
Typically params from eclipse.ini & config.ini [1] go into the .jnlp [2]
as properties. then tycho-jnlp [3] generates the jar entries, does the
signing and produces the end result. The end jnlp result (example taken
from the client looks like [4].
But it doesn't work, the RCP app doesn't launch, the javaws log might
provide a clue? (this looks suspisious: Match: digest LaunchDesc: null)
[5], I suspect the equinox launcher isn't even found or is not
started...(For e4 workbench some bundles need to be started).
HTH
Thorsten]]>Thorsten Schlathölter2013-11-20T09:35:50-00:00Re: Webstart , equinox launcher which parameters in JNLP file
https://www.eclipse.org/forums/index.php/mv/msg/575513/1220929/#msg_1220929
> did it work on 3.x? Setting up webstart is always cumbersome :-)
Hi Jonas,
I missed you reply earlier. I started this for 4.3 build.
I actually think I know what the problem is.
What happens is that jawas can't find the config.ini which the launcher
tries to pickup. this error.
The URL is non-existent, so this is the problem. I didn't deploy the
confifguration folder. (I took the tycho generated repository directory
which contains the .jnlp but not the configuration folder, hence its a
repo, tycho also generates the products for each arch/os which does have
the configuration folder).
So I am bit puzzled now, should I deploy the /configuration folder?
Or should I try to make a webstart which doesn't use the
simpleconfigurator plugin? I would appreciate some experience from other
forum readers on this topic.
Now equinox launches through webstart (I make sure the config.ini is
found). I also had to change the url referenced inside config.ini so it
pointed to the plugins folder. It doesn't feel right tough. The
Configuration folder is not downloaded by webstart and I don't know how
to do that. If it were, than it would be a bit smoother I think.
The application fails with exception below.
As I am on MacOSX, I also added the flag "-XstartOnFirstThread" which is
detected judging from the log.
!ENTRY org.eclipse.osgi 4 0 2013-12-16 12:36:56.776
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4397)
at org.eclipse.swt.SWT.error(SWT.java:4312)
at org.eclipse.swt.SWT.error(SWT.java:4283)
at org.eclipse.swt.widgets.Display.error(Display.java:1076)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:833)