Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE5FC91B2 for ; Thu, 22 Mar 2012 21:23:15 +0000 (UTC) Received: (qmail 29682 invoked by uid 500); 22 Mar 2012 21:23:13 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 29615 invoked by uid 500); 22 Mar 2012 21:23:13 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 29549 invoked by uid 99); 22 Mar 2012 21:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 21:23:12 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.85.173.253] (HELO server.dankulp.com) (64.85.173.253) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 21:23:07 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id EF43A182A77; Thu, 22 Mar 2012 17:22:46 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-dev@cxf.apache.org.qBJiShU9zd Received: from dilbert.dankulp.com (c-24-91-72-253.hsd1.ma.comcast.net [24.91.72.253]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id D8C5D182A77; Thu, 22 Mar 2012 17:22:44 -0400 (EDT) From: Daniel Kulp To: issues@cxf.apache.org, dev@cxf.apache.org Subject: Re: Fwd: Issue in Virgo Deployment Date: Thu, 22 Mar 2012 17:22:43 -0400 Message-ID: <3200021.U71naEojZ4@dilbert.dankulp.com> User-Agent: KMail/4.8.0 (Linux/3.2.2; KDE/4.8.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-102.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.3.2 On Wednesday, March 21, 2012 06:50:05 PM rajesh babu wrote: > I am struck for more than 3 days can anyone please help me out in this > Issue? How is the camel route defined? How is the CXF client created? Are you specifying a bus created from that config file? Dan > > Thanks in advance > Rajesh > ---------- Forwarded message ---------- > From: rajesh babu > Date: Tue, Mar 20, 2012 at 12:11 PM > Subject: Issue in Virgo Deployment > To: issues@cxf.apache.org > > > Hi All, > > I have application that will act as webservices client and i need to > submit to request to my server which is having an "https" endpoint, my > http-conduit looks like , > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:sec="http://cxf.apache.org/configuration/security" > xmlns:http="http://cxf.apache.org/transports/http/configuration" > xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" > xmlns:ctx="http://www.springframework.org/schema/context" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:camel-cxf="http://camel.apache.org/schema/cxf" > xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" > xsi:schemaLocation=" > http://cxf.apache.org/configuration/security > http://cxf.apache.org/schemas/configuration/security.xsd > http://cxf.apache.org/transports/http/configuration > http://cxf.apache.org/schemas/configuration/http-conf.xsd > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://camel.apache.org/schema/osgi > http://camel.apache.org/schema/osgi/camel-osgi.xsd > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd > http://cxf.apache.org/configuration/security > http://cxf.apache.org/schemas/configuration/security.xsd"> > > > > > > /> > > > > > disableCNCheck="true"> > > file="C:\\gehc-it\\ccg\\conf\\certs\\client.keystore"/> > > > file="C:\\gehc-it\\ccg\\conf\\certs\\ca.keystore"/> > > > > .*_EXPORT_.* > .*_EXPORT1024_.* > .*_WITH_DES_.* > NULL-SHA > .*_WITH_NULL_.* > .*_RSA_.* > .*_NULL-SHA_.* > .*_DH_anon_.* > > > > > > > > > But when i am trying to send a request i get the following error, > > 2012-03-19 23:34:09.043] INFO l Thread 69 - MinaThreadPool System.out > 0000: 15 03 01 00 12 AA > B4 0C 44 D5 99 BE 86 6C 3D 07 ........D....l=. > [2012-03-19 23:34:09.051] INFO l Thread 69 - MinaThreadPool System.out > 0010: 63 1B 8C 71 56 6C > 8F c..qVl. > [2012-03-19 23:34:09.052] INFO l Thread 69 - MinaThreadPool System.out > %% Invalidated: > [Session-13, SSL_RSA_WITH_RC4_128_MD5] > [2012-03-19 23:34:09.052] INFO l Thread 69 - MinaThreadPool System.out > Camel Thread 69 - > MinaThreadPool, called close() > [2012-03-19 23:34:09.053] INFO l Thread 69 - MinaThreadPool System.out > Camel Thread 69 - > MinaThreadPool, called closeInternal(true) > [2012-03-19 23:34:09.063] WARN l Thread 69 - MinaThreadPool > org.apache.cxf.phase.PhaseInterceptorChain > Interceptor for > {urn:ihe:iti:xds-b:2007}DocumentRepository_Service#{urn:ihe:iti:xds-b:2007 > }DocumentRepository_ProvideAndRegisterDocumentSet-b has thrown exception, > unwinding now org.apache.cxf.interceptor.Fault: Marshalling Error: The > https URL hostname does not match the Common Name (CN) on the server > certificate. To disable this check (NOT recommended for production) set > the CXF client TLS configuration property "disableCNCheck" to true. > at > org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:25 > 2) at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169) > at > org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(Ab > stractOutDatabindingInterceptor.java:111) at > org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterce > ptor.java:68) at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorCha > in.java:243) at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) > at $Proxy199.documentRepositoryProvideAndRegisterDocumentSetB(Unknown > Source) > at > org.openehealth.ipf.platform.camel.ihe.xds.iti41.component.Iti41Producer.c > allService(Iti41Producer.java:42) at > org.openehealth.ipf.platform.camel.ihe.xds.iti41.component.Iti41Producer.c > allService(Iti41Producer.java:27) at > org.openehealth.ipf.platform.camel.ihe.ws.DefaultItiProducer.process(Defau > ltItiProducer.java:160) at > org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsy > ncProcessorBridge.process(AsyncProcessorTypeConverter.java:50) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor > .java:104) at > org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:2 > 72) at > org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(Instrumentati > onProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInter > ceptor.java:99) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(Rede > liveryErrorHandler.java:299) at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorH > andler.java:208) at > org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at org.apache.camel.processor.Pipeline.process(Pipeline.java:143) > at org.apache.camel.processor.Pipeline.process(Pipeline.java:78) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at org.apache.camel.processor.Pipeline.process(Pipeline.java:143) > at org.apache.camel.processor.Pipeline.process(Pipeline.java:78) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(Instrumentati > onProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInter > ceptor.java:99) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(Rede > liveryErrorHandler.java:299) at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorH > andler.java:208) at > org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256) > at > org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor > .java:113) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(Instrumentati > onProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.component.direct.DirectProducer.process(DirectProducer.ja > va:61) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor > .java:104) at > org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:2 > 72) at > org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(Instrumentati > onProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInter > ceptor.java:99) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(Rede > liveryErrorHandler.java:299) at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorH > andler.java:208) at > org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at org.apache.camel.processor.Pipeline.process(Pipeline.java:143) > at org.apache.camel.processor.Pipeline.process(Pipeline.java:78) at > org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor > .java:99) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyn > cProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(Instrumentati > onProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.ja > va:91) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncPro > cessor.java:85) at > org.apache.camel.component.mina.MinaConsumer$ReceiveHandler.messageReceive > d(MinaConsumer.java:114) at > org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageRec > eived(AbstractIoFilterChain.java:570) at > org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceiv > ed(AbstractIoFilterChain.java:299) at > org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractI > oFilterChain.java:53) at > org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageRe > ceived(AbstractIoFilterChain.java:648) at > org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter > .java:220) at > org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(E > xecutorFilter.java:264) at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at > java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at > java.lang.Thread.run(Unknown Source) > Caused by: javax.xml.bind.MarshalException: null > at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(Unknown > Source) at > com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(Unknown > Source) > at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(Unknown Source) > at > org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java > :536) at > org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:22 > 7) ... 91 common frames omitted > Caused by: java.io.IOException: The https URL hostname does not match the > Common Name (CN) on the server certificate. To disable this check (NOT > recommended for production) set the CXF client TLS configuration property > "disableCNCheck" to true. > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite > (HTTPConduit.java:1932) at > org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputS > tream.java:42) at > org.apache.cxf.io.AbstractThresholdOutputStream.unBuffer(AbstractThreshold > OutputStream.java:89) at > org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOut > putStream.java:63) at > com.sun.xml.internal.bind.v2.runtime.output.UTF8XmlOutput.write(Unknown > Source) > at com.sun.xml.internal.bind.v2.runtime.output.Encoded.write(Unknown > Source) at > com.sun.xml.internal.bind.v2.runtime.output.UTF8XmlOutput.doText(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.output.UTF8XmlOutput.attribute(Unknow > n Source) > at > com.sun.xml.internal.bind.v2.runtime.output.MTOMXmlOutput.attribute(Unknow > n Source) > at com.sun.xml.internal.bind.v2.runtime.XMLSerializer.attribute(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.AttributeProperty.serializeA > ttributes(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeAttributes > (Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsXsiType(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.ArrayElementNodeProperty.ser > ializeItem(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.property.ArrayElementProperty.seriali > zeListBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.property.ArrayERProperty.serializeBod > y(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Unkno > wn Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Unkno > wn Source) > at > com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsXsiType(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.SingleElementNodeProperty.se > rializeBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(U > nknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(U > nknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(Unk > nown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Unk > nown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Unk > nown Source) > at > com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.s > erializeListBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.property.ArrayERProperty.serializeBod > y(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Unkno > wn Source) > at > com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsXsiType(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.SingleElementNodeProperty.se > rializeBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Unkno > wn Source) > at > com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsXsiType(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.SingleElementNodeProperty.se > rializeBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Unkno > wn Source) > at > com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsXsiType(Unknown > Source) > at > com.sun.xml.internal.bind.v2.runtime.property.SingleElementNodeProperty.se > rializeBody(Unknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(U > nknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(U > nknown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(Unk > nown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Unk > nown Source) > at > com.sun.xml.internal.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(Unk > nown Source) > at com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsRoot(Unknown > Source) > ... 96 common frames omitted -- Daniel Kulp dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com