Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D77F6200B5A for ; Thu, 21 Jul 2016 08:16:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D605A160A86; Thu, 21 Jul 2016 06:16:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2B70D160A64 for ; Thu, 21 Jul 2016 08:16:01 +0200 (CEST) Received: (qmail 52793 invoked by uid 500); 21 Jul 2016 06:16:00 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 52780 invoked by uid 99); 21 Jul 2016 06:16:00 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2016 06:16:00 +0000 Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id C143A1A009D for ; Thu, 21 Jul 2016 06:15:59 +0000 (UTC) Received: by mail-io0-f174.google.com with SMTP id m101so67464000ioi.2 for ; Wed, 20 Jul 2016 23:15:59 -0700 (PDT) X-Gm-Message-State: ALyK8tJnECH+NQOCnybBI+Ss+eSuk5ukWcAzoZzbgF+G3QFjVA+RWPsQg5QPHYUgNQwZNynCOY7kOWzT8dPiDw== X-Received: by 10.107.25.14 with SMTP id 14mr46992693ioz.168.1469081758962; Wed, 20 Jul 2016 23:15:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.90.72 with HTTP; Wed, 20 Jul 2016 23:15:39 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Thu, 21 Jul 2016 08:15:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Struts2 initial page loading time To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Thu, 21 Jul 2016 06:16:02 -0000 2016-07-21 7:58 GMT+02:00 Sreekanth S. Nair : > Hi Adam, > I don't think a blank artifact can replicate the issue, in > our app action consist of many spring beans dependency and so on. As i sa= id > this is happening only while first time a page loads from a web context, > later on any pages from the same web context loads normal. I guess struts > is doing some warming up wrt spring bean injection or something similar. I would say that the Spring is doing some warmup (e.g. building object graph), if you are using the Spring to construct actions and inject dependencies, Struts has nothing to do here. Maybe it is possible to configure Spring to avoid package-scan (which is slow and performed on init). Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org