You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Amit Srivastava <ze...@yahoo.com> on 2008/03/19 20:30:57 UTC
Re: Unable to find suitable deployer for Service Unit - Camel
I am also facing the exact same problems. Any clues??
jhpatti wrote:
>
> I am trying to install a camel su unit into service mix (iona fuse
> 3.3.0.5) and keep getting the following error:
>
> Unable to find suitable deployer for Service Unit 'bridge-camel-su'
>
> My xbean.xml for bridge-camel-su looks like this:
>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:jms="http://servicemix.apache.org/jms/1.0"
> xmlns:b="http://servicemix.apache.org/samples/bridge"
> xsi:schemaLocation="www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring-xsd">
>
> <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring"
> xmlns:b="http://servicemix.apache.org/samples/bridge">
> <route>
> <from uri="b:xslt"/>
> <to uri="b:jms"/>
> </route>
> </camelContext>
> </beans>
>
> The error message is preceded by a bunch of xml that looks like this:
>
> <jbi-task xmlns="...">
> <jbi-task-result>
> <frmwk-task-result>
> <frmwk-task-result-details>
> <task-result-details>
> <task-id>deploy</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> <component-task-result xmlns="...">
> <component-name>service-mix-camel</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>deploy</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
>
> Please help!
>
>
>
>
>
>
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Unable-to-find-suitable-deployer-for-Service-Unit---Camel-tp14882222s12049p16149311.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Unable to find suitable deployer for Service Unit - Camel
Posted by jhpatti <jh...@gmail.com>.
Hi -
Iona fuse requires that you have a camelContext.xml defining your camel
classes and routes not an xbean.xml. The few servicemix/camel examples
that are out there show an xbean.xml file being used, but with iona fuse, at
least, if that camelContext.xml isn't there - this exception is thrown.
Amit Srivastava wrote:
>
> I am also facing the exact same problems. Any clues??
>
>
> jhpatti wrote:
>>
>> I am trying to install a camel su unit into service mix (iona fuse
>> 3.3.0.5) and keep getting the following error:
>>
>> Unable to find suitable deployer for Service Unit 'bridge-camel-su'
>>
>> My xbean.xml for bridge-camel-su looks like this:
>>
>> <beans xmlns="http://www.springframework.org/schema/beans"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:jms="http://servicemix.apache.org/jms/1.0"
>> xmlns:b="http://servicemix.apache.org/samples/bridge"
>> xsi:schemaLocation="www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> http://activemq.apache.org/camel/schema/spring
>> http://activemq.apache.org/camel/schema/spring/camel-spring-xsd">
>>
>> <camelContext id="camel"
>> xmlns="http://activemq.apache.org/camel/schema/spring"
>> xmlns:b="http://servicemix.apache.org/samples/bridge">
>> <route>
>> <from uri="b:xslt"/>
>> <to uri="b:jms"/>
>> </route>
>> </camelContext>
>> </beans>
>>
>> The error message is preceded by a bunch of xml that looks like this:
>>
>> <jbi-task xmlns="...">
>> <jbi-task-result>
>> <frmwk-task-result>
>> <frmwk-task-result-details>
>> <task-result-details>
>> <task-id>deploy</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> </task-result-details>
>> </frmwk-task-result-details>
>> </frmwk-task-result>
>> <component-task-result xmlns="...">
>> <component-name>service-mix-camel</component-name>
>> <component-task-result-details>
>> <task-result-details>
>> <task-id>deploy</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> <task-status-msg>
>>
>> Please help!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Unable-to-find-suitable-deployer-for-Service-Unit---Camel-tp14882222s12049p16176163.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.