List Info

Thread: equinox and eclipse 3.3




equinox and eclipse 3.3
user name
2007-08-14 22:23:34
When I started the eclipse with that config.ini supplied
with
equinox-osgi-m6, my eclipse doesn't start and I have the
following
error in the log file:

!SESSION 2007-08-15 00:20:04.463
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.equinox.app 2007-08-15 00:20:08.548
!MESSAGE Product org.eclipse.sdk.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-08-15 00:20:08.605
!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:229)
	at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(E
clipseAppContainer.java:92)
	at
org.eclipse.equinox.internal.app.Activator.addingService(Act
ivator.java:129)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(Ser
viceTracker.java:1064)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTr
acker.java:1042)
	at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(
ServiceTracker.java:967)
	at
org.eclipse.osgi.framework.internal.core.FilteredServiceList
ener.serviceChanged(FilteredServiceListener.java:94)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d
ispatchEvent(BundleContextImpl.java:1224)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
nt(EventManager.java:195)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv
entSynchronous(ListenerQueue.java:141)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEventPrivileged(Framework.java:1603)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEvent(Framework.java:1578)
	at
org.eclipse.osgi.framework.internal.core.ServiceRegistration
Impl.<init>(ServiceRegistrationImpl.java:103)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c
reateServiceRegistration(BundleContextImpl.java:657)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:609)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:675)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:359)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.Main.run(Main.java:1169)

Could you help me with that error?

Thanks a lot.

-- 
Alessandro Badin


  
Re: equinox and eclipse 3.3
user name
2007-08-16 02:39:46
Hi Alessendro.
The provided config.ini is suited for a standalone
EasyBeans.
If you want to make easybeanss run inside Eclipse (as
someone already 
sucessfully done it), I suspect that you should take the
eclipse's 
original config.ini and add all the needed system packages.
In brief, make a merge 

Thank you to report us when you will get something up and
running, I 
will update the documentation for the eclipse embedding
case.
In the meantime, don't hesitate to keep us posted with your
progress and 
problems.

Regards
--Guillaume

Alessandro Badin wrote:
> When I started the eclipse with that config.ini
supplied with
> equinox-osgi-m6, my eclipse doesn't start and I have
the following
> error in the log file:
>
> !SESSION 2007-08-15 00:20:04.463
-----------------------------------------------
> eclipse.buildId=I20070625-1500
> java.version=1.6.0_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk,
NL=en_US
> Command-line arguments:  -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.equinox.app 2007-08-15 00:20:08.548
> !MESSAGE Product org.eclipse.sdk.ide could not be
found.
>
> !ENTRY org.eclipse.osgi 4 0 2007-08-15 00:20:08.605
> !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:229)
> 	at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(E
clipseAppContainer.java:92)
> 	at
org.eclipse.equinox.internal.app.Activator.addingService(Act
ivator.java:129)
> 	at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(Ser
viceTracker.java:1064)
> 	at
org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTr
acker.java:1042)
> 	at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(
ServiceTracker.java:967)
> 	at
org.eclipse.osgi.framework.internal.core.FilteredServiceList
ener.serviceChanged(FilteredServiceListener.java:94)
> 	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d
ispatchEvent(BundleContextImpl.java:1224)
> 	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
nt(EventManager.java:195)
> 	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv
entSynchronous(ListenerQueue.java:141)
> 	at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEventPrivileged(Framework.java:1603)
> 	at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEvent(Framework.java:1578)
> 	at
org.eclipse.osgi.framework.internal.core.ServiceRegistration
Impl.<init>(ServiceRegistrationImpl.java:103)
> 	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c
reateServiceRegistration(BundleContextImpl.java:657)
> 	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:609)
> 	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:675)
> 	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:359)
> 	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:176)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39)
> 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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.Main.run(Main.java:1169)
>
> Could you help me with that error?
>
> Thanks a lot.
>
>   


  
  
Re: equinox and eclipse 3.3
user name
2007-08-16 19:50:52
Hello Guillaume,

When I run my plugin application in Eclipse I can see some
plug-in
when I type "ss" on the equinox console:

3	INSTALLED   org.objectweb.easybeans_0.1.0

and when I try to start that service I receive this
massage.

osgi> start 3
org.osgi.framework.BundleException: The bundle could not be
resolved.
Reason: Missing Constraint: Import-Package:
javax.management;
version="1.5.0"
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor
ker(BundleHost.java:305)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star
t(AbstractBundle.java:260)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star
t(AbstractBundle.java:252)
	at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro
vider._start(FrameworkCommandProvider.java:260)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt
erpreter.execute(FrameworkCommandInterpreter.java:145)
	at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do
command(FrameworkConsole.java:291)
	at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.co
nsole(FrameworkConsole.java:276)
	at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru
n(FrameworkConsole.java:218)
	at java.lang.Thread.run(Thread.java:619)

I haven't found the place where I could configure the
org.osgi.framework.system.packages variable the same way I
run equinox
outside the Eclipse.

Could you give me some light?

Thanks in advance.

[]s

On 8/16/07, Guillaume Sauthier <Guillaume.Sauthierobjectweb.org> wrote:
> Hi Alessendro.
> The provided config.ini is suited for a standalone
EasyBeans.
> If you want to make easybeanss run inside Eclipse (as
someone already
> sucessfully done it), I suspect that you should take
the eclipse's
> original config.ini and add all the needed system
packages.
> In brief, make a merge 
>
> Thank you to report us when you will get something up
and running, I
> will update the documentation for the eclipse embedding
case.
> In the meantime, don't hesitate to keep us posted with
your progress and
> problems.
>
> Regards
> --Guillaume
>
> Alessandro Badin wrote:
> > When I started the eclipse with that config.ini
supplied with
> > equinox-osgi-m6, my eclipse doesn't start and I
have the following
> > error in the log file:
> >
> > !SESSION 2007-08-15 00:20:04.463
-----------------------------------------------
> > eclipse.buildId=I20070625-1500
> > java.version=1.6.0_01
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=linux, ARCH=x86, WS=gtk,
NL=en_US
> > Command-line arguments:  -os linux -ws gtk -arch
x86
> >
> > !ENTRY org.eclipse.equinox.app 2007-08-15
00:20:08.548
> > !MESSAGE Product org.eclipse.sdk.ide could not be
found.
> >
> > !ENTRY org.eclipse.osgi 4 0 2007-08-15
00:20:08.605
> > !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:229)
> >       at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(E
clipseAppContainer.java:92)
> >       at
org.eclipse.equinox.internal.app.Activator.addingService(Act
ivator.java:129)
> >       at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(Ser
viceTracker.java:1064)
> >       at
org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTr
acker.java:1042)
> >       at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(
ServiceTracker.java:967)
> >       at
org.eclipse.osgi.framework.internal.core.FilteredServiceList
ener.serviceChanged(FilteredServiceListener.java:94)
> >       at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d
ispatchEvent(BundleContextImpl.java:1224)
> >       at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
nt(EventManager.java:195)
> >       at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv
entSynchronous(ListenerQueue.java:141)
> >       at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEventPrivileged(Framework.java:1603)
> >       at
org.eclipse.osgi.framework.internal.core.Framework.publishSe
rviceEvent(Framework.java:1578)
> >       at
org.eclipse.osgi.framework.internal.core.ServiceRegistration
Impl.<init>(ServiceRegistrationImpl.java:103)
> >       at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.c
reateServiceRegistration(BundleContextImpl.java:657)
> >       at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:609)
> >       at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r
egisterService(BundleContextImpl.java:675)
> >       at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:359)
> >       at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:176)
> >       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39)
> >       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
> >       at
java.lang.reflect.Method.invoke(Method.java:597)
> >       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.Main.run(Main.java:1169)
> >
> > Could you help me with that error?
> >
> > Thanks a lot.
> >
> >
>
>
>
> --
> You receive this message as a subscriber of the
easybeansobjectweb.org mailing list.
> To unsubscribe: mailto:easybeans-unsubscribeobjectweb.org
> For general help: mailto:sympaobjectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org
/wws
>
>
>


-- 
Alessandro Badin


  
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )