You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by re...@orange-ftgroup.com on 2011/12/13 14:35:20 UTC
Infinite loop when I start a bundle
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
RE : Infinite loop when I start a bundle
Posted by re...@orange.com.
My mistake, I had a problem with one of my property element. It works well now :-)
Thanks you.
-------- Message d'origine--------
De: Clement Escoffier [mailto:clement.escoffier@gmail.com]
Date: mer. 14/12/2011 14:24
À: users@felix.apache.org
Objet : Re: Infinite loop when I start a bundle
Hi,
On 14.12.2011, at 14:18, <re...@orange.com> wrote:
> Hi,
>
> Indeed, it works better with the last version.
>
> But I am facing a new problem. At the origin, I didn't wanted to use annotation in my source code. So I declare my components et my composite in the same file. Is it possible ? Is it something like that ?
>
> <composite>
> <component>...</component>
> <component>...</component>
>
> <instance/>
> <instance/>
> </composite>
>
> <instance/>
>
>
> or
>
> <component>...</component>
> <component>...</component>
>
> <composite>
> <instance/>
> <instance/>
> </composite>
>
> <instance/>
>
This should work.
Declare the component with valid name, and use this name in the instances:
<component name="type1">
...
</component>
<composite name="compo1">
<instance component="type1"/>
</composite>
<instance component="compo1"/>
Regards,
Clement
>
> Both seems not working :-/
>
> Thanks,
>
> Regards,
>
>
> -------- Message d'origine--------
> De: Clement Escoffier [mailto:clement.escoffier@gmail.com]
> Date: mer. 14/12/2011 09:45
> À: users@felix.apache.org
> Objet : Re: Infinite loop when I start a bundle
>
> Hi,
>
> I think this issue is already fixed (https://issues.apache.org/jira/browse/FELIX-3130). When I use the trunk version, I've the following result:
>
> g! Toto
> Titi
> g!lb
> START LEVEL 1
> ID|State |Level|Name
> 0|Active | 0|System Bundle (3.2.1)
> 1|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
> 2|Active | 1|Apache Felix File Install (3.1.10)
> 3|Active | 1|Apache Felix iPOJO (1.9.0.SNAPSHOT)
> 4|Active | 1|osgi.cmpn (4.2.0.200908310645)
> 5|Active | 1|Apache Felix Gogo Command (0.8.0)
> 6|Active | 1|Apache Felix Gogo Runtime (0.8.0)
> 7|Active | 1|Apache Felix Gogo Shell (0.8.0)
> 8|Active | 1|Apache Felix iPOJO Gogo Command (1.0.1)
> 9|Active | 1|Apache Felix iPOJO Composite (1.9.0.SNAPSHOT)
> 10|Active | 1|local-coordinator (0.1.0.SNAPSHOT)
>
> Could you retry with the trunk version ?
>
> Regards,
>
> Clement
>
> On 13.12.2011, at 14:35, remi.druilhe@orange-ftgroup.com wrote:
>
>> Hello,
>>
>> I recently decided to look at felix and ipojo and, after having done the tutorials, I am trying to create my own application using composition.
>>
>> But it seems that I have a problem when I try to start my bundle. IPojo is trying to create something. Here is the output error (I don't have the beginning of the error because the error displays in a loop):
>>
>> ...
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> ...
>>
>> I can only stop it using a kill command. I am attaching my code. I am not sure that the metadata.xml is well formatted, but I haven't seen any examples that declare a component and a composite in the same file.
>>
>> Could you look at my sources and tell me if I made a mistake somewhere ?
>>
>> Thanks,
>>
>> Regards.
>> --
>> <orange_logo.gif>
>> DRUILHE Remi RD-MAPS-GRE
>> PhD Student MAPS/SHINE/MADE
>> Tel : +33 (0)4 76 76 24 27
>> Email: remi.druilhe@orange.com
>> R&D Grenoble 28 chemin du Vieux Chêne - BP98 38243 Meylan Cedex - France
>>
>> <source.tar.gz>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Infinite loop when I start a bundle
Posted by Clement Escoffier <cl...@gmail.com>.
Hi,
On 14.12.2011, at 14:18, <re...@orange.com> wrote:
> Hi,
>
> Indeed, it works better with the last version.
>
> But I am facing a new problem. At the origin, I didn't wanted to use annotation in my source code. So I declare my components et my composite in the same file. Is it possible ? Is it something like that ?
>
> <composite>
> <component>...</component>
> <component>...</component>
>
> <instance/>
> <instance/>
> </composite>
>
> <instance/>
>
>
> or
>
> <component>...</component>
> <component>...</component>
>
> <composite>
> <instance/>
> <instance/>
> </composite>
>
> <instance/>
>
This should work.
Declare the component with valid name, and use this name in the instances:
<component name="type1">
...
</component>
<composite name="compo1">
<instance component="type1"/>
</composite>
<instance component="compo1"/>
Regards,
Clement
>
> Both seems not working :-/
>
> Thanks,
>
> Regards,
>
>
> -------- Message d'origine--------
> De: Clement Escoffier [mailto:clement.escoffier@gmail.com]
> Date: mer. 14/12/2011 09:45
> À: users@felix.apache.org
> Objet : Re: Infinite loop when I start a bundle
>
> Hi,
>
> I think this issue is already fixed (https://issues.apache.org/jira/browse/FELIX-3130). When I use the trunk version, I've the following result:
>
> g! Toto
> Titi
> g!lb
> START LEVEL 1
> ID|State |Level|Name
> 0|Active | 0|System Bundle (3.2.1)
> 1|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
> 2|Active | 1|Apache Felix File Install (3.1.10)
> 3|Active | 1|Apache Felix iPOJO (1.9.0.SNAPSHOT)
> 4|Active | 1|osgi.cmpn (4.2.0.200908310645)
> 5|Active | 1|Apache Felix Gogo Command (0.8.0)
> 6|Active | 1|Apache Felix Gogo Runtime (0.8.0)
> 7|Active | 1|Apache Felix Gogo Shell (0.8.0)
> 8|Active | 1|Apache Felix iPOJO Gogo Command (1.0.1)
> 9|Active | 1|Apache Felix iPOJO Composite (1.9.0.SNAPSHOT)
> 10|Active | 1|local-coordinator (0.1.0.SNAPSHOT)
>
> Could you retry with the trunk version ?
>
> Regards,
>
> Clement
>
> On 13.12.2011, at 14:35, remi.druilhe@orange-ftgroup.com wrote:
>
>> Hello,
>>
>> I recently decided to look at felix and ipojo and, after having done the tutorials, I am trying to create my own application using composition.
>>
>> But it seems that I have a problem when I try to start my bundle. IPojo is trying to create something. Here is the output error (I don't have the beginning of the error because the error displays in a loop):
>>
>> ...
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
>> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
>> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
>> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
>> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
>> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
>> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
>> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
>> ...
>>
>> I can only stop it using a kill command. I am attaching my code. I am not sure that the metadata.xml is well formatted, but I haven't seen any examples that declare a component and a composite in the same file.
>>
>> Could you look at my sources and tell me if I made a mistake somewhere ?
>>
>> Thanks,
>>
>> Regards.
>> --
>> <orange_logo.gif>
>> DRUILHE Remi RD-MAPS-GRE
>> PhD Student MAPS/SHINE/MADE
>> Tel : +33 (0)4 76 76 24 27
>> Email: remi.druilhe@orange.com
>> R&D Grenoble 28 chemin du Vieux Chêne - BP98 38243 Meylan Cedex - France
>>
>> <source.tar.gz>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
RE : Infinite loop when I start a bundle
Posted by re...@orange.com.
Hi,
Indeed, it works better with the last version.
But I am facing a new problem. At the origin, I didn't wanted to use annotation in my source code. So I declare my components et my composite in the same file. Is it possible ? Is it something like that ?
<composite>
<component>...</component>
<component>...</component>
<instance/>
<instance/>
</composite>
<instance/>
or
<component>...</component>
<component>...</component>
<composite>
<instance/>
<instance/>
</composite>
<instance/>
Both seems not working :-/
Thanks,
Regards,
-------- Message d'origine--------
De: Clement Escoffier [mailto:clement.escoffier@gmail.com]
Date: mer. 14/12/2011 09:45
À: users@felix.apache.org
Objet : Re: Infinite loop when I start a bundle
Hi,
I think this issue is already fixed (https://issues.apache.org/jira/browse/FELIX-3130). When I use the trunk version, I've the following result:
g! Toto
Titi
g!lb
START LEVEL 1
ID|State |Level|Name
0|Active | 0|System Bundle (3.2.1)
1|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
2|Active | 1|Apache Felix File Install (3.1.10)
3|Active | 1|Apache Felix iPOJO (1.9.0.SNAPSHOT)
4|Active | 1|osgi.cmpn (4.2.0.200908310645)
5|Active | 1|Apache Felix Gogo Command (0.8.0)
6|Active | 1|Apache Felix Gogo Runtime (0.8.0)
7|Active | 1|Apache Felix Gogo Shell (0.8.0)
8|Active | 1|Apache Felix iPOJO Gogo Command (1.0.1)
9|Active | 1|Apache Felix iPOJO Composite (1.9.0.SNAPSHOT)
10|Active | 1|local-coordinator (0.1.0.SNAPSHOT)
Could you retry with the trunk version ?
Regards,
Clement
On 13.12.2011, at 14:35, remi.druilhe@orange-ftgroup.com wrote:
> Hello,
>
> I recently decided to look at felix and ipojo and, after having done the tutorials, I am trying to create my own application using composition.
>
> But it seems that I have a problem when I try to start my bundle. IPojo is trying to create something. Here is the output error (I don't have the beginning of the error because the error displays in a loop):
>
> ...
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> ...
>
> I can only stop it using a kill command. I am attaching my code. I am not sure that the metadata.xml is well formatted, but I haven't seen any examples that declare a component and a composite in the same file.
>
> Could you look at my sources and tell me if I made a mistake somewhere ?
>
> Thanks,
>
> Regards.
> --
> <orange_logo.gif>
> DRUILHE Remi RD-MAPS-GRE
> PhD Student MAPS/SHINE/MADE
> Tel : +33 (0)4 76 76 24 27
> Email: remi.druilhe@orange.com
> R&D Grenoble 28 chemin du Vieux Chêne - BP98 38243 Meylan Cedex - France
>
> <source.tar.gz>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
Re: Infinite loop when I start a bundle
Posted by Clement Escoffier <cl...@gmail.com>.
Hi,
I think this issue is already fixed (https://issues.apache.org/jira/browse/FELIX-3130). When I use the trunk version, I've the following result:
g! Toto
Titi
g!lb
START LEVEL 1
ID|State |Level|Name
0|Active | 0|System Bundle (3.2.1)
1|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
2|Active | 1|Apache Felix File Install (3.1.10)
3|Active | 1|Apache Felix iPOJO (1.9.0.SNAPSHOT)
4|Active | 1|osgi.cmpn (4.2.0.200908310645)
5|Active | 1|Apache Felix Gogo Command (0.8.0)
6|Active | 1|Apache Felix Gogo Runtime (0.8.0)
7|Active | 1|Apache Felix Gogo Shell (0.8.0)
8|Active | 1|Apache Felix iPOJO Gogo Command (1.0.1)
9|Active | 1|Apache Felix iPOJO Composite (1.9.0.SNAPSHOT)
10|Active | 1|local-coordinator (0.1.0.SNAPSHOT)
Could you retry with the trunk version ?
Regards,
Clement
On 13.12.2011, at 14:35, remi.druilhe@orange-ftgroup.com wrote:
> Hello,
>
> I recently decided to look at felix and ipojo and, after having done the tutorials, I am trying to create my own application using composition.
>
> But it seems that I have a problem when I try to start my bundle. IPojo is trying to create something. Here is the output error (I don't have the beginning of the error because the error displays in a loop):
>
> ...
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:301)
> at org.apache.felix.ipojo.composite.FactoryProxy.createComponentInstance(FactoryProxy.java:87)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__createInstance(InstanceHandler.java:160)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.createInstance(InstanceHandler.java)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.__bindFactory(InstanceHandler.java:184)
> at org.apache.felix.ipojo.composite.instance.InstanceHandler.bindFactory(InstanceHandler.java)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.felix.ipojo.util.Callback.call(Callback.java:260)
> at org.apache.felix.ipojo.handlers.dependency.DependencyCallback.callOnInstance(DependencyCallback.java:309)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.invokeCallback(Dependency.java:314)
> at org.apache.felix.ipojo.handlers.dependency.Dependency.onObjectCreation(Dependency.java:279)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.__onCreation(DependencyHandler.java:645)
> at org.apache.felix.ipojo.handlers.dependency.DependencyHandler.onCreation(DependencyHandler.java)
> at org.apache.felix.ipojo.HandlerManager.start(HandlerManager.java:132)
> at org.apache.felix.ipojo.composite.CompositeManager.start(CompositeManager.java:346)
> at org.apache.felix.ipojo.composite.CompositeFactory.createInstance(CompositeFactory.java:147)
> ...
>
> I can only stop it using a kill command. I am attaching my code. I am not sure that the metadata.xml is well formatted, but I haven't seen any examples that declare a component and a composite in the same file.
>
> Could you look at my sources and tell me if I made a mistake somewhere ?
>
> Thanks,
>
> Regards.
> --
> <orange_logo.gif>
> DRUILHE Remi RD-MAPS-GRE
> PhD Student MAPS/SHINE/MADE
> Tel : +33 (0)4 76 76 24 27
> Email: remi.druilhe@orange.com
> R&D Grenoble 28 chemin du Vieux Chêne - BP98 38243 Meylan Cedex - France
>
> <source.tar.gz>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org