Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 1696 invoked from network); 31 Jan 2010 23:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jan 2010 23:48:56 -0000 Received: (qmail 69547 invoked by uid 500); 31 Jan 2010 23:48:56 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 69494 invoked by uid 500); 31 Jan 2010 23:48:56 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 69484 invoked by uid 500); 31 Jan 2010 23:48:56 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 69481 invoked by uid 99); 31 Jan 2010 23:48:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2010 23:48:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2010 23:48:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 85E0C234C052 for ; Sun, 31 Jan 2010 15:48:32 -0800 (PST) Message-ID: <173234366.6761264981712543.JavaMail.jira@brutus.apache.org> Date: Sun, 31 Jan 2010 23:48:32 +0000 (UTC) From: "Chris Love (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-2430) camel-example-reportincident throwing exception In-Reply-To: <1096300258.6751264975952589.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Love updated CAMEL-2430: ------------------------------ Description: 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.Jetty6PluginWebAppContext@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.(URL.java:567) at java.net.URL.(URL.java:464) at java.net.URL.(URL.java:413) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.(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.(ServerImpl.java:69) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106){code} I have edited the exception to make it shorter. was: When I execute mvn jetty:run the following exception is thrown: {code lang=java} 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.Jetty6PluginWebAppContext@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.(URL.java:567) at java.net.URL.(URL.java:464) at java.net.URL.(URL.java:413) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.(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.(ServerImpl.java:69) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106) {code} I have edited the exception to make it shorter. > 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 > > 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.Jetty6PluginWebAppContext@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.(URL.java:567) > at java.net.URL.(URL.java:464) > at java.net.URL.(URL.java:413) > at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.(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.(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.