Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9E1318211 for ; Mon, 5 Oct 2015 08:42:23 +0000 (UTC) Received: (qmail 90120 invoked by uid 500); 5 Oct 2015 08:42:23 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 90045 invoked by uid 500); 5 Oct 2015 08:42:23 -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 90033 invoked by uid 99); 5 Oct 2015 08:42:22 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 08:42:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2DBA4C27F1 for ; Mon, 5 Oct 2015 08:42:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id gEHTrcfn952P for ; Mon, 5 Oct 2015 08:42:15 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 52C6620513 for ; Mon, 5 Oct 2015 08:42:15 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so103527264wic.0 for ; Mon, 05 Oct 2015 01:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=S0UGmRjdxwJm5qlhHCdllIt4J2bUhCcSgoNVqqmSa6A=; b=pfUCtsfiO68SyqsApeJrgLOpRmnppHXdJot5MH4jz5wZzlAeiKxNzq45EuAE3ahv8k +gsmDlKPLehgEnDODwgyoJuZ1JMZtTqR/uttMWC2O+BCFwficMCmfNEUPZFvBpOM5Qly ADMkv/w7EKzcSsQSfxwWtn8hxKZ2BUIrRy6R4X8YeJ4UtWDucqyMUrSU1vc91qi0etSL NOHCzMZJ6jrHXQU/oQQ5OnHhQfjp84p3eb5pFTrkd3XA4lsV26h+rS8CF1Sg2meqen0U M0HAhI2OZG2emvvHjtoIRfOv1LC84KBQ5kVwhBejUIprqsScMi6UmQraVclXoKXY4lnY Zm7A== X-Received: by 10.194.62.20 with SMTP id u20mr33628226wjr.2.1444034534018; Mon, 05 Oct 2015 01:42:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jorg Heymans Date: Mon, 05 Oct 2015 08:42:04 +0000 Message-ID: Subject: Re: ReflectionServiceFactoryBean performance To: "users@cxf.apache.org" Content-Type: multipart/alternative; boundary=047d7ba982d47196020521577dbb --047d7ba982d47196020521577dbb Content-Type: text/plain; charset=UTF-8 The wsdlLocation attribute is not specified, and to be honest i have no idea if there is any remote downloading involved during startup. We just specify id and serviceClass attribute and let cxf do its thing. I will try to profile and report back. Jorg On Sun, Oct 4, 2015 at 5:23 PM Andrei Shakirin wrote: > Hi, > > 2.5 to 3 minutes is quite long even for 15 clients initialization. > Did you specify wsdlLocation attribute in jaxws:client? Can performance be > related to remote WSDL downloading? > Could you bind any profiling tool and discover which operation caused > performance problem? > > Regards, > Andrei. > > > -----Original Message----- > > From: Jorg Heymans [mailto:jorg.heymans@gmail.com] > > Sent: Donnerstag, 1. Oktober 2015 08:45 > > To: users@cxf.apache.org > > Subject: ReflectionServiceFactoryBean performance > > > > Hi, > > > > We have about 15 jaxws client definitions in our application context > defined > > like this : > > > > > address="http://....."/> > > > > Initializing all of these during startup takes on average about 2.5 to 3 > minutes. > > This is already after adding - > > Dcom.sun.xml.bind.v2.runtime.JAXBContextImpl.fastBoot=true , before that > it > > was more like 5-6 minutes. > > > > Is there a way to improve this ? We are going to add more services as the > > application grows, and already now this cxf init takes up more than half > of our > > deployment time. > > > > Thanks, > > Jorg Heymans > --047d7ba982d47196020521577dbb--