Hi all,

 

Yet another problem :-)

This time, I've repackaged my components in a service assembly (thanks for the 
tip, Guillaume!). However, although there are no Exceptions thrown, my 
components do not get deployed. After tracking the installation with the 
debugger, I discovered that the following test comes out false:

 

        if (root.getComponent() != null) { ... install ... }

 

Can anyone tell me why this is coming out null? I believe I have built and 
configured my SA correctly. Here is my jbi.xml file:

 

<?xml version="1.0" encoding="UTF-8"?>

<jbi xmlns="http://java.sun.com/xml/ns/jbi"; version="1.0">

     

   <service-assembly>

     <identification>

       <name>tradeimport-sa</name>

       <description>TradeImport Service Assembly</description>

     </identification>

     <service-unit>

       <identification>

         <name>tradeimport-su</name>

         <description>TradeImport Service Unit</description>

       </identification>

       <target>

         <artifacts-zip>tradeimport-su.zip</artifacts-zip>

         <component-name>servicemix-lwcontainer</component-name>

       </target>

     </service-unit>

    </service-assembly>

    

</jbi>

 

 

Thanks!

Tim.

 

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

Timothy High

Software Engineering

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

Sakonnet Technology 
Centro Empresarial Mourisco 
Praia de Botafogo 501 1°Andar 
Bloco A - Torre Pão de Açúcar 
22250-040  - Rio de Janeiro, RJ Brazil 
www.sknt.com <http://www.sknt.com/> 

+55 (21) 2586 6102  direct 
+55 (21) 2586 6001  fax 

 

Reply via email to