Claus Ibsen created CAMEL-7615:
----------------------------------

             Summary: camel-itest-osgi - CxfProxyExampleTest fails
                 Key: CAMEL-7615
                 URL: https://issues.apache.org/jira/browse/CAMEL-7615
             Project: Camel
          Issue Type: Test
          Components: osgi, tests
    Affects Versions: 2.14.0
            Reporter: Claus Ibsen
             Fix For: 2.14.0


This tests fails on master branch

{code}
cd tests
cd camel-itest-osgi
mvn test -Dtest=CxfProxyExampleTest
{code}

Fails with
{code}

2014-07-19 17:40:21,744 | WARN  | qtp2088404347-91 | PhaseInterceptorChain      
      | ache.cxf.common.logging.LogUtils  452 | 97 - org.apache.cxf.cxf-core - 
3.0.0 | Application 
{http://reportincident.example.camel.apache.org}ReportIncidentEndpointService 
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Invalid uri: 
/camel-itest-osgi/webservices/incident. If you are forwarding/bridging http 
endpoints, then enable the bridgeEndpoint option on the endpoint: 
Endpoint[http://localhost:9081/real-webservice?throwExceptionOnFailure=false]
        at 
org.apache.camel.component.cxf.CxfConsumer$1.checkFailure(CxfConsumer.java:231)[138:org.apache.camel.camel-cxf:2.14.0.SNAPSHOT]
        at 
org.apache.camel.component.cxf.CxfConsumer$1.setResponseBack(CxfConsumer.java:209)[138:org.apache.camel.camel-cxf:2.14.0.SNAPSHOT]
        at 
org.apache.camel.component.cxf.CxfConsumer$1.syncInvoke(CxfConsumer.java:143)[138:org.apache.camel.camel-cxf:2.14.0.SNAPSHOT]
        at 
org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:78)[138:org.apache.camel.camel-cxf:2.14.0.SNAPSHOT]
        at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_45]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
        at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[97:org.apache.cxf.cxf-core:3.0.0]
        at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)[122:org.apache.cxf.cxf-rt-transports-http:3.0.0]
        at 
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:259)[136:org.apache.cxf.cxf-rt-transports-http-jetty:3.0.0]
        at 
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:65)[136:org.apache.cxf.cxf-rt-transports-http-jetty:3.0.0]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1046)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:982)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.Server.handle(Server.java:367)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)[104:org.eclipse.jetty.http:7.6.9.v20130131]
        at 
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[104:org.eclipse.jetty.http:7.6.9.v20130131]
        at 
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[108:org.eclipse.jetty.server:7.6.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[103:org.eclipse.jetty.io:7.6.9.v20130131]
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[103:org.eclipse.jetty.io:7.6.9.v20130131]
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[102:org.eclipse.jetty.util:7.6.9.v20130131]
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[102:org.eclipse.jetty.util:7.6.9.v20130131]
        at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
Caused by: java.lang.IllegalArgumentException: Invalid uri: 
/camel-itest-osgi/webservices/incident. If you are forwarding/bridging http 
endpoints, then enable the bridgeEndpoint option on the endpoint: 
Endpoint[http://localhost:9081/real-webservice?throwExceptionOnFailure=false]
        at 
org.apache.camel.component.http.HttpProducer.createMethod(HttpProducer.java:378)[93:org.apache.camel.camel-http:2.14.0.SNAPSHOT]
        at 
org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:91)[93:org.apache.camel.camel-http:2.14.0.SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:120)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)[71:org.apache.camel.camel-core:2.14.0.SNAPSHOT]
        at org.apache.camel.componen

...

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.577 sec <<< 
FAILURE! - in org.apache.camel.itest.osgi.cxf.CxfProxyExampleTest
testCxfProxy:org.apache.camel.itest.osgi.cxf.CxfProxyExampleTest.testCxfProxy:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.3.5/tar.gz}(org.apache.camel.itest.osgi.cxf.CxfProxyExampleTest)
  Time elapsed: 13.938 sec  <<< ERROR!
org.apache.cxf.binding.soap.SoapFault: Invalid uri: 
/camel-itest-osgi/webservices/incident. If you are forwarding/bridging http 
endpoints, then enable the bridgeEndpoint option on the endpoint: 
Endpoint[http://localhost:9081/real-webservice?throwExceptionOnFailure=false]
        at 
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:84)
        at 
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:51)
        at 
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:40)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at 
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
        at 
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
        at 
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1636)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1525)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330)
        at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)
        at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137)
        at com.sun.proxy.$Proxy83.reportIncident(Unknown Source)
        at 
org.apache.camel.itest.osgi.cxf.CxfProxyExampleTest.testCxfProxy(CxfProxyExampleTest.java:62)


Results :

Tests in error:
  CxfProxyExampleTest.testCxfProxy:62 ยป SoapFault Invalid uri: 
/camel-itest-osgi...
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to