Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435861] Thu, 25 August 2005 11:29 Go to next message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
Hi All,

I am trying to deploy an RCP application via Java WebStart. I followed the instructions in the "Deploying eclipse based
application with Java Web Start" item in the help system EXACTLY. However, when I try to start the .jnlp nothing happens.
I found this in the .log file in the configuration folder on the client...

java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:331 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:50)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:35)
...

I simple cannot figure out why this is happening. HELP!

----------------

Here is my wrapping feature...

<?xml version="1.0" encoding="UTF-8"?>
<feature
id="net.sourceforge.rswt.controlexample.client"
label="net.sourceforge.rswt.controlexample.client"
version="1.0.0"
provider-name="rswt.sf.net">

<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>

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

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

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

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

<plugin
id="net.sourceforge.rswt.examples.client"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="net.sourceforge.rswt.client"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="net.sourceforge.rswt.common"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

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

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

</feature>



---------------------------------------------------


Here is the generated .jnlp....


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:/C:/temp/controlexample">
<information>
<title>net.sourceforge.rswt.controlexample.client</title>
<vendor>rswt.sf.net</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<component-desc/>
<resources>
<j2se version="1.4+" />
</resources>
<resources>
<jar href="plugins/org.eclipse.swt_3.1.0.jar"/>
<jar href="plugins/org.eclipse.core.runtime_3.1.0.jar"/>
<jar href="plugins/org.eclipse.osgi.services_3.1.0.jar"/>
<jar href="plugins/org.eclipse.osgi.util_3.1.0.jar"/>
<jar href="plugins/net.sourceforge.rswt.examples.client_1.0.0.jar "/>
<jar href="plugins/net.sourceforge.rswt.client_1.0.0.jar"/>
<jar href="plugins/net.sourceforge.rswt.common_1.0.0.jar"/>
<jar href="plugins/org.eclipse.osgi_3.1.0.jar"/>
<jar href="plugins/org.eclipse.update.configurator_3.1.0.jar"/>
</resources>
</jnlp>



-----------------------------------------------

Here is my 'main' .jnlp.....

<?xml version="1.0" encoding="UTF-8"?>
<jnlp
spec="1.0+"
codebase="file:/C:/temp/controlexample"
href="controlexample.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> RSWT ControlExample Application </title>
<!-- vendor name -->
<vendor>rswt.sf.net</vendor>
<!-- vendor homepage -->
<homepage href="http://rswt.sf.net" />
<!-- product description -->
<description>This is an RSWT example application</description>
<icon kind="splash" href="splash.jpg"/>
</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 consituting the application -->
<!-- Here we are refering to the wrappering feature since it transitively refers to all the other plug-ins necessary -->
<extension
name="RSWT Control Example"
href=" features/net.sourceforge.rswt.controlexample.client_1.0.0.jn lp "/>

<!-- Information usually specified in the config.ini -->
<property
name="osgi.instance.area"
value="@user.home/Application Data/rswt/controlexample"/>
<property
name="osgi.configuration.area"
value="@user.home/Application Data/rswt/controlexample"/>

<!-- The id of the product to run, like found in the overview page of the product editor -->
<property
name="eclipse.product"
value="net.sourceforge.rswt.examples.client.controlexample"/ >

</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.4+"/>
</resources>
<resources os="Linux">
<j2se version="1.4+"/>
</resources>
</jnlp>



--------------------------------


Anybody got a clue for me?
TIA,


ted stockwell
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435865 is a reply to message #435861] Thu, 25 August 2005 12:30 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 440
Registered: July 2009
Senior Member
It looks like your osgi jar is corrupted. Clean your cache and make sure
that the class being looked for is actually in the jar.

HTH

ted stockwell wrote:
> Hi All,
>
> I am trying to deploy an RCP application via Java WebStart. I followed
> the instructions in the "Deploying eclipse based application with Java
> Web Start" item in the help system EXACTLY. However, when I try to
> start the .jnlp nothing happens.
> I found this in the .log file in the configuration folder on the client...
>
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:331 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at
> org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:50)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:35)
> ...
>
> I simple cannot figure out why this is happening. HELP!
>
> ----------------
>
> Here is my wrapping feature...
>
> <?xml version="1.0" encoding="UTF-8"?>
> <feature
> id="net.sourceforge.rswt.controlexample.client"
> label="net.sourceforge.rswt.controlexample.client"
> version="1.0.0"
> provider-name="rswt.sf.net">
>
> <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>
>
> <plugin
> id="org.eclipse.swt"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.core.runtime"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.osgi.services"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.osgi.util"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="net.sourceforge.rswt.examples.client"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="net.sourceforge.rswt.client"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="net.sourceforge.rswt.common"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.osgi"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.update.configurator"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> </feature>
>
>
>
> ---------------------------------------------------
>
>
> Here is the generated .jnlp....
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <jnlp spec="1.0+" codebase="file:/C:/temp/controlexample">
> <information>
> <title>net.sourceforge.rswt.controlexample.client</title>
> <vendor>rswt.sf.net</vendor>
> <offline-allowed/>
> </information>
> <security>
> <all-permissions/>
> </security>
> <component-desc/>
> <resources>
> <j2se version="1.4+" />
> </resources>
> <resources>
> <jar href="plugins/org.eclipse.swt_3.1.0.jar"/>
> <jar href="plugins/org.eclipse.core.runtime_3.1.0.jar"/>
> <jar href="plugins/org.eclipse.osgi.services_3.1.0.jar"/>
> <jar href="plugins/org.eclipse.osgi.util_3.1.0.jar"/>
> <jar
> href="plugins/net.sourceforge.rswt.examples.client_1.0.0.jar "/>
> <jar href="plugins/net.sourceforge.rswt.client_1.0.0.jar"/>
> <jar href="plugins/net.sourceforge.rswt.common_1.0.0.jar"/>
> <jar href="plugins/org.eclipse.osgi_3.1.0.jar"/>
> <jar href="plugins/org.eclipse.update.configurator_3.1.0.jar"/>
> </resources>
> </jnlp>
>
>
>
> -----------------------------------------------
>
> Here is my 'main' .jnlp.....
>
> <?xml version="1.0" encoding="UTF-8"?>
> <jnlp
> spec="1.0+"
> codebase="file:/C:/temp/controlexample"
> href="controlexample.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> RSWT ControlExample Application </title>
> <!-- vendor name -->
> <vendor>rswt.sf.net</vendor>
> <!-- vendor homepage -->
> <homepage href="http://rswt.sf.net" />
> <!-- product description -->
> <description>This is an RSWT example application</description>
> <icon kind="splash" href="splash.jpg"/>
> </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 consituting the
> application -->
> <!-- Here we are refering to the wrappering feature since it
> transitively refers to all the other plug-ins necessary -->
> <extension
> name="RSWT Control Example"
>
> href=" features/net.sourceforge.rswt.controlexample.client_1.0.0.jn lp "/>
>
> <!-- Information usually specified in the config.ini -->
> <property
> name="osgi.instance.area"
> value="@user.home/Application Data/rswt/controlexample"/>
> <property
> name="osgi.configuration.area"
> value="@user.home/Application Data/rswt/controlexample"/>
>
> <!-- The id of the product to run, like found in the overview page
> of the product editor -->
> <property
> name="eclipse.product"
> value="net.sourceforge.rswt.examples.client.controlexample"/ >
>
> </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.4+"/>
> </resources>
> <resources os="Linux">
> <j2se version="1.4+"/>
> </resources>
> </jnlp>
>
>
>
> --------------------------------
>
>
> Anybody got a clue for me?
> TIA,
>
>
> ted stockwell
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435869 is a reply to message #435865] Thu, 25 August 2005 14:02 Go to previous messageGo to next message
Ricky is currently offline RickyFriend
Messages: 204
Registered: July 2009
Senior Member
> It looks like your osgi jar is corrupted. Clean your cache and make sure
> that the class being looked for is actually in the jar.

Its interesting I do have exactly the same error at the moment. So we have
the same corrupted jar?! Or the export process generates the same one...

Ricky
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435983 is a reply to message #435865] Sun, 28 August 2005 14:55 Go to previous messageGo to next message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
Pascal Rapicault wrote:
> It looks like your osgi jar is corrupted. Clean your cache and make sure
> that the class being looked for is actually in the jar.
>
> HTH
>


Nope, that is not the problem.
After considerable effort I have finally discovered a clue as to what the problem is. I included -debug as an argument to
WebStartMain and trapped the output in the JWS console (no easy task ;-(). It appears to me that the location of the framework
is being miscalculated. Notice these lines...

Framework located:
file:/C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
Framework classpath:
file:/C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar


-------------------

QUESTION: Shouldn't the framework location be referencing the org.eclipse.osgo plugin instead of the org.eclipse.osgo.services
plugin?






here's the full output of the JWS console...
-------------------------------------------

Java Web Start 1.5.0_04
Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\ted stockwell
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
0-5: set trace level to <n>
----------------------------------------------------
args[0]=-nosplash
args[1]=-debug
args[2]=-url rmi://localhost/net.sourceforge.rswt.examples.controlexample .ControlExample
Configuration location:
file:/C:/Documents and Settings/ted stockwell/.rswt/controlexample/
Configuration file:
file:/C:/Documents and Settings/ted stockwell/.rswt/controlexample/config.ini not found or not read
Install location:
file:/c:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/
Configuration file:
file:/c:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/configuration/config.ini not found or not read
Shared configuration location:
file:/c:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/configuration/
Framework located:
file:/C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
Framework classpath:
file:/C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
Osgi bundles before conversion:
org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.core.runtime_ 3..1.0.jar
file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.update.config urator_3.1.0.jar
Bundles list:

reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/rt.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/jsse.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/jce.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/charsets.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/javaws.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/deploy.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/dnsns.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/localedata.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/sunjce_provider.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/sunpkcs11.jar
reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/deploy.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/RMstartup.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.swt_3.1.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.core.runtime_ 3.1.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.util_3.1 .0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.exam ples.client_1.0.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.clie nt_1.0.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.comm on_1.0.0.jar
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi_3.1.0.ja r
reference:file:C:/Documents and Settings/ted stockwell/Application
Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.update.config urator_3.1.0.jar
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435995 is a reply to message #435869] Mon, 29 August 2005 10:17 Go to previous messageGo to next message
Ricky is currently offline RickyFriend
Messages: 204
Registered: July 2009
Senior Member
>> It looks like your osgi jar is corrupted. Clean your cache and make
>> sure that the class being looked for is actually in the jar.
>
> Its interesting I do have exactly the same error at the moment. So we
> have the same corrupted jar?! Or the export process generates the same
> one...

I solved the problem and did it in the most ugly fashion. Evertime I
export my application I get this exception and when I exchange the
org.eclispe.osgi jar with a previously generated version the app runs fine
! So my export is totally screwed up and generates a currupt osgi jar.

Ricky
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #435998 is a reply to message #435995] Mon, 29 August 2005 11:09 Go to previous messageGo to next message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
Ricky wrote:
>>> It looks like your osgi jar is corrupted. Clean your cache and make
>>> sure that the class being looked for is actually in the jar.
>>
>>
>> Its interesting I do have exactly the same error at the moment. So we
>> have the same corrupted jar?! Or the export process generates the
>> same one...
>
>
> I solved the problem and did it in the most ugly fashion. Evertime I
> export my application I get this exception and when I exchange the
> org.eclispe.osgi jar with a previously generated version the app runs
> fine ! So my export is totally screwed up and generates a currupt osgi
> jar.
>
> Ricky

That's wierd because I'm sure that is not the problem with my application.
I tested my application to see if the org.eclipse.osgi plugin was corrupt by running the generated/signed/jnlp version of my
application outside of Java WebStart. I am able to sucessfully run my application with the folowing command...

java -cp startup.jar org.eclipse.core.launcher.Main -product org.sourceforge.rswt.controlexample

That proved to me that my jars were OK.
Re: RCP WebStart problem - ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter [message #436234 is a reply to message #435983] Fri, 02 September 2005 11:43 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 440
Registered: July 2009
Senior Member
This should be fixed in 3.1.1 builds.

ted stockwell wrote:
> Pascal Rapicault wrote:
>
>> It looks like your osgi jar is corrupted. Clean your cache and make
>> sure that the class being looked for is actually in the jar.
>>
>> HTH
>
> >
>
>
> Nope, that is not the problem.
> After considerable effort I have finally discovered a clue as to what
> the problem is. I included -debug as an argument to WebStartMain and
> trapped the output in the JWS console (no easy task ;-(). It appears to
> me that the location of the framework is being miscalculated. Notice
> these lines...
>
> Framework located:
> file:/C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
>
> Framework classpath:
> file:/C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
>
>
>
> -------------------
>
> QUESTION: Shouldn't the framework location be referencing the
> org.eclipse.osgo plugin instead of the org.eclipse.osgo.services plugin?
>
>
>
>
>
>
> here's the full output of the JWS console...
> -------------------------------------------
>
> Java Web Start 1.5.0_04
> Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
> User home directory = C:\Documents and Settings\ted stockwell
> ----------------------------------------------------
> c: clear console window
> f: finalize objects on finalization queue
> g: garbage collect
> h: display this help message
> m: print memory usage
> o: trigger logging
> p: reload proxy configuration
> q: hide console
> r: reload policy configuration
> s: dump system and deployment properties
> t: dump thread list
> 0-5: set trace level to <n>
> ----------------------------------------------------
> args[0]=-nosplash
> args[1]=-debug
> args[2]=-url
> rmi://localhost/net.sourceforge.rswt.examples.controlexample .ControlExample
> Configuration location:
> file:/C:/Documents and Settings/ted stockwell/.rswt/controlexample/
> Configuration file:
> file:/C:/Documents and Settings/ted
> stockwell/.rswt/controlexample/config.ini not found or not read
> Install location:
> file:/c:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/
>
> Configuration file:
> file:/c:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/configuration/config.ini
> not found or not read
> Shared configuration location:
> file:/c:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/configuration/
>
> Framework located:
> file:/C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
>
> Framework classpath:
> file:/C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
>
> Osgi bundles before conversion:
> org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
> file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.core.runtime_ 3..1.0.jar
>
> file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.update.config urator_3.1.0.jar
>
> Bundles list:
>
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/rt.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/jsse.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/jce.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/charsets.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/javaws.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/deploy.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/dnsns.jar
> reference:file:/C:/Program
> Files/Java/jre1.5.0_04/lib/ext/localedata.jar
> reference:file:/C:/Program
> Files/Java/jre1.5.0_04/lib/ext/sunjce_provider.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/ext/sunpkcs11.jar
> reference:file:/C:/Program Files/Java/jre1.5.0_04/lib/deploy.jar
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/RMstartup.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.swt_3.1.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.core.runtime_ 3.1.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.services _3.1.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi.util_3.1 .0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.exam ples.client_1.0.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.clie nt_1.0.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMnet.sourceforge.rswt.comm on_1.0.0.jar
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.osgi_3.1.0.ja r
>
> reference:file:C:/Documents and Settings/ted stockwell/Application
> Data/Sun/Java/Deployment/cache/javaws/file/D/P-1/DMC&c/D Mtemp/DMcontrolexample/DMplugins/RMorg.eclipse.update.config urator_3.1.0.jar
>
Previous Topic:IProgressService.busyCursorWhile and event queue
Next Topic:Problem with JBoss 3.2.3, Web Start and RCP
Goto Forum:
  


Current Time: Thu Dec 26 10:07:56 GMT 2024

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

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

Back to the top