On 9/13/07, kumar k <[EMAIL PROTECTED]> wrote:
> I have a lw component where I am using servicemix clientWithRouting . But I
> am getting an error "can not find jbi bean" caused by SpringJBIContainer
> cannot be cast to
> org.apache.servicemix.jbi.container.SpringServiceUnitContainer. Pls suggest.
>
>
> <exception-info>
> <nesting-level>1</nesting-level>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Can not find 'jbi' bean</loc-message>
> <stack-trace><![CDATA[java.lang.RuntimeException: Can not find 'jbi' bean
> at
> org.apache.servicemix.lwcontainer.LwContainerXBeanDeployer.getServices(LwContainerXBeanDeployer.java:50)
> at
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:85)
>
> Caused by: java.lang.ClassCastException:
> org.apache.servicemix.jbi.container.SpringJBIContainer cannot be cast to
> org.apache.servicemix.jbi.container.SpringServiceUnitContainer
> at
> org.apache.servicemix.lwcontainer.LwContainerXBeanDeployer.getServices(LwContainerXBeanDeployer.java:42)
> ... 37 more
> ]]></stack-trace>
> </msg-loc-info>
Is this being caused by your code? I'm confused about what exactly is
causing this error. If this is being caused by your code, please post
it.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/