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 344DE6A32 for ; Sun, 12 Jun 2011 01:26:28 +0000 (UTC) Received: (qmail 42522 invoked by uid 500); 12 Jun 2011 01:26:28 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 42460 invoked by uid 500); 12 Jun 2011 01:26:27 -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 42452 invoked by uid 99); 12 Jun 2011 01:26:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 01:26:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.123.75.163] (HELO sosnoski.com) (206.123.75.163) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 01:26:22 +0000 Received: from linux-uooa.site ([202.65.43.145]) (authenticated bits=0) by sosnoski.com (8.12.10/8.12.10) with ESMTP id p5C1PmUI003378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 11 Jun 2011 21:25:59 -0400 Message-ID: <4DF41599.40107@sosnoski.com> Date: Sun, 12 Jun 2011 13:25:45 +1200 From: Dennis Sosnoski User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: dev@cxf.apache.org Subject: Re: Tests failing with no internet connection References: <4DF3EC04.5030106@sosnoski.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ok, I'll try to get this set up. - Dennis On 06/12/2011 01:23 PM, Freeman Fang wrote: > Hi Dennis, > > Yep, we should add xml catalog to avoid downloading xsd remotely. > We already have local wsrm-policy.xsd in ws/rm module so we just need > add catalog.xml somewhere to map remote url to the local one. > > Freeman > > On 2011-6-12, at 上午6:28, Dennis Sosnoski wrote: > >> I've been trying to fix some sys test problems with new code while >> running offline, and have run into problems with Spring apparently >> trying to load schema definitions. Here's a typical exception: >> >> Caused by: org.apache.cxf.binding.soap.SoapFault: >> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: >> Line 71 in XML document from class path resource >> [org/apache/cxf/systest/ws/rm/seqlength1.xml] is invalid; nested >> exception is org.xml.sax.SAXParseException: src-resolve: Cannot resolve >> the name 'wsrmp:RMAssertion' to a(n) 'element declaration' component. >> at >> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75) >> >> at >> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46) >> >> at >> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:1) >> >> at >> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) >> >> at >> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:99) >> >> at >> org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69) >> >> at >> org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:1) >> >> at >> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) >> >> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:730) >> ... >> >> From other traces it seems the problem is that Xerces is trying to fetch >> the schema definition online and failing. >> >> When I run the same test with an internet connection it loads the >> configuration file without any problems. >> >> Anyone have any ideas how I can work around this for offline builds? And >> are we supposed to require an internet connection for full builds, or is >> this something that should be fixed anyway? >> >> Thanks, >> >> - Dennis >> >> -- >> >> Dennis M. Sosnoski >> Java SOA and Web Services Consulting >> >> Axis2/CXF/Metro SOA and Web Services Training >> >> Web Services Jump-Start >> > > --------------------------------------------- > Freeman Fang > > FuseSource > Email:ffang@fusesource.com > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > > > > > > > > > >