Thanx for the quick reply! Here's my SU's servicemix.xml (that I should have
included to begin with - :D). You mention the servicemix.xml for the
lightweight container. I am attempting to create a jbi component and use it
when deploying the SUs. Even with using my new jbi component, do I still
need to deploy the SU via the lw container? Currently, no where am I
specifying or using the lw container. Where 'should' I be using/configuring
the lw container?

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"; 
             xmlns:jshdb="http://com.jsh.dbwriter/1.0";
       xmlns:jsh="urn:jsh">

  <classpath>
    <location>.</location>
    <location>lib/jsh-dbwriter-1.0-SNAPSHOT.jar</location>
  </classpath>

  <sm:serviceunit id="jbi">
    <sm:activationSpecs>
        <sm:component>
            <nldb:component>
                <nldb:endpoints>
                        <nldb:endpoint service="jsh:write"
endpoint="endpoint" />
                </nldb:endpoints>
            </nldb:component>
        </sm:component>
    </sm:activationSpecs>
  </sm:serviceunit>

</beans>

Thanx,
jsh


gnodet wrote:
> 
> The servicemix.xml configuration file for the lightweight container
> must contain the
>    <sm:serviceunit id='jbi'>
> tag, with activationSpecs inside it.
> Given your configuration, this is the only error I can think about.
> 
> On 9/11/06, jhair <[EMAIL PROTECTED]> wrote:
>>
>>
>> I'm having problems deploying/installing JBI artifacts to service mix.
>>
>> Using 3.0-M2-incubating, I've created a jbi-component, service-unit, and
>> service-assembly modules using maven2 archetypes. I added
>> servicemix.xmlto
>> the service-unit, and specified the service unit as a dependency for the
>> service assembly. After starting servicemix with conf/servicemix.xml, I
>> copy
>> the jbi-component ZIP into SM's install directory and the log files show
>> it
>> deploys without errors. However, when I try to copy the service assembly
>> into the deploy directory, SM complains with the following error:
>>
>> Unable to find suitable deployer for Service Unit
>>
>> My service-unit zip contains the following:
>>   lib
>>     servicemix-components-3.0-incubating-SNAPSHOT.jar
>>   META-INF
>>      jbi.xml
>>   servicemix.xml
>>
>> My service assembly contains the following:
>>   META-INF
>>      jbi.xml
>>   sample-su.zip
>>
>> Can someone point me to where I've messed up? Is there more information
>> that
>> I need/should provide?
>>
>> Thanx,
>> jsh
>> --
>> View this message in context:
>> http://www.nabble.com/Deploying-JBI-component-created-using-maven2-tf2249832.html#a6239963
>> Sent from the ServiceMix - User forum at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Deploying-JBI-component-created-using-maven2-tf2249832.html#a6245457
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to