camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2284) Failed to resolve endpoint: cxfbean://reportIncidentServiceBean due to: null
Date Mon, 14 Dec 2009 11:55:52 GMT

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

Willem Jiang commented on CAMEL-2284:
-------------------------------------

Can I have a look at your cxfbean:// URI ?
>From the stack trace , it looks like a configuration error which causes the ServiceConstructionException.

> Failed to resolve endpoint: cxfbean://reportIncidentServiceBean due to: null
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-2284
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2284
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.1.0
>            Reporter: Charles Moulliard
>
> {code}
> org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException:
Failed to create route route3 at: >>> To[cxfbean:reportIncidentServiceBean] <<<
in route: Route[[From[http://0.0.0.0:8282]] -> [To[cxfbean:reportIncid... because of Failed
to resolve endpoint: cxfbean://reportIncidentServiceBean due to: null
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1039)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:562)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
> 	at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
> 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
> 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
> 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route3
at: >>> To[cxfbean:reportIncidentServiceBean] <<< in route: Route[[From[http://0.0.0.0:8282]]
-> [To[cxfbean:reportIncid... because of Failed to resolve endpoint: cxfbean://reportIncidentServiceBean
due to: null
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:643)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:136)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:601)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1156)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1073)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1009)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:158)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:55)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:884)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:197)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)
> 	... 12 more
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
cxfbean://reportIncidentServiceBean due to: null
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:437)
> 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:46)
> 	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:154)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:109)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:115)
> 	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:63)
> 	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:57)
> 	at org.apache.camel.model.ToDefinition.createProcessor(ToDefinition.java:87)
> 	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:286)
> 	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:114)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:640)
> 	... 22 more
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException
> 	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:122)
> 	at org.apache.camel.component.cxf.cxfbean.CxfBeanEndpoint.createServer(CxfBeanEndpoint.java:112)
> 	at org.apache.camel.component.cxf.cxfbean.CxfBeanEndpoint.init(CxfBeanEndpoint.java:86)
> 	at org.apache.camel.component.cxf.cxfbean.CxfBeanComponent.createEndpoint(CxfBeanComponent.java:48)
> 	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:78)
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:416)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message