Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 39290 invoked from network); 19 Aug 2009 18:29:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 18:29:46 -0000 Received: (qmail 4004 invoked by uid 500); 19 Aug 2009 18:30:04 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 3940 invoked by uid 500); 19 Aug 2009 18:30:04 -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 3930 invoked by uid 99); 19 Aug 2009 18:30:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 18:30:04 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.40.44.220] (HELO smtprelay.hostedemail.com) (216.40.44.220) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 18:29:52 +0000 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay01.hostedemail.com (Postfix) with SMTP id ABEFB250B3 for ; Wed, 19 Aug 2009 18:29:31 +0000 (UTC) X-Spam-Summary: 50,0,0,459e927b038357be,907452bc8cfe1759,dkulp@apache.org,dev@cxf.apache.org:chris@die-schneider.net,RULES_HIT:355:379:599:601:945:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1766:1792:2379:2393:2525:2553:2560:2563:2682:2685:2828:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3353:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6114:6119:6261:7464:7679:7841:7858:7903:8501:8957:8985:9025:9388,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 3650 Received: from server.dankulp.com (server1.dankulp.com [66.207.172.168]) (Authenticated sender: dan@kulp.com) by omf06.hostedemail.com (Postfix) with ESMTP for ; Wed, 19 Aug 2009 18:29:31 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id D0A52507002C; Wed, 19 Aug 2009 14:29:30 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.AcfxpRuxDa Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id A20A8507002C; Wed, 19 Aug 2009 14:29:25 -0400 (EDT) From: Daniel Kulp To: dev@cxf.apache.org Subject: Re: Test Failures Date: Wed, 19 Aug 2009 14:29:16 -0400 User-Agent: KMail/1.12.0 (Linux/2.6.30-gentoo-r4; KDE/4.3.0; x86_64; ; ) Cc: Christian Schneider References: <4A8BAFE4.2020005@die-schneider.net> In-Reply-To: <4A8BAFE4.2020005@die-schneider.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200908191429.16607.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.3 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr1 I tried those specific tests with 1.6.0_16 on Linux and they worked fine. (although using mvn 2.2.1, not 2.2.0. Not sure if that's an issue.) You might want to try a full clean/rebuild and maybe even delete the com/sun/xml stuff out of .m2/repository to make sure the right version of jaxb-xjc gets pulled down. That said, it looks like those tests are all ones that generate some code, launch the compiler, then load the compiled classes. Thus, if it fails to generate the code or fails to compile them, those errors could occur. If you can "debug" in and see if the stuff in /tmp (or whereever on Windows) gets properly compiled, that would be a great start. Maybe the classpath is wrong or we're hitting a path length issue on the compile or similar. Dan On Wed August 19 2009 3:55:16 am Christian Schneider wrote: > Hi all, > > I am getting some unit test errors and failures in systest. Is this > expected at the moment or am I doing something wrong? Seems like it has > to do with code generation from wsdls. > > Greetings > > Christian > > testDynamicClient > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "org.apache.cxf.systest.aegis" doesnt contain > ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.aegis.AegisClientServerTest:161 > testBase64 > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "com.inforsense.webservicestudio.data.rpc" doesnt > contain ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.ClientServerTest:116 > testJaxWsDynamicClient > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "com.inforsense.webservicestudio.data.rpc" doesnt > contain ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.ClientServerTest:130 > testInvocation > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "org.apache.cxf.no_body_parts.wsdl" doesnt contain > ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.JaxWsDynamicClientTest:68 -- Daniel Kulp dkulp@apache.org http://www.dankulp.com/blog