camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6920) Component Resolution for CXFBean Triggers a Race Condition
Date Sun, 10 Nov 2013 10:24:18 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818415#comment-13818415
] 

Claus Ibsen commented on CAMEL-6920:
------------------------------------

This is more of a Karaf/SMX issue, than Camel issue!. 

> step 5 - > Deliver cxf-cxfbean-broken jar into <smx root>/deploy
Also I never recommend people to deploy using the deploy directory - you do not have any control
when the container starts the bundle from this dir. 

Install using the shell instead and you can use start level to have your bundles started after
the container and framework bundles


> Component Resolution for CXFBean Triggers a Race Condition
> ----------------------------------------------------------
>
>                 Key: CAMEL-6920
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6920
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.10.7
>         Environment: Apache ServiceMix 4.5.3
> Linux centora 2.6.18-308.8.2.el5 #1 SMP Tue Jun 12 09:57:26 EDT 2012 i686 i686 i386 GNU/Linux
>            Reporter: Zach Calvert
>         Attachments: cxf-cxfbean-broken.zip
>
>
> Making use of the cxfbean camel component triggers a race condition in ServiceMix startup.
> Logs received:
> {code}
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
cxfbean://failureProof due to: No component found with scheme: cxfbean
>         at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:495)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:50)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:187)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:61)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:461)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:179)[101:org.apache.camel.camel-core:2.10.7]
>         at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:876)[101:org.apache.camel.camel-core:2.10.7]
>         ... 20 more
> {code}
> Will attach example code to trigger error and steps to reproduce in Apache ServiceMix
4.5.3.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message