Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » JWS RCP java.lang.RuntimeException: No application id has been found
JWS RCP java.lang.RuntimeException: No application id has been found [message #508724] Wed, 20 January 2010 00:29
Simon Zambrovski is currently offline Simon ZambrovskiFriend
Messages: 9
Registered: July 2009
Junior Member
I'm trying to launch the RCP via Java Web Start (JWS).
I migrated from 3.3 to 3.5.1 and am experiencing some problems.
I switched to the Hello World Example and have the same behavior.

The product works from Eclipse and exported as a stand-alone app, but
starting it over JNLP delivers a RuntimeException with text "No
application id has been found".

SESSION 2010-01-20 00:53:04.000
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -debug -console 1234

!ENTRY org.eclipse.osgi 4 0 2010-01-20 00:53:04.765
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)


And no other messages (so no missing plugins or unresolved dependencies).

Here is my JNLP: <?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost/test/" href="test.jnlp">
<information>
<title>test</title>
<vendor>test</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<application-desc
main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>-nosplash</argument>
<argument>-debug</argument>
<argument>-console</argument>
<argument>9090</argument>
<argument>-noExit</argument>
</application-desc>
<resources>
<j2se version="1.4+" max-heap-size="128m" />
<jar
href=" plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar "/>
<extension name="wrap feature" href="features/test.wrap_1.0.0.jnlp"

<property name="eclipse.product" value="test.product"/>
<property name="osgi.instance.area"
value="@user.home/Application Data/test"/>
<property name="osgi.configuration.area"
value="@user.home/Application Data/test"/>
</resources>
</jnlp>




To reproduce
1. Create a plugin "test.plug"
2. Use a template Hello RCP
3. Run.
4. Create a feature, and include the test.plug
5. Create another feature (wrap) and reference the feature from 4. and
eclipse rcp feature
6. Create a product inside of the test.plug and link it to the
application created after the run.
6. switch to feature mode, and link the wrap feature
7. launch the product -> WORKS
8. export the product, launch -> WORKS
9. export the wrap feature (jar, sign, codebase, etc..)
10. copy the content and the test.jnlp (see above)
11. start -> will create the log file with the message above.


I tried to telnet the OSGi (telnet localhost 9090) and could list the
bundles. I went through all the bundles with diag: no problems (apart
from some missing accessibility packages, which I hope are not disturbing).
The application bundle is in RESOLVED, but not in ACTIVE state.

Any ideas?

Does anyone know how the equinox Java Web Start launch (without the
equinox.simpleconfigurator and bundles.info) is controlled?

Many thanks,

--
Simon
Previous Topic:Update Toolbar
Next Topic:coolbar button mouseover state issue
Goto Forum:
  


Current Time: Tue Mar 19 08:39:17 GMT 2024

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

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

Back to the top