You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Emmanuel Guiton <em...@intrinsec.com> on 2010/09/24 12:30:53 UTC

SU does not find SE ?

Hello,

I am trying to build and deploy a custom service engine and its 
corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I 
followed the steps in the HelloWorld SE tutorial.

I succeed in building my helloWorld SE, the corresponding helloWorld SU, 
a servicemix-http SU to bind with the helloWorld SU and the helloWorld 
SA to deploy the 2 SUs.

When I deploy the SE and the SA, I can see them appear in the karaf 
console :
[ 219] [Active     ] [            ] [       ] [   60] An Hello World 
Service Engine (1.0.0)
[ 220] [Active     ] [            ] [       ] [   60] hello-world-sa (0.0.0)

But in fact the SA does not deploy correctly, as shown in the logs :
12:07:42,873 | INFO  | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  323 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying 
bundle 'null (hello-world-sa)' as a JBI service assembly
12:07:42,874 | WARN  | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  339 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | 
Requirements not met for JBI artifact in bundle null (hello-world-sa). 
Installation pending. 
org.apache.servicemix.jbi.deployer.impl.PendingException: Component not 
installed: hello-world-se

It seems to me that the helloWorld SU cannot find the helloWorld SE 
while it is indeed installed and active.
I cannot find any clue to solve this issue. Does it come from the SE ? 
Does it come from the SU ?
Can anyone help me to solve this ?
Attached are the SE and SU pom.xml files and the SU xbean.xml file.

In addition, I tried installing both SE and SA in the more recent 
ServiceMix 4.3.0-fuse-01-00 version.
This time, the SE (the exact same SE) never appears in karaf console.

Thanks for any help,
  - emmanuel

-- 
Ingénieur études et développements
Intrinsec
215, avenue Georges Clemenceau
92000 Nanterre
http://www.intrinsec.com



 

Emmanuel GUITON

Ingénieur développement 
Standard : +33 1 41 91 77 77 l Fax : +33 1 41 91 77 78

215, avenue Georges Clemenceau l 92024 NANTERRE
http://infogerance.intrinsec.com/2010/04/informatique-de-lunicef-un-cloud-au-secours-dhaiti.html
http://www.intrinsec.com/
 


Re: SU does not find SE ?

Posted by Emmanuel Guiton <em...@intrinsec.com>.
Here it is.
(That was the second pom.xml in my first message by the way. It may 
already be a bit different since I'm changing it every 5 minutes to find 
a solution).

  - emmanuel


On 09/24/2010 02:54 PM, Jean-Baptiste Onofré wrote:
> Not the SU, the SE ;)
>
> On 09/24/2010 02:53 PM, Jean-Baptiste Onofré wrote:
>    
>> Hi Emmanuel,
>>
>> could you provide your pom.xml for your SU ?
>>
>> Regards
>> JB
>>
>> On 09/24/2010 02:34 PM, Emmanuel Guiton wrote:
>>      
>>> I changed the log level to debug and I got more data
>>>
>>> What i think may be the most relevant is this line (while deploying the
>>> SE) :
>>> Bundle 'An Hello World Service Engine (hello-world-se)' does not contain
>>> any JBI descriptor.
>>>
>>> And in fact, that is true. Although a jbi.xml (attached) is generated,
>>> it is not embedded in the final jar archive.
>>> Could that be the real issue ?
>>>
>>>
>>> Here are the logs for the SE deployment :
>>>
>>> 14:19:38,619 | DEBUG | use-00-00/deploy | Activator |
>>> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
>>> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-se
>>> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespacePlugins |
>>> nternal.support.NamespacePlugins 115 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Removing handler An Hello
>>> World Service Engine (hello-world-se)
>>> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespaceManager |
>>> nternal.support.NamespaceManager 163 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Removed namespace handler
>>> resolver for An Hello World Service Engine (hello-world-se)
>>> 14:19:38,620 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>>> hello-world-se - 1.0.0 | BundleEvent STOPPED
>>> 14:19:38,626 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>>> hello-world-se - 1.0.0 | BundleEvent UNRESOLVED
>>> 14:19:38,627 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>>> hello-world-se - 1.0.0 | BundleEvent UPDATED
>>> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>>> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>>> 14:19:38,644 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>>> hello-world-se - 1.0.0 | BundleEvent RESOLVED
>>> 14:19:38,644 | DEBUG | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 281 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
>>> 'An Hello World Service Engine (hello-world-se)'
>>> 14:19:38,645 | DEBUG | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 284 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Bundle 'An Hello
>>> World Service Engine (hello-world-se)' does not contain any JBI
>>> descriptor.
>>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 681 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [An Hello
>>> World Service Engine (hello-world-se)] for configurations...
>>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 687 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Creating an application
>>> context for bundle [An Hello World Service Engine (hello-world-se)]
>>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 698 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | No application context
>>> created for bundle [An Hello World Service Engine (hello-world-se)]
>>> 14:19:38,645 | DEBUG | use-00-00/deploy | NamespaceManager |
>>> nternal.support.NamespaceManager 147 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Adding namespace handler
>>> resolver for An Hello World Service Engine (hello-world-se)
>>> 14:19:38,646 | DEBUG | use-00-00/deploy | NamespacePlugins |
>>> nternal.support.NamespacePlugins 102 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Adding as handler An Hello
>>> World Service Engine (hello-world-se)
>>> 14:19:38,646 | DEBUG | use-00-00/deploy | Activator |
>>> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
>>> 2.4.0.fuse-00-00 | Bundle started: hello-world-se
>>> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
>>> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
>>> 0.1.0.r964701 | Scanning bundle hello-world-se for blueprint application
>>> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
>>> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
>>> 0.1.0.r964701 | No blueprint application found in bundle hello-world-se
>>> 14:19:38,647 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>>> hello-world-se - 1.0.0 | BundleEvent STARTED
>>>
>>>
>>> And here are the logs for the SA deployment :
>>>
>>> 14:25:27,976 | DEBUG | use-00-00/deploy | Activator |
>>> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
>>> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-sa
>>> 14:25:27,977 | DEBUG | use-00-00/deploy | NamespacePlugins |
>>> nternal.support.NamespacePlugins 115 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Removing handler null
>>> (hello-world-sa)
>>> 14:25:27,977 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>>> hello-world-sa - 0.0.0 | BundleEvent STOPPED
>>> 14:25:27,981 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>>> hello-world-sa - 0.0.0 | BundleEvent UNRESOLVED
>>> 14:25:27,982 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>>> hello-world-sa - 0.0.0 | BundleEvent UPDATED
>>> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>>> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>>> 14:25:27,982 | DEBUG | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 281 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
>>> 'null (hello-world-sa)'
>>> 14:25:27,983 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>>> hello-world-sa - 0.0.0 | BundleEvent RESOLVED
>>> 14:25:27,988 | INFO | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
>>> 'null (hello-world-sa)' as a JBI service assembly
>>> 14:25:27,988 | WARN | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
>>> met for JBI artifact in bundle null (hello-world-sa). Installation
>>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>>> Component not installed: hello-world-se
>>> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 681 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [null
>>> (hello-world-sa)] for configurations...
>>> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 687 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | Creating an application
>>> context for bundle [null (hello-world-sa)]
>>> 14:25:27,989 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>>> .activator.ContextLoaderListener 698 | 72 -
>>> org.springframework.osgi.extender - 1.2.0 | No application context
>>> created for bundle [null (hello-world-sa)]
>>> 14:25:27,989 | DEBUG | use-00-00/deploy | Activator |
>>> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
>>> 2.4.0.fuse-00-00 | Bundle started: hello-world-sa
>>> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
>>> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
>>> 0.1.0.r964701 | Scanning bundle hello-world-sa for blueprint application
>>> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
>>> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
>>> 0.1.0.r964701 | No blueprint application found in bundle hello-world-sa
>>> 14:25:27,989 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>>> hello-world-sa - 0.0.0 | BundleEvent STARTED
>>>
>>>
>>> - emmanuel
>>>
>>>
>>> On 09/24/2010 02:06 PM, Emmanuel Guiton wrote:
>>>        
>>>> Hello Jean-Baptiste,
>>>>
>>>> Thanks for answering.
>>>> How can I check the my SE is "correctly deployed" ?
>>>>
>>>> Apart from seeing it in the karaf console and no error in the logs, I do
>>>> not really know where I should look for that information.
>>>>
>>>> Regards,
>>>> - emmanuel
>>>>
>>>>
>>>> On 09/24/2010 12:44 PM, Jean-Baptiste Onofré wrote:
>>>>          
>>>>> Sorry,
>>>>>
>>>>> I'v just seen your pom.
>>>>>
>>>>> Is your se correctly deployed as a bundle in SMX ?
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
>>>>>
>>>>>            
>>>>>> Hello,
>>>>>>
>>>>>> I am trying to build and deploy a custom service engine and its
>>>>>> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
>>>>>> followed the steps in the HelloWorld SE tutorial.
>>>>>>
>>>>>> I succeed in building my helloWorld SE, the corresponding helloWorld
>>>>>> SU,
>>>>>> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
>>>>>> SA to deploy the 2 SUs.
>>>>>>
>>>>>> When I deploy the SE and the SA, I can see them appear in the karaf
>>>>>> console :
>>>>>> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
>>>>>> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>>>>>>
>>>>>> But in fact the SA does not deploy correctly, as shown in the logs :
>>>>>> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
>>>>>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>>>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying
>>>>>> bundle
>>>>>> 'null (hello-world-sa)' as a JBI service assembly
>>>>>> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
>>>>>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>>>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements
>>>>>> not
>>>>>> met for JBI artifact in bundle null (hello-world-sa). Installation
>>>>>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>>>>>> Component not installed: hello-world-se
>>>>>>
>>>>>> It seems to me that the helloWorld SU cannot find the helloWorld SE
>>>>>> while it is indeed installed and active.
>>>>>> I cannot find any clue to solve this issue. Does it come from the SE ?
>>>>>> Does it come from the SU ?
>>>>>> Can anyone help me to solve this ?
>>>>>> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>>>>>>
>>>>>> In addition, I tried installing both SE and SA in the more recent
>>>>>> ServiceMix 4.3.0-fuse-01-00 version.
>>>>>> This time, the SE (the exact same SE) never appears in karaf console.
>>>>>>
>>>>>> Thanks for any help,
>>>>>> - emmanuel
>>>>>>
>>>>>>
>>>>>>              
>>>>>            
>>>        
>>      
> --
> Jean-Baptiste Onofré
> ---------------------------------
>    HomePage
> http://www.nanthrax.net
> ---------------------------------
>    Contacts
> jbonofre@apache.org
> jb@nanthrax.net
> ---------------------------------
>    OpenSource
> BuildProcess/AutoDeploy
> http://buildprocess.sourceforge.net
> Apache ServiceMix
> http://servicemix.apache.org
> -----------------------------------
> PGP : 17D4F086
>    

-- 
Ingénieur études et développements
Intrinsec
215, avenue Georges Clemenceau
92000 Nanterre
http://www.intrinsec.com



 

Emmanuel GUITON

Ingénieur développement 
Standard : +33 1 41 91 77 77 l Fax : +33 1 41 91 77 78

215, avenue Georges Clemenceau l 92024 NANTERRE
http://infogerance.intrinsec.com/2010/04/informatique-de-lunicef-un-cloud-au-secours-dhaiti.html
http://www.intrinsec.com/
 


Re: SU does not find SE ?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Not the SU, the SE ;)

On 09/24/2010 02:53 PM, Jean-Baptiste Onofré wrote:
> Hi Emmanuel,
>
> could you provide your pom.xml for your SU ?
>
> Regards
> JB
>
> On 09/24/2010 02:34 PM, Emmanuel Guiton wrote:
>>
>> I changed the log level to debug and I got more data
>>
>> What i think may be the most relevant is this line (while deploying the
>> SE) :
>> Bundle 'An Hello World Service Engine (hello-world-se)' does not contain
>> any JBI descriptor.
>>
>> And in fact, that is true. Although a jbi.xml (attached) is generated,
>> it is not embedded in the final jar archive.
>> Could that be the real issue ?
>>
>>
>> Here are the logs for the SE deployment :
>>
>> 14:19:38,619 | DEBUG | use-00-00/deploy | Activator |
>> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
>> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-se
>> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespacePlugins |
>> nternal.support.NamespacePlugins 115 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Removing handler An Hello
>> World Service Engine (hello-world-se)
>> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespaceManager |
>> nternal.support.NamespaceManager 163 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Removed namespace handler
>> resolver for An Hello World Service Engine (hello-world-se)
>> 14:19:38,620 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>> hello-world-se - 1.0.0 | BundleEvent STOPPED
>> 14:19:38,626 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>> hello-world-se - 1.0.0 | BundleEvent UNRESOLVED
>> 14:19:38,627 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>> hello-world-se - 1.0.0 | BundleEvent UPDATED
>> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>> 14:19:38,644 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>> hello-world-se - 1.0.0 | BundleEvent RESOLVED
>> 14:19:38,644 | DEBUG | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 281 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
>> 'An Hello World Service Engine (hello-world-se)'
>> 14:19:38,645 | DEBUG | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 284 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Bundle 'An Hello
>> World Service Engine (hello-world-se)' does not contain any JBI
>> descriptor.
>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 681 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [An Hello
>> World Service Engine (hello-world-se)] for configurations...
>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 687 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Creating an application
>> context for bundle [An Hello World Service Engine (hello-world-se)]
>> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 698 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | No application context
>> created for bundle [An Hello World Service Engine (hello-world-se)]
>> 14:19:38,645 | DEBUG | use-00-00/deploy | NamespaceManager |
>> nternal.support.NamespaceManager 147 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Adding namespace handler
>> resolver for An Hello World Service Engine (hello-world-se)
>> 14:19:38,646 | DEBUG | use-00-00/deploy | NamespacePlugins |
>> nternal.support.NamespacePlugins 102 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Adding as handler An Hello
>> World Service Engine (hello-world-se)
>> 14:19:38,646 | DEBUG | use-00-00/deploy | Activator |
>> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
>> 2.4.0.fuse-00-00 | Bundle started: hello-world-se
>> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
>> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
>> 0.1.0.r964701 | Scanning bundle hello-world-se for blueprint application
>> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
>> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
>> 0.1.0.r964701 | No blueprint application found in bundle hello-world-se
>> 14:19:38,647 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
>> hello-world-se - 1.0.0 | BundleEvent STARTED
>>
>>
>> And here are the logs for the SA deployment :
>>
>> 14:25:27,976 | DEBUG | use-00-00/deploy | Activator |
>> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
>> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-sa
>> 14:25:27,977 | DEBUG | use-00-00/deploy | NamespacePlugins |
>> nternal.support.NamespacePlugins 115 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Removing handler null
>> (hello-world-sa)
>> 14:25:27,977 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>> hello-world-sa - 0.0.0 | BundleEvent STOPPED
>> 14:25:27,981 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>> hello-world-sa - 0.0.0 | BundleEvent UNRESOLVED
>> 14:25:27,982 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>> hello-world-sa - 0.0.0 | BundleEvent UPDATED
>> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
>> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
>> 14:25:27,982 | DEBUG | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 281 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
>> 'null (hello-world-sa)'
>> 14:25:27,983 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>> hello-world-sa - 0.0.0 | BundleEvent RESOLVED
>> 14:25:27,988 | INFO | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
>> 'null (hello-world-sa)' as a JBI service assembly
>> 14:25:27,988 | WARN | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
>> met for JBI artifact in bundle null (hello-world-sa). Installation
>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>> Component not installed: hello-world-se
>> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 681 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [null
>> (hello-world-sa)] for configurations...
>> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 687 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | Creating an application
>> context for bundle [null (hello-world-sa)]
>> 14:25:27,989 | DEBUG | use-00-00/deploy | ContextLoaderListener |
>> .activator.ContextLoaderListener 698 | 72 -
>> org.springframework.osgi.extender - 1.2.0 | No application context
>> created for bundle [null (hello-world-sa)]
>> 14:25:27,989 | DEBUG | use-00-00/deploy | Activator |
>> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
>> 2.4.0.fuse-00-00 | Bundle started: hello-world-sa
>> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
>> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
>> 0.1.0.r964701 | Scanning bundle hello-world-sa for blueprint application
>> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
>> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
>> 0.1.0.r964701 | No blueprint application found in bundle hello-world-sa
>> 14:25:27,989 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
>> hello-world-sa - 0.0.0 | BundleEvent STARTED
>>
>>
>> - emmanuel
>>
>>
>> On 09/24/2010 02:06 PM, Emmanuel Guiton wrote:
>>> Hello Jean-Baptiste,
>>>
>>> Thanks for answering.
>>> How can I check the my SE is "correctly deployed" ?
>>>
>>> Apart from seeing it in the karaf console and no error in the logs, I do
>>> not really know where I should look for that information.
>>>
>>> Regards,
>>> - emmanuel
>>>
>>>
>>> On 09/24/2010 12:44 PM, Jean-Baptiste Onofré wrote:
>>>> Sorry,
>>>>
>>>> I'v just seen your pom.
>>>>
>>>> Is your se correctly deployed as a bundle in SMX ?
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am trying to build and deploy a custom service engine and its
>>>>> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
>>>>> followed the steps in the HelloWorld SE tutorial.
>>>>>
>>>>> I succeed in building my helloWorld SE, the corresponding helloWorld
>>>>> SU,
>>>>> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
>>>>> SA to deploy the 2 SUs.
>>>>>
>>>>> When I deploy the SE and the SA, I can see them appear in the karaf
>>>>> console :
>>>>> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
>>>>> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>>>>>
>>>>> But in fact the SA does not deploy correctly, as shown in the logs :
>>>>> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
>>>>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying
>>>>> bundle
>>>>> 'null (hello-world-sa)' as a JBI service assembly
>>>>> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
>>>>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements
>>>>> not
>>>>> met for JBI artifact in bundle null (hello-world-sa). Installation
>>>>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>>>>> Component not installed: hello-world-se
>>>>>
>>>>> It seems to me that the helloWorld SU cannot find the helloWorld SE
>>>>> while it is indeed installed and active.
>>>>> I cannot find any clue to solve this issue. Does it come from the SE ?
>>>>> Does it come from the SU ?
>>>>> Can anyone help me to solve this ?
>>>>> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>>>>>
>>>>> In addition, I tried installing both SE and SA in the more recent
>>>>> ServiceMix 4.3.0-fuse-01-00 version.
>>>>> This time, the SE (the exact same SE) never appears in karaf console.
>>>>>
>>>>> Thanks for any help,
>>>>> - emmanuel
>>>>>
>>>>>
>>>>
>>
>

-- 
Jean-Baptiste Onofré
---------------------------------
  HomePage
http://www.nanthrax.net
---------------------------------
  Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
  OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086

Re: SU does not find SE ?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Emmanuel,

could you provide your pom.xml for your SU ?

Regards
JB

On 09/24/2010 02:34 PM, Emmanuel Guiton wrote:
>
> I changed the log level to debug and I got more data
>
> What i think may be the most relevant is this line (while deploying the
> SE) :
> Bundle 'An Hello World Service Engine (hello-world-se)' does not contain
> any JBI descriptor.
>
> And in fact, that is true. Although a jbi.xml (attached) is generated,
> it is not embedded in the final jar archive.
> Could that be the real issue ?
>
>
> Here are the logs for the SE deployment :
>
> 14:19:38,619 | DEBUG | use-00-00/deploy | Activator |
> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-se
> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespacePlugins |
> nternal.support.NamespacePlugins 115 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Removing handler An Hello
> World Service Engine (hello-world-se)
> 14:19:38,620 | DEBUG | use-00-00/deploy | NamespaceManager |
> nternal.support.NamespaceManager 163 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Removed namespace handler
> resolver for An Hello World Service Engine (hello-world-se)
> 14:19:38,620 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
> hello-world-se - 1.0.0 | BundleEvent STOPPED
> 14:19:38,626 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
> hello-world-se - 1.0.0 | BundleEvent UNRESOLVED
> 14:19:38,627 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
> hello-world-se - 1.0.0 | BundleEvent UPDATED
> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
> 14:19:38,627 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
> 14:19:38,644 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
> hello-world-se - 1.0.0 | BundleEvent RESOLVED
> 14:19:38,644 | DEBUG | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 281 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
> 'An Hello World Service Engine (hello-world-se)'
> 14:19:38,645 | DEBUG | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 284 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Bundle 'An Hello
> World Service Engine (hello-world-se)' does not contain any JBI descriptor.
> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 681 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [An Hello
> World Service Engine (hello-world-se)] for configurations...
> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 687 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Creating an application
> context for bundle [An Hello World Service Engine (hello-world-se)]
> 14:19:38,645 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 698 | 72 -
> org.springframework.osgi.extender - 1.2.0 | No application context
> created for bundle [An Hello World Service Engine (hello-world-se)]
> 14:19:38,645 | DEBUG | use-00-00/deploy | NamespaceManager |
> nternal.support.NamespaceManager 147 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Adding namespace handler
> resolver for An Hello World Service Engine (hello-world-se)
> 14:19:38,646 | DEBUG | use-00-00/deploy | NamespacePlugins |
> nternal.support.NamespacePlugins 102 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Adding as handler An Hello
> World Service Engine (hello-world-se)
> 14:19:38,646 | DEBUG | use-00-00/deploy | Activator |
> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
> 2.4.0.fuse-00-00 | Bundle started: hello-world-se
> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
> 0.1.0.r964701 | Scanning bundle hello-world-se for blueprint application
> 14:19:38,646 | DEBUG | use-00-00/deploy | BlueprintExtender |
> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
> 0.1.0.r964701 | No blueprint application found in bundle hello-world-se
> 14:19:38,647 | DEBUG | lixDispatchQueue | hello-world-se | ? ? | 219 -
> hello-world-se - 1.0.0 | BundleEvent STARTED
>
>
> And here are the logs for the SA deployment :
>
> 14:25:27,976 | DEBUG | use-00-00/deploy | Activator |
> apache.camel.impl.osgi.Activator 103 | 68 - org.apache.camel.camel-core
> - 2.4.0.fuse-00-00 | Bundle stopped: hello-world-sa
> 14:25:27,977 | DEBUG | use-00-00/deploy | NamespacePlugins |
> nternal.support.NamespacePlugins 115 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Removing handler null
> (hello-world-sa)
> 14:25:27,977 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
> hello-world-sa - 0.0.0 | BundleEvent STOPPED
> 14:25:27,981 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
> hello-world-sa - 0.0.0 | BundleEvent UNRESOLVED
> 14:25:27,982 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
> hello-world-sa - 0.0.0 | BundleEvent UPDATED
> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
> 14:25:27,982 | DEBUG | lixDispatchQueue | framework | ? ? | 0 -
> org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
> 14:25:27,982 | DEBUG | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 281 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking bundle:
> 'null (hello-world-sa)'
> 14:25:27,983 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
> hello-world-sa - 0.0.0 | BundleEvent RESOLVED
> 14:25:27,988 | INFO | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 323 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
> 'null (hello-world-sa)' as a JBI service assembly
> 14:25:27,988 | WARN | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 339 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
> met for JBI artifact in bundle null (hello-world-sa). Installation
> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
> Component not installed: hello-world-se
> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 681 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Scanning bundle [null
> (hello-world-sa)] for configurations...
> 14:25:27,988 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 687 | 72 -
> org.springframework.osgi.extender - 1.2.0 | Creating an application
> context for bundle [null (hello-world-sa)]
> 14:25:27,989 | DEBUG | use-00-00/deploy | ContextLoaderListener |
> .activator.ContextLoaderListener 698 | 72 -
> org.springframework.osgi.extender - 1.2.0 | No application context
> created for bundle [null (hello-world-sa)]
> 14:25:27,989 | DEBUG | use-00-00/deploy | Activator |
> apache.camel.impl.osgi.Activator 84 | 68 - org.apache.camel.camel-core -
> 2.4.0.fuse-00-00 | Bundle started: hello-world-sa
> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
> rint.container.BlueprintExtender 209 | 7 - org.apache.aries.blueprint -
> 0.1.0.r964701 | Scanning bundle hello-world-sa for blueprint application
> 14:25:27,989 | DEBUG | use-00-00/deploy | BlueprintExtender |
> rint.container.BlueprintExtender 275 | 7 - org.apache.aries.blueprint -
> 0.1.0.r964701 | No blueprint application found in bundle hello-world-sa
> 14:25:27,989 | DEBUG | lixDispatchQueue | hello-world-sa | ? ? | 220 -
> hello-world-sa - 0.0.0 | BundleEvent STARTED
>
>
> - emmanuel
>
>
> On 09/24/2010 02:06 PM, Emmanuel Guiton wrote:
>> Hello Jean-Baptiste,
>>
>> Thanks for answering.
>> How can I check the my SE is "correctly deployed" ?
>>
>> Apart from seeing it in the karaf console and no error in the logs, I do
>> not really know where I should look for that information.
>>
>> Regards,
>> - emmanuel
>>
>>
>> On 09/24/2010 12:44 PM, Jean-Baptiste Onofré wrote:
>>> Sorry,
>>>
>>> I'v just seen your pom.
>>>
>>> Is your se correctly deployed as a bundle in SMX ?
>>>
>>> Regards
>>> JB
>>>
>>> On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
>>>
>>>> Hello,
>>>>
>>>> I am trying to build and deploy a custom service engine and its
>>>> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
>>>> followed the steps in the HelloWorld SE tutorial.
>>>>
>>>> I succeed in building my helloWorld SE, the corresponding helloWorld
>>>> SU,
>>>> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
>>>> SA to deploy the 2 SUs.
>>>>
>>>> When I deploy the SE and the SA, I can see them appear in the karaf
>>>> console :
>>>> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
>>>> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>>>>
>>>> But in fact the SA does not deploy correctly, as shown in the logs :
>>>> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
>>>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying
>>>> bundle
>>>> 'null (hello-world-sa)' as a JBI service assembly
>>>> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
>>>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements
>>>> not
>>>> met for JBI artifact in bundle null (hello-world-sa). Installation
>>>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>>>> Component not installed: hello-world-se
>>>>
>>>> It seems to me that the helloWorld SU cannot find the helloWorld SE
>>>> while it is indeed installed and active.
>>>> I cannot find any clue to solve this issue. Does it come from the SE ?
>>>> Does it come from the SU ?
>>>> Can anyone help me to solve this ?
>>>> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>>>>
>>>> In addition, I tried installing both SE and SA in the more recent
>>>> ServiceMix 4.3.0-fuse-01-00 version.
>>>> This time, the SE (the exact same SE) never appears in karaf console.
>>>>
>>>> Thanks for any help,
>>>> - emmanuel
>>>>
>>>>
>>>
>

-- 
Jean-Baptiste Onofré
---------------------------------
  HomePage
http://www.nanthrax.net
---------------------------------
  Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
  OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086

Re: SU does not find SE ?

Posted by Emmanuel Guiton <em...@intrinsec.com>.
I changed the log level to debug and I got more data

What i think may be the most relevant is this line (while deploying the 
SE) :
Bundle 'An Hello World Service Engine (hello-world-se)' does not contain 
any JBI descriptor.

And in fact, that is true. Although a jbi.xml (attached) is generated, 
it is not embedded in the final jar archive.
Could that be the real issue ?


Here are the logs for the SE deployment :

14:19:38,619 | DEBUG | use-00-00/deploy | 
Activator                        | apache.camel.impl.osgi.Activator  103 
| 68 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | Bundle stopped: 
hello-world-se
14:19:38,620 | DEBUG | use-00-00/deploy | 
NamespacePlugins                 | nternal.support.NamespacePlugins  115 
| 72 - org.springframework.osgi.extender - 1.2.0 | Removing handler An 
Hello World Service Engine (hello-world-se)
14:19:38,620 | DEBUG | use-00-00/deploy | 
NamespaceManager                 | nternal.support.NamespaceManager  163 
| 72 - org.springframework.osgi.extender - 1.2.0 | Removed namespace 
handler resolver for An Hello World Service Engine (hello-world-se)
14:19:38,620 | DEBUG | lixDispatchQueue | 
hello-world-se                   | ?                                   ? 
| 219 - hello-world-se - 1.0.0 | BundleEvent STOPPED
14:19:38,626 | DEBUG | lixDispatchQueue | 
hello-world-se                   | ?                                   ? 
| 219 - hello-world-se - 1.0.0 | BundleEvent UNRESOLVED
14:19:38,627 | DEBUG | lixDispatchQueue | 
hello-world-se                   | ?                                   ? 
| 219 - hello-world-se - 1.0.0 | BundleEvent UPDATED
14:19:38,627 | DEBUG | lixDispatchQueue | 
framework                        | ?                                   ? 
| 0 - org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
14:19:38,627 | DEBUG | lixDispatchQueue | 
framework                        | ?                                   ? 
| 0 - org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
14:19:38,644 | DEBUG | lixDispatchQueue | 
hello-world-se                   | ?                                   ? 
| 219 - hello-world-se - 1.0.0 | BundleEvent RESOLVED
14:19:38,644 | DEBUG | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  281 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking 
bundle: 'An Hello World Service Engine (hello-world-se)'
14:19:38,645 | DEBUG | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  284 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Bundle 
'An Hello World Service Engine (hello-world-se)' does not contain any 
JBI descriptor.
14:19:38,645 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  681 
| 72 - org.springframework.osgi.extender - 1.2.0 | Scanning bundle [An 
Hello World Service Engine (hello-world-se)] for configurations...
14:19:38,645 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  687 
| 72 - org.springframework.osgi.extender - 1.2.0 | Creating an 
application context for bundle [An Hello World Service Engine 
(hello-world-se)]
14:19:38,645 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  698 
| 72 - org.springframework.osgi.extender - 1.2.0 | No application 
context created for bundle [An Hello World Service Engine (hello-world-se)]
14:19:38,645 | DEBUG | use-00-00/deploy | 
NamespaceManager                 | nternal.support.NamespaceManager  147 
| 72 - org.springframework.osgi.extender - 1.2.0 | Adding namespace 
handler resolver for An Hello World Service Engine (hello-world-se)
14:19:38,646 | DEBUG | use-00-00/deploy | 
NamespacePlugins                 | nternal.support.NamespacePlugins  102 
| 72 - org.springframework.osgi.extender - 1.2.0 | Adding as handler An 
Hello World Service Engine (hello-world-se)
14:19:38,646 | DEBUG | use-00-00/deploy | 
Activator                        | apache.camel.impl.osgi.Activator   84 
| 68 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | Bundle started: 
hello-world-se
14:19:38,646 | DEBUG | use-00-00/deploy | 
BlueprintExtender                | rint.container.BlueprintExtender  209 
| 7 - org.apache.aries.blueprint - 0.1.0.r964701 | Scanning bundle 
hello-world-se for blueprint application
14:19:38,646 | DEBUG | use-00-00/deploy | 
BlueprintExtender                | rint.container.BlueprintExtender  275 
| 7 - org.apache.aries.blueprint - 0.1.0.r964701 | No blueprint 
application found in bundle hello-world-se
14:19:38,647 | DEBUG | lixDispatchQueue | 
hello-world-se                   | ?                                   ? 
| 219 - hello-world-se - 1.0.0 | BundleEvent STARTED


And here are the logs for the SA deployment :

14:25:27,976 | DEBUG | use-00-00/deploy | 
Activator                        | apache.camel.impl.osgi.Activator  103 
| 68 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | Bundle stopped: 
hello-world-sa
14:25:27,977 | DEBUG | use-00-00/deploy | 
NamespacePlugins                 | nternal.support.NamespacePlugins  115 
| 72 - org.springframework.osgi.extender - 1.2.0 | Removing handler null 
(hello-world-sa)
14:25:27,977 | DEBUG | lixDispatchQueue | 
hello-world-sa                   | ?                                   ? 
| 220 - hello-world-sa - 0.0.0 | BundleEvent STOPPED
14:25:27,981 | DEBUG | lixDispatchQueue | 
hello-world-sa                   | ?                                   ? 
| 220 - hello-world-sa - 0.0.0 | BundleEvent UNRESOLVED
14:25:27,982 | DEBUG | lixDispatchQueue | 
hello-world-sa                   | ?                                   ? 
| 220 - hello-world-sa - 0.0.0 | BundleEvent UPDATED
14:25:27,982 | DEBUG | lixDispatchQueue | 
framework                        | ?                                   ? 
| 0 - org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
14:25:27,982 | DEBUG | lixDispatchQueue | 
framework                        | ?                                   ? 
| 0 - org.apache.felix.framework - 3.0.1 | FrameworkEvent PACKAGES REFRESHED
14:25:27,982 | DEBUG | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  281 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Checking 
bundle: 'null (hello-world-sa)'
14:25:27,983 | DEBUG | lixDispatchQueue | 
hello-world-sa                   | ?                                   ? 
| 220 - hello-world-sa - 0.0.0 | BundleEvent RESOLVED
14:25:27,988 | INFO  | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  323 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying 
bundle 'null (hello-world-sa)' as a JBI service assembly
14:25:27,988 | WARN  | use-00-00/deploy | 
Deployer                         | cemix.jbi.deployer.impl.Deployer  339 
| 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | 
Requirements not met for JBI artifact in bundle null (hello-world-sa). 
Installation pending. 
org.apache.servicemix.jbi.deployer.impl.PendingException: Component not 
installed: hello-world-se
14:25:27,988 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  681 
| 72 - org.springframework.osgi.extender - 1.2.0 | Scanning bundle [null 
(hello-world-sa)] for configurations...
14:25:27,988 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  687 
| 72 - org.springframework.osgi.extender - 1.2.0 | Creating an 
application context for bundle [null (hello-world-sa)]
14:25:27,989 | DEBUG | use-00-00/deploy | 
ContextLoaderListener            | .activator.ContextLoaderListener  698 
| 72 - org.springframework.osgi.extender - 1.2.0 | No application 
context created for bundle [null (hello-world-sa)]
14:25:27,989 | DEBUG | use-00-00/deploy | 
Activator                        | apache.camel.impl.osgi.Activator   84 
| 68 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | Bundle started: 
hello-world-sa
14:25:27,989 | DEBUG | use-00-00/deploy | 
BlueprintExtender                | rint.container.BlueprintExtender  209 
| 7 - org.apache.aries.blueprint - 0.1.0.r964701 | Scanning bundle 
hello-world-sa for blueprint application
14:25:27,989 | DEBUG | use-00-00/deploy | 
BlueprintExtender                | rint.container.BlueprintExtender  275 
| 7 - org.apache.aries.blueprint - 0.1.0.r964701 | No blueprint 
application found in bundle hello-world-sa
14:25:27,989 | DEBUG | lixDispatchQueue | 
hello-world-sa                   | ?                                   ? 
| 220 - hello-world-sa - 0.0.0 | BundleEvent STARTED


  - emmanuel


On 09/24/2010 02:06 PM, Emmanuel Guiton wrote:
> Hello Jean-Baptiste,
>
> Thanks for answering.
> How can I check the my SE is "correctly deployed" ?
>
> Apart from seeing it in the karaf console and no error in the logs, I do
> not really know where I should look for that information.
>
> Regards,
>    - emmanuel
>
>
> On 09/24/2010 12:44 PM, Jean-Baptiste Onofré wrote:
>    
>> Sorry,
>>
>> I'v just seen your pom.
>>
>> Is your se correctly deployed as a bundle in SMX ?
>>
>> Regards
>> JB
>>
>> On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
>>
>>      
>>> Hello,
>>>
>>> I am trying to build and deploy a custom service engine and its
>>> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
>>> followed the steps in the HelloWorld SE tutorial.
>>>
>>> I succeed in building my helloWorld SE, the corresponding helloWorld SU,
>>> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
>>> SA to deploy the 2 SUs.
>>>
>>> When I deploy the SE and the SA, I can see them appear in the karaf
>>> console :
>>> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
>>> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>>>
>>> But in fact the SA does not deploy correctly, as shown in the logs :
>>> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
>>> 'null (hello-world-sa)' as a JBI service assembly
>>> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
>>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
>>> met for JBI artifact in bundle null (hello-world-sa). Installation
>>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>>> Component not installed: hello-world-se
>>>
>>> It seems to me that the helloWorld SU cannot find the helloWorld SE
>>> while it is indeed installed and active.
>>> I cannot find any clue to solve this issue. Does it come from the SE ?
>>> Does it come from the SU ?
>>> Can anyone help me to solve this ?
>>> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>>>
>>> In addition, I tried installing both SE and SA in the more recent
>>> ServiceMix 4.3.0-fuse-01-00 version.
>>> This time, the SE (the exact same SE) never appears in karaf console.
>>>
>>> Thanks for any help,
>>> - emmanuel
>>>
>>>
>>>        
>>
>>      
>    

-- 
Ingénieur études et développements
Intrinsec
215, avenue Georges Clemenceau
92000 Nanterre
http://www.intrinsec.com



 

Emmanuel GUITON

Ingénieur développement 
Standard : +33 1 41 91 77 77 l Fax : +33 1 41 91 77 78

215, avenue Georges Clemenceau l 92024 NANTERRE
http://infogerance.intrinsec.com/2010/04/informatique-de-lunicef-un-cloud-au-secours-dhaiti.html
http://www.intrinsec.com/
 


Re: SU does not find SE ?

Posted by Emmanuel Guiton <em...@intrinsec.com>.
Hello Jean-Baptiste,

Thanks for answering.
How can I check the my SE is "correctly deployed" ?

Apart from seeing it in the karaf console and no error in the logs, I do 
not really know where I should look for that information.

Regards,
  - emmanuel


On 09/24/2010 12:44 PM, Jean-Baptiste Onofré wrote:
> Sorry,
>
> I'v just seen your pom.
>
> Is your se correctly deployed as a bundle in SMX ?
>
> Regards
> JB
>
> On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
>    
>> Hello,
>>
>> I am trying to build and deploy a custom service engine and its
>> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
>> followed the steps in the HelloWorld SE tutorial.
>>
>> I succeed in building my helloWorld SE, the corresponding helloWorld SU,
>> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
>> SA to deploy the 2 SUs.
>>
>> When I deploy the SE and the SA, I can see them appear in the karaf
>> console :
>> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
>> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>>
>> But in fact the SA does not deploy correctly, as shown in the logs :
>> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 323 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
>> 'null (hello-world-sa)' as a JBI service assembly
>> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
>> cemix.jbi.deployer.impl.Deployer 339 | 93 -
>> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
>> met for JBI artifact in bundle null (hello-world-sa). Installation
>> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
>> Component not installed: hello-world-se
>>
>> It seems to me that the helloWorld SU cannot find the helloWorld SE
>> while it is indeed installed and active.
>> I cannot find any clue to solve this issue. Does it come from the SE ?
>> Does it come from the SU ?
>> Can anyone help me to solve this ?
>> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>>
>> In addition, I tried installing both SE and SA in the more recent
>> ServiceMix 4.3.0-fuse-01-00 version.
>> This time, the SE (the exact same SE) never appears in karaf console.
>>
>> Thanks for any help,
>> - emmanuel
>>
>>      
>    

-- 
Ingénieur études et développements
Intrinsec
215, avenue Georges Clemenceau
92000 Nanterre
http://www.intrinsec.com



 

Emmanuel GUITON

Ingénieur développement 
Standard : +33 1 41 91 77 77 l Fax : +33 1 41 91 77 78

215, avenue Georges Clemenceau l 92024 NANTERRE
http://infogerance.intrinsec.com/2010/04/informatique-de-lunicef-un-cloud-au-secours-dhaiti.html
http://www.intrinsec.com/
 


Re: SU does not find SE ?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Sorry,

I'v just seen your pom.

Is your se correctly deployed as a bundle in SMX ?

Regards
JB

On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
> Hello,
>
> I am trying to build and deploy a custom service engine and its
> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
> followed the steps in the HelloWorld SE tutorial.
>
> I succeed in building my helloWorld SE, the corresponding helloWorld SU,
> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
> SA to deploy the 2 SUs.
>
> When I deploy the SE and the SA, I can see them appear in the karaf
> console :
> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>
> But in fact the SA does not deploy correctly, as shown in the logs :
> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 323 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
> 'null (hello-world-sa)' as a JBI service assembly
> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 339 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
> met for JBI artifact in bundle null (hello-world-sa). Installation
> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
> Component not installed: hello-world-se
>
> It seems to me that the helloWorld SU cannot find the helloWorld SE
> while it is indeed installed and active.
> I cannot find any clue to solve this issue. Does it come from the SE ?
> Does it come from the SU ?
> Can anyone help me to solve this ?
> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>
> In addition, I tried installing both SE and SA in the more recent
> ServiceMix 4.3.0-fuse-01-00 version.
> This time, the SE (the exact same SE) never appears in karaf console.
>
> Thanks for any help,
> - emmanuel
>

-- 
Jean-Baptiste Onofré
---------------------------------
  HomePage
http://www.nanthrax.net
---------------------------------
  Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
  OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086

Re: SU does not find SE ?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Emmanuel,

could you check that your SU pom contains a dependencies to your custom SE ?

Regards
JB

On 09/24/2010 12:30 PM, Emmanuel Guiton wrote:
> Hello,
>
> I am trying to build and deploy a custom service engine and its
> corresponding service unit in ServiceMix 4.3.0-fuse-00-00. To do so, I
> followed the steps in the HelloWorld SE tutorial.
>
> I succeed in building my helloWorld SE, the corresponding helloWorld SU,
> a servicemix-http SU to bind with the helloWorld SU and the helloWorld
> SA to deploy the 2 SUs.
>
> When I deploy the SE and the SA, I can see them appear in the karaf
> console :
> [ 219] [Active ] [ ] [ ] [ 60] An Hello World Service Engine (1.0.0)
> [ 220] [Active ] [ ] [ ] [ 60] hello-world-sa (0.0.0)
>
> But in fact the SA does not deploy correctly, as shown in the logs :
> 12:07:42,873 | INFO | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 323 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle
> 'null (hello-world-sa)' as a JBI service assembly
> 12:07:42,874 | WARN | use-00-00/deploy | Deployer |
> cemix.jbi.deployer.impl.Deployer 339 | 93 -
> org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not
> met for JBI artifact in bundle null (hello-world-sa). Installation
> pending. org.apache.servicemix.jbi.deployer.impl.PendingException:
> Component not installed: hello-world-se
>
> It seems to me that the helloWorld SU cannot find the helloWorld SE
> while it is indeed installed and active.
> I cannot find any clue to solve this issue. Does it come from the SE ?
> Does it come from the SU ?
> Can anyone help me to solve this ?
> Attached are the SE and SU pom.xml files and the SU xbean.xml file.
>
> In addition, I tried installing both SE and SA in the more recent
> ServiceMix 4.3.0-fuse-01-00 version.
> This time, the SE (the exact same SE) never appears in karaf console.
>
> Thanks for any help,
> - emmanuel
>

-- 
Jean-Baptiste Onofré
---------------------------------
  HomePage
http://www.nanthrax.net
---------------------------------
  Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
  OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086