Launching RCP Application via java webstart seems to do nothing [message #458070] |
Mon, 13 November 2006 09:51  |
Eclipse User |
|
|
|
Originally posted by: mushy.drkw.com
Hi,
I am trying to launch an RCP app onto a PC via java webstart, hosted on
the same PC using Tomcat. I have followed the example set out on the help
page -
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/java_web_start.htm
- almost exactly, namely:
Define a Product
Define a feature importing the product
Export the feature into separate jars
Use Ant to sign the jars
Archive as a .war
Deploy as .war file onto Tomcat.
When running the main jnlp, all the correct jars are downloaded, and the
correctly-branded download screens are displayed. However, once this is
complete, nothing happens. The page from which the app was launched
remains the same, and I cannot find evidence in any log files of any java
process having started. Could you please let me know what I am doing
wrong?
Cheers,
Mushy
I am using Eclipse 3.2, Tomcat 5.5, jdk/jre 1.5.0_06, all on a Win XP PC
The main jnlp file is attached below:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp
spec="1.0+"
codebase="http://iblongsw65577:8080/helloworld"
href="helloworld.jnlp"> <!-- URL to the site containing the jnlp
application. It should match the value used on export. Href, the name of
this file -->
<information>
<!-- user readable name of the application -->
<title> Helloo world </title>
<!-- vendor name -->
<vendor>MushyCorp International</vendor>
<!-- vendor homepage -->
<homepage href="http://localhost:8080" />
<!-- product description -->
<description>A program with which to manage hierarchies, or
somesuch</description>
<icon kind="splash" href="splash.bmp"/>
</information>
<!--request all permissions from the application. This does not change-->
<security>
<all-permissions/>
</security>
<!-- The name of the main class to execute. This does not change-->
<application-desc main-class="org.eclipse.core.launcher.WebStartMain">
<argument>-nosplash</argument>
</application-desc>
<resources>
<!-- Reference to the startup.jar. This does not change -->
<jar href="startup.jar"/>
<!-- Reference to all the plugins and features constituting the
application -->
<!-- Here we are referring to the wrapper feature since it
transitively refers to all the other plug-ins necessary -->
<extension
name="Main feature"
href="features/helloworld.feature_1.0.0.jnlp"/>
<!-- Information usually specified in the config.ini -->
<property
name="osgi.instance.area"
value="@user.home/Application Data/hm"/>
<property
name="osgi.configuration.area"
value="@user.home/Application Data/hm"/>
<!-- The id of the product to run, like found in the overview page of
the product editor -->
<property
name="eclipse.product"
value="helloworld.product"/>
</resources>
<!-- Indicate on a platform basis which JRE to use -->
<resources os="Mac">
<j2se version="1.5+" java-vm-args="-XstartOnFirstThread"/>
</resources>
<resources os="Windows">
<j2se version="1.5+"/>
</resources>
<resources os="Linux">
<j2se version="1.4+"/>
</resources>
</jnlp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07449 seconds