SU packaging is specific to each component, so if you create your own component, the content of the SU will be specific to it. Components created using servicemix-common may register an XBeanDeployer on the ServiceUnitManager. In such a case, it will accept (by default) a file named xbean.xml, which should contain endpoints definitions for the component.
When you create an SU using the maven2 plugin, you need to add a dependency on your component inside the pom.xml. It will be used by the tooling when packaging the SA to specify the target component for this SU. On 9/11/06, Guillaume Nodet <[EMAIL PROTECTED]> 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
-- Cheers, Guillaume Nodet
