[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] RE: equinox-dev Digest, Vol 28, Issue 48

Hi,
In fact, i'm not starting an RCP application so i don't have a product
defined. I was asking what could I specify for the following property in
jnlp file:

	<!-- The id of the product to run, like found in the overview
page of the product editor -->
    <property 
        name="eclipse.product" 
        value="???"/>

I want to start a whole eclipse platform. I tried to include all eclipse
plugins but I'm not able to specify the product to launch.
It is not a class cast exception but the following:



Thanks a lot,
Zahi

!SESSION 2007-08-23 19:16:05.563
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.equinox.app 2007-08-23 19:16:07.328
!MESSAGE Product ??? could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-08-23 19:16:07.359
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
	at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(Ecl
ipseAppContainer.java:229)
	at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppCon
tainer.java:92)
	at
org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:
129)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.
java:1064)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1
042)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTrack
er.java:967)
	at
org.eclipse.osgi.framework.internal.core.FilteredServiceListener.service
Changed(FilteredServiceListener.java:94)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent
(BundleContextImpl.java:1224)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana
ger.java:195)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchrono
us(ListenerQueue.java:141)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPr
ivileged(Framework.java:1603)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(F
ramework.java:1578)
	at
org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(
ServiceRegistrationImpl.java:103)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.createService
Registration(BundleContextImpl.java:657)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerServi
ce(BundleContextImpl.java:609)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerServi
ce(BundleContextImpl.java:675)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
359)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
176)
	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.equinox.launcher.Main.invokeFramework(Main.java:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at
org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
	at
org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
	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)

Message: 2
Date: Thu, 23 Aug 2007 08:35:14 -0500
From: Thomas Watson <tjwatson@xxxxxxxxxx>
Subject: Re: [equinox-dev] Starting Eclipse platform with java
	webstart
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Message-ID:
	
<OFE1E0FC90.E143BF3C-ON86257340.004A5A71-86257340.004A9BF7@xxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

What errors if any do you see?  Is it a ClassCastException?  We are 
currently investigating a webstart issue on 3.3 see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=198462.  This bug may be 
causing you trouble.

Tom




"CHEMALY Zahi" <Zahi.CHEMALY@xxxxxxxxx> 
Sent by: equinox-dev-bounces@xxxxxxxxxxx
08/23/2007 02:48 AM
Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>


To
<equinox-dev@xxxxxxxxxxx>
cc

Subject
[equinox-dev] Starting Eclipse platform with java webstart






 
Hi,
Sorry for the mass mail, but i was trying to start the platform from a 
java webstart. And I still didn?t manage it to work!
 
Could Eclipse 3.3 be started from a java webstart? (it is not the simple

case of a simple RCP, but the whole platform)
Has it been done before?
In the jnlp example file provided in the help I have to specify an 
eclipse.product property value to run. I?ve tried unsuccessfully the 
different ones found in the osgi bundle. What did I miss?
Should I create a new separate product project in eclipse and make it
call 
the main class in osgi plugin to start it?
 
Thanks a lot,
Zahi
 
******************************* 
This e-mail contains information for the intended recipient only.  It
may 
contain proprietary material or confidential information.  If you are
not 
the intended recipient you are not authorised to distribute, copy or use

this e-mail or any attachment to it.  Murex cannot guarantee that it is 
virus free and accepts no responsibility for any loss or damage arising 
from its use.  If you have received this e-mail in error please notify 
immediately the sender and delete the original email received, any 
attachments and all copies from your system. 
 _______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://dev.eclipse.org/mailman/listinfo/equinox-dev/attachments/2007082
3/77711d87/attachment.html

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

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


End of equinox-dev Digest, Vol 28, Issue 48
******************************************* 
 
*******************************
This e-mail contains information for the intended recipient only.  It may contain proprietary material or confidential information.  If you are not the intended recipient you are not authorised to distribute, copy or use this e-mail or any attachment to it.  Murex cannot guarantee that it is virus free and accepts no responsibility for any loss or damage arising from its use.  If you have received this e-mail in error please notify immediately the sender and delete the original email received, any attachments and all copies from your system.