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 7220A69B0 for ; Sun, 12 Jun 2011 01:23:55 +0000 (UTC) Received: (qmail 40954 invoked by uid 500); 12 Jun 2011 01:23:55 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 40908 invoked by uid 500); 12 Jun 2011 01:23:55 -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 40897 invoked by uid 99); 12 Jun 2011 01:23:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 01:23:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of freeman.fang@gmail.com designates 209.85.160.41 as permitted sender) Received: from [209.85.160.41] (HELO mail-pw0-f41.google.com) (209.85.160.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 01:23:47 +0000 Received: by pwi12 with SMTP id 12so2042917pwi.0 for ; Sat, 11 Jun 2011 18:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:in-reply-to:content-type :mime-version:subject:date:references:x-mailer; bh=Ij7og7Ej+GYf5ANJwV7ftbuThOfHh9GeVvQ7TJLhwrU=; b=wI++6c3UKaFhavHkjbRzF5oUlTE1aEUGhgmbwpjlOi2nQWkVZSpDvhasB6JIOHFnls +538URpJibLtcUDXxD+D50D9tCsP+bJvFl42ElWr88c5+2JI45C1YhmGVARiCOU3CCL5 reDBY/tdmO3MvPcyufmcJFTtPVx5UkNjjRP3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=olMf/LEIbjbYdAwkyUcUhyjyYjJKic9uIpoD8kMe4c1OHl16cOMDJjaBVofKoeUHkj debn0jlBWMcxSjO9Ns67dMR7KD6//qnv6CP1dp4jrN6Cg1XK4LmPhw1Wd7M4ybV4cysq 3TRhnfypxA4JZWUO8R5NvwMBJxGBev8nIW27o= Received: by 10.68.5.162 with SMTP id t2mr1625778pbt.251.1307841804662; Sat, 11 Jun 2011 18:23:24 -0700 (PDT) Received: from [192.168.1.100] ([123.119.251.221]) by mx.google.com with ESMTPS id b8sm3488865pbj.14.2011.06.11.18.23.20 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Jun 2011 18:23:23 -0700 (PDT) Message-Id: From: Freeman Fang To: dev@cxf.apache.org In-Reply-To: <4DF3EC04.5030106@sosnoski.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2-969598062 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Tests failing with no internet connection Date: Sun, 12 Jun 2011 09:23:16 +0800 References: <4DF3EC04.5030106@sosnoski.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2-969598062 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable 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 =20= add catalog.xml somewhere to map remote url to the local one. Freeman On 2011-6-12, at =E4=B8=8A=E5=8D=886: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 =20 > resolve > the name 'wsrmp:RMAssertion' to a(n) 'element declaration' component. > at > org=20 > .apache=20 > .cxf=20 > .binding=20 > .soap=20 > .interceptor=20 > .Soap11FaultInInterceptor=20 > .unmarshalFault(Soap11FaultInInterceptor.java:75) > at > org=20 > .apache=20 > .cxf=20 > .binding=20 > .soap=20 > .interceptor=20 > .Soap11FaultInInterceptor=20 > .handleMessage(Soap11FaultInInterceptor.java:46) > at > org=20 > .apache=20 > .cxf=20 > .binding=20 > .soap=20 > .interceptor=20 > .Soap11FaultInInterceptor=20 > .handleMessage(Soap11FaultInInterceptor.java:1) > at > org=20 > .apache=20 > .cxf=20 > .phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:=20= > 263) > at > org=20 > .apache=20 > .cxf=20 > .interceptor=20 > .AbstractFaultChainInitiatorObserver=20 > .onMessage(AbstractFaultChainInitiatorObserver.java:99) > at > org=20 > .apache=20 > .cxf=20 > .binding=20 > .soap=20 > .interceptor=20 > .CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69) > at > org=20 > .apache=20 > .cxf=20 > .binding=20 > .soap=20 > .interceptor=20 > .CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:1) > at > org=20 > .apache=20 > .cxf=20 > .phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:=20= > 263) > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:=20 > 730) > ... > > =46rom other traces it seems the problem is that Xerces is trying to =20= > 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? =20= > And > are we supposed to require an internet connection for full builds, =20 > or is > this something that should be fixed anyway? > > Thanks, > > - Dennis > > --=20 > > 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 --Apple-Mail-2-969598062--