You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jhpatti <jh...@gmail.com> on 2008/01/16 16:09:21 UTC

Unable to find suitable deployer for Service Unit - Camel

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-tp14882222s12049p14882222.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.


Re: Unable to find suitable deployer for Service Unit - Camel

Posted by Amit Srivastava <ze...@yahoo.com>.
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>.
I removed the namespace prefix and got the same error.

My pom looks like this:

<groupId>org.apache.servicemix.samples</group-id>
<artifactId>bridge-camel-su</artifact-id>
<packaging>jbi-service-unit</packaging>
<name>camel router</name>

<dependencies>
<dependency>
<groupId>org.apache.servicemix</group-id>
<artifactId>servicemix-camel</artifact-id>
<version>3.3.0.5-fuse</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</group-id>
<artifactId>jbi-maven-plugin</artifact-id>
<extensions>true</extensions>
<plugin>
</plugins>
</build>

Thanks...



James.Strachan wrote:
> 
> What does your pom.xml look like?
> 
> BTW are you sure you wanted to use XML namespace prefixes inside your
> URI? (Camel doesn't currently understand them)
> 
> On 16/01/2008, jhpatti <jh...@gmail.com> 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-tp14882222s12049p14882222.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-find-suitable-deployer-for-Service-Unit---Camel-tp14882222s12049p14887065.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Unable to find suitable deployer for Service Unit - Camel

Posted by James Strachan <ja...@gmail.com>.
What does your pom.xml look like?

BTW are you sure you wanted to use XML namespace prefixes inside your
URI? (Camel doesn't currently understand them)

On 16/01/2008, jhpatti <jh...@gmail.com> 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-tp14882222s12049p14882222.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com