Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Java web start could not find framework error
Java web start could not find framework error [message #453541] Tue, 01 August 2006 18:45 Go to next message
Nicolas Bihan is currently offline Nicolas BihanFriend
Messages: 49
Registered: July 2009
Member
Hello,

I try to deploy my RCP application with JWS but when I launch it I got
the "Loading" splash screen and it stops.

Here is the stack trace :

!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.core.launcher.Main.getBootPath(Main.java:639)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Here is my jnlp file


<jnlp spec="1.0+" codebase="file:/c:/site/">
<information>
<title>Isa RCP</title>
<vendor>by Me</vendor>
<shortcut online="false">
<menu submenu="IsaRCP Webstart"/>
</shortcut>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="file:/c:/site/startup.jar" download="eager" main="false"/>
<extension
href="file:/c:/site/features/IsaRCP.feature_1.0.0.01.jnlp" name="Isa RCP"/>
<property name="eclipse.product" value="isa.product"/>
</resources>
<application-desc/>
</jnlp>


Here is my feature.xml :

<?xml version="1.0" encoding="UTF-8"?>
<feature
id="IsaRCP.feature"
label="Isa RCP"
version="1.0.0.01"
provider-name="Me"
plugin="IsaPlugIn"
os="win32"
ws="win32">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>

<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>

<license url="http://www.example.com/license">
[Enter License Description here.]
</license>

<includes
id="org.eclipse.rcp"
version="0.0.0"
name="RCP"
os=""
ws=""
arch=""/>

<requires>
<import plugin="org.eclipse.core.runtime" version="3.1.0"
match="compatible"/>
<import plugin="org.eclipse.jface" version="3.2.0"
match="compatible"/>
<import plugin="com.ibm.icu"/>
<import plugin="org.apache.xerces"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.jface.databinding"/>
<import plugin="org.eclipse.ui.intro"/>
</requires>

<plugin
id="Me_Framework"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="Me_Libraries"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.ui.forms"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="IsaPlugIn"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="com.me.rcp_framework"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

</feature>




It's the same if I test it remotly(from http) or locally (from my drive)

PS :My application work great if I deploy it via a product.

Any idea please ?
Re: Java web start could not find framework error [message #453542 is a reply to message #453541] Tue, 01 August 2006 19:18 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

How close are you to the JNLP described in
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/java_web_start.htm

PW


Re: Java web start could not find framework error [message #453562 is a reply to message #453542] Wed, 02 August 2006 15:31 Go to previous message
Nicolas Bihan is currently offline Nicolas BihanFriend
Messages: 49
Registered: July 2009
Member
Paul Webster a écrit :
> How close are you to the JNLP described in
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/java_web_start.htm
>
>
> PW

Ok, thank you,

I forgot the :

<application-desc main-class="org.eclipse.core.launcher.WebStartMain">
<argument>-nosplash</argument>
</application-desc>

But now, I get the famous :

java.lang.RuntimeException: No application id has been found.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:59)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is there a way to check all depedencies for a feature ?
Previous Topic:IFile in RCP application
Next Topic:Adding Folders And Files Inside A folder in A Rcp VIew Having Table And TreeView
Goto Forum:
  


Current Time: Thu Oct 10 17:27:58 GMT 2024

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

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

Back to the top