Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 80066 invoked from network); 27 Oct 2010 08:33:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Oct 2010 08:33:51 -0000 Received: (qmail 48341 invoked by uid 500); 27 Oct 2010 08:33:51 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 48177 invoked by uid 500); 27 Oct 2010 08:33:49 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 48169 invoked by uid 99); 27 Oct 2010 08:33:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 08:33:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stephane.nicoll@gmail.com designates 209.85.161.41 as permitted sender) Received: from [209.85.161.41] (HELO mail-fx0-f41.google.com) (209.85.161.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Oct 2010 08:33:42 +0000 Received: by fxm2 with SMTP id 2so429819fxm.0 for ; Wed, 27 Oct 2010 01:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=SjpmbAaesYTx6lHx29af/T69FnHuVcSzG/YCCcqR4ZM=; b=J1jBnISY9ZGjkVGUMO7bbFbnXMRjB3e7cCau8h1WmTAUk4Pbt+FbmdSoezDRtMVXr2 +hskVZwE3meqWY6u6pnsKDA6rwZKwAFwUiKVx39HFD+RjUVlkieuf9JAxMyoLek1nG60 f6iN+G/HvodefE6FMEJcJVskxI3Gi3lSojkb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gt1vPCI3BHGzA/2fOoJjWfTI3Wa6N0+OEbuRdUyR3jXRE+oHPh5gaduTxNkDQ3WNRt RpCVXuKJGgwJpzLw9HwOAZtfgNwHAL2bVTtSdGhBhZ9pTXTTQRO+GIssirelwYFfy1FY t2Gw3flkfpNFaSKLzTJKkp9ScACdE9loS5fAw= MIME-Version: 1.0 Received: by 10.223.89.136 with SMTP id e8mr1971323fam.139.1288168402054; Wed, 27 Oct 2010 01:33:22 -0700 (PDT) Received: by 10.223.123.196 with HTTP; Wed, 27 Oct 2010 01:33:21 -0700 (PDT) In-Reply-To: References: <4CBEAB29.7020107@gmail.com> Date: Wed, 27 Oct 2010 10:33:21 +0200 Message-ID: Subject: Re: cxf 2.3 and Jetty 7 From: Stephane Nicoll To: users@cxf.apache.org Content-Type: multipart/alternative; boundary=20cf3054a35903ef6d049395149a X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a35903ef6d049395149a Content-Type: text/plain; charset=ISO-8859-1 A plain old maven2 module with Spring 2.5. No OSGI. The thing I really don't understand is what does trigger the actual startup of Jetty. Looking at the samples, it should be located in the processing of the namespace somehow but if I copy/paste the CherrServer.xml in my project, jetty does not start. Thanks, S. On Wed, Oct 27, 2010 at 9:48 AM, Willem Jiang wrote: > Are you deploying the example into an OSGi platform? > If so there may be some issue, I will have a look at it if I get some > time tomorrow. > > Willem > > On 10/27/10, Stephane Nicoll wrote: > > Hi there, > > > > I started from the base and thought the samples would answer my original > > issue. I downloaded the official apache-cxf 2.3.0 distribution from > > apache.org, had a look and found all kinds of reference to > > "org.mortbay.jetty". If I try to run these samples, I am getting an > obvious > > ClassNotFoundException since Jett7 is used. > > > > However, jax_rs\basic_https is working fine and I copy/pasted the > > cherryServer.xml in my project but jetty does not seem to start. > > > > What am I missing? Especially since the same config works just fine with > > 2.2.11 (and Jetty 6) > > > > S. > > > > On Wed, Oct 20, 2010 at 10:41 AM, Willem Jiang > > wrote: > > > >> There is no other different configuration on the jetty7 to start the > >> embedded server. > >> Can you take a look at the CXF 2.3.0 system tests, we didn't face that > >> kind > >> of issue before? > >> > >> BTW, what's address that your service was published? > >> > >> > >> On 10/20/10 4:14 PM, Stephane Nicoll wrote: > >> > >>> Hi, > >>> > >>> We are trying to upgrade our application from 2.2.10 to 2.3.0 and we're > >>> facing an issue with embedded Jetty7 > >>> > >>> We have a set of unit tests starting CXF with an embedded jetty. First > we > >>> had to rename some classes since the move to eclipse but the real issue > >>> is > >>> that while CXF states it has deployed our Web Service, all the unit > tests > >>> are failing with a ConnectionException now. > >>> > >>> Do you have a working setup somewhere of embedded jetty with unit tests > >>> and > >>> cxf 2.3? I had a look to the doc but it does not seem up to date in > that > >>> area. > >>> > >>> Thanks, > >>> S. > >>> > >>> > >> > >> -- > >> Willem > >> ---------------------------------- > >> Open Source Integration: http://www.fusesource.com > >> Blog: http://willemjiang.blogspot.com (English) > >> http://jnn.javaeye.com (Chinese) > >> Twitter: http://twitter.com/willemjiang > >> > > > --20cf3054a35903ef6d049395149a--