camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (JIRA) <j...@apache.org>
Subject [jira] [Closed] (CAMEL-6274) camel-example-reportincident failed
Date Wed, 17 Apr 2013 19:37:18 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Müller closed CAMEL-6274.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.12.0)
                       (was: 2.11.1)
                   2.11.0
    
> camel-example-reportincident failed
> -----------------------------------
>
>                 Key: CAMEL-6274
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6274
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.11.0
>            Reporter: Christian Müller
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> {noformat}
> 2013-04-14 12:40:23,207 [main           ] ERROR ContextLoader                  - Context
initialization failed
> org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException:
Failed to create route route1: Route(route1)[[From[cxf:/incident?bus=#cxf&serviceClass=org....
because of Failed to resolve endpoint: cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1338)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:740)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
> 	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:275)
> 	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
> 	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1:
Route(route1)[[From[cxf:/incident?bus=#cxf&serviceClass=org.... because of Failed to resolve
endpoint: cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:181)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:749)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1828)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1608)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1477)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1445)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	... 48 more
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:507)
> 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:62)
> 	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:191)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
> 	at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)
> 	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:861)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:176)
> 	... 57 more
> Caused by: java.lang.IllegalArgumentException: Could not find a suitable setter for property:
bus as there isn't a setter method with same type: java.lang.String nor type conversion possible:
No type converter available to convert from type: java.lang.String to the required type: org.apache.cxf.Bus
with value #cxf
> 	at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:526)
> 	at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:536)
> 	at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:430)
> 	at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:249)
> 	at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:258)
> 	at org.apache.camel.component.cxf.CxfComponent.createEndpoint(CxfComponent.java:84)
> 	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:119)
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:487)
> 	... 65 more
> 2013-04-14 12:40:23.217:WARN:oejw.WebAppContext:Failed startup of context o.m.j.p.JettyWebAppContext{/,file:/Users/cmueller/workspaceRelease/camel/examples/camel-example-reportincident/src/main/webapp/},file:/Users/cmueller/workspaceRelease/camel/examples/camel-example-reportincident/src/main/webapp/
> org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException:
Failed to create route route1: Route(route1)[[From[cxf:/incident?bus=#cxf&serviceClass=org....
because of Failed to resolve endpoint: cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1338)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:740)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
> 	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:275)
> 	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
> 	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by:
> org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[[From[cxf:/incident?bus=#cxf&serviceClass=org....
because of Failed to resolve endpoint: cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:181)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:749)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1828)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1608)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1477)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1445)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:740)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
> 	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:275)
> 	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
> 	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by:
> org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf:///incident?bus=%23cxf&serviceClass=org.apache.camel.example.reportincident.ReportIncidentEndpoint&wsdlURL=etc%2Freport_incident.wsdl
due to: Could not find a suitable setter for property: bus as there isn't a setter method
with same type: java.lang.String nor type conversion possible: No type converter available
to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value
#cxf
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:507)
> 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:62)
> 	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:191)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
> 	at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)
> 	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:861)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:176)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:749)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1828)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1608)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1477)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1445)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:740)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
> 	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:275)
> 	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
> 	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by:
> java.lang.IllegalArgumentException: Could not find a suitable setter for property: bus
as there isn't a setter method with same type: java.lang.String nor type conversion possible:
No type converter available to convert from type: java.lang.String to the required type: org.apache.cxf.Bus
with value #cxf
> 	at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:526)
> 	at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:536)
> 	at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:430)
> 	at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:249)
> 	at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:258)
> 	at org.apache.camel.component.cxf.CxfComponent.createEndpoint(CxfComponent.java:84)
> 	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:119)
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:487)
> 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:62)
> 	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:191)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114)
> 	at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)
> 	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:861)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:176)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:749)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1828)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1608)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1477)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1445)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:740)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
> 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:683)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
> 	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:275)
> 	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
> 	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 2013-04-14 12:40:23.241:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9080
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message