Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP and WebStart - No start and no error(Simple Mail Application doesn't start and produces no error)
icon5.gif  RCP and WebStart - No start and no error [message #503236] Fri, 11 December 2009 14:26 Go to next message
No real name is currently offline No real nameFriend
Messages: 14
Registered: December 2009
Junior Member
Hello all,
I'm working now for days on the mail example for eclipse rcp application. There's no problem to let the application run, but I want to do it via WebStart.
I don't know how many tutorials and (bug) reports I read, but it seems, that nobody has that problem.
Problem's quite simple, the WebStart App doesn't start...it exits without any comment or error, without showing splash screen etc.
The only thing that works is, that it is downloaded from webserver and asks you to accept the certificate. After showing the normal JavaWebStart Splash it crashes.

Let me show the jnlp file (with some comments)

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:10000" href="start_mail.jnlp">
	<information>
		<title>Wrapper</title>
		<vendor>Test</vendor>
		<offline-allowed/>
	</information>
	<security>
		<all-permissions/>
	</security>
	<component-desc/>
	<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
        <argument>-consoleLog</argument>
    </application-desc> 
	<resources>
		<j2se version="1.6" />		
		<property name="eclipse.product" value="rcp.product"/>
      <property
        name="osgi.instance.area"
        value="@user.home/Application Data/mail"/>
    <property
        name="osgi.configuration.area"
        value="@user.home/Application Data/mail"/>
	</resources>
	<resources>
		<jar href="plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar"/>
		<jar href="plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519.jar"/>
		<jar href="plugins/org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800.jar"/>
		<jar href="plugins/org.eclipse.core.jobs_3.4.100.v20090429-1800.jar"/>
		<jar href="plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar"/>
		<jar href="plugins/org.eclipse.swt_3.5.1.v3555a.jar"/>
		<jar href="plugins/org.eclipse.core.expressions_3.4.100.v20090429-1800.jar"/>
		<jar href="plugins/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar"/>
		<jar href="plugins/org.eclipse.swt.win32.win32.x86_3.5.1.v3555a.jar"/>
		<jar href="plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar"/>
		<jar href="plugins/org.eclipse.osgi_3.5.1.R35x_v20090827.jar"/>
		<jar href="plugins/org.eclipse.persistence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar"/>
		<jar href="plugins/org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451.jar"/>
		<jar href="plugins/org.eclipse.jface_3.5.1.M20090826-0800.jar"/>
		<jar href="plugins/org.eclipse.core.databinding_1.2.0.M20090819-0800.jar"/>
		<jar href="plugins/org.eclipse.ui.workbench_3.5.1.M20090826-0800a.jar"/>
		<jar href="plugins/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar"/>
		<jar href="plugins/localhost.webstart.rcp_1.0.0.200912101636.jar"/>
		<jar href="plugins/org.eclipse.core.databinding.observable_1.2.0.M20090902-0800.jar"/>
		<jar href="plugins/org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar"/>
		<jar href="plugins/org.eclipse.equinox.app_1.2.0.v20090520-1800.jar"/>
		<jar href="plugins/org.eclipse.jface.databinding_1.3.1.M20090826-0800.jar"/>
		<jar href="plugins/org.eclipse.help_3.4.1.v20090805_35x.jar"/>
		<jar href="plugins/org.eclipse.ui_3.5.1.M20090902-1000.jar"/>
		<jar href="plugins/org.eclipse.core.databinding.property_1.2.0.M20090819-0800.jar"/>
		<jar href="plugins/javax.servlet_2.5.0.v200806031605.jar"/>
		<jar href="plugins/org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar"/>
		<jar href="plugins/javax.transaction_1.1.1.v200909161740.jar"/>
		<jar href="plugins/com.ibm.icu_4.0.1.v20090822.jar"/>
		<jar href="plugins/org.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413.jar"/>		
	</resources>
	<resources os="Windows" arch="x86">
        <jar href="plugins/org.eclipse.swt.win32.win32.x86_3.5.1.v3555a.jar"/>
    </resources>
</jnlp>


if href in jnlp-tag is passed, no error is produced, app simply crashes. If href is available, an error is produced saying that "no application resources are given", but there's a resource line containing platform
I tested every variation in os and arch, e.g. [W|w]indows, [W|w]in32, i386, [X|x]86.

It'll be really nice of you, if you could help me with my problem...because I have no idea anymore and I think Eclipse RCP framework is a very good tool. But it is indispensable to use WebStart for my real software I want to code.
Re: RCP and WebStart - No start and no error [message #505112 is a reply to message #503236] Sun, 27 December 2009 01:57 Go to previous message
Hacking Bear is currently offline Hacking BearFriend
Messages: 14
Registered: July 2009
Junior Member
You may encounter the error I reported (see http://www.eclipse.org/forums/index.php?t=msg&th=159690& amp;start=0& )

I tested with the Mail app and it worked except I have to create this JAR resource list manually myself (and copy over the rootfiles, see http://www.eclipse.org/forums/index.php?t=msg&th=159003& amp;start=0&) How did you get the list generated?
Previous Topic:How to make disabled a tab (EditorPart) in Eclipse or in a RCP application
Next Topic:RCP and MAC
Goto Forum:
  


Current Time: Tue Apr 16 04:52:53 GMT 2024

Powered by FUDForum. Page generated in 0.15879 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top