[
https://issues.apache.org/activemq/browse/CAMEL-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang reassigned CAMEL-2430:
-----------------------------------
Assignee: Willem Jiang
> camel-example-reportincident throwing exception
> -----------------------------------------------
>
> Key: CAMEL-2430
> URL: https://issues.apache.org/activemq/browse/CAMEL-2430
> Project: Apache Camel
> Issue Type: Bug
> Components: examples
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> jetty-6.1.19
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
> Reporter: Chris Love
> Assignee: Willem Jiang
>
> When I execute mvn jetty:run the following exception is thrown:
> {code}WARNING: Could not find endpoint/port for
> {http://reportincident.example.camel.apache.org}ReportIncidentEndpointPort in
> wsdl. Using
> {http://reportincident.example.camel.apache.org}ReportIncidentService.
> 2010-01-31 15:07:35,342 [main ] ERROR ContextLoader
> - Context initialization failed
> org.apache.camel.RuntimeCamelException:
> org.apache.cxf.service.factory.ServiceConstructionException
> at
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1055)
> at
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
> at
> org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:593)
> at
> org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
> 2010-01-31 15:07:35.347::WARN: Failed startup of context
> org.mortbay.jetty.plugin.jetty6pluginwebappcont...@5952e9a8{/camel-example-reportincident,/data/workspace/examples_orig/camel-example-reportincident/src/main/webapp}
> org.apache.camel.RuntimeCamelException:
> org.apache.cxf.service.factory.ServiceConstructionException
> at
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1055)
> at
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
> at
> org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:593
> Caused by: java.net.MalformedURLException: no protocol: /incident
> at java.net.URL.<init>(URL.java:567)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.<init>(JettyHTTPDestination.java:96)
> at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.createDestination(JettyHTTPTransportFactory.java:116)
> at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.getDestination(JettyHTTPTransportFactory.java:103)
> at
> org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:90)
> at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69)
> at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106){code}
> I have edited the exception to make it shorter.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.