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 CD2D2200D43 for ; Tue, 21 Nov 2017 10:49:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CBCA5160BFC; Tue, 21 Nov 2017 09:49:05 +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 200A0160BED for ; Tue, 21 Nov 2017 10:49:04 +0100 (CET) Received: (qmail 11413 invoked by uid 500); 21 Nov 2017 09:49:04 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 11403 invoked by uid 99); 21 Nov 2017 09:49:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2017 09:49:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4E7511A0BC2 for ; Tue, 21 Nov 2017 09:49:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZTqP1TALg8bo for ; Tue, 21 Nov 2017 09:49:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 28E495F574 for ; Tue, 21 Nov 2017 09:49:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 80DE3E0383 for ; Tue, 21 Nov 2017 09:49:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 41BB123F05 for ; Tue, 21 Nov 2017 09:49:00 +0000 (UTC) Date: Tue, 21 Nov 2017 09:49:00 +0000 (UTC) From: "Harsh Choudhary (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4895) s:select tags performance issue after upgrading to 2.5.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Nov 2017 09:49:06 -0000 [ https://issues.apache.org/jira/browse/WW-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16260486#comment-16260486 ] Harsh Choudhary commented on WW-4895: ------------------------------------- 11/21/2017 3:45:57 WARN entry com.xyz.ab.dao.DataAccessObject 11/21/2017 3:45:57 WARN exit com.xyz.ab.dao.DataAccessObject These are the logs from the DAO. Database is not even taking a sec to return the results > s:select tags performance issue after upgrading to 2.5.1.3 > ---------------------------------------------------------- > > Key: WW-4895 > URL: https://issues.apache.org/jira/browse/WW-4895 > Project: Struts 2 > Issue Type: Bug > Components: Core Tags > Affects Versions: 2.5.13 > Environment: IBM Websphere 8.5 , apache 2.x > Reporter: Harsh Choudhary > Priority: Critical > Labels: performance > Fix For: 2.5.x > > > We recently upgraded from Struts 2.1(don't ask) to Struts 2.5.13 , while the upgrade process was smooth, we are facing some performance issue while JSP is rendering at runtime. This JSP used to load in less then 2 secs before and now it's taking around 40 secs to load. It's a very simple JSP with some text fields and a few select fields. I am just posting a simple select that is taking around 20 secs, I cannot post the whole code because of obvious reasons. The time difference between the two-time statements below is around 20 secs. > I have tried to remove styles, javascript function but still it's taking a long time. Any suggestions in this regard will be helpful. This is happening most of the select boxes. > {code:html} > System.out.println("logging started"); > java.util.Date date49 = new java.util.Date(); > %> > The time is now <%= date49 %> > headerKey="-1" > list="doclist" > listKey="id" > listValue="Description" > onchange="disableErrormsg('VarLibAssetErrorDiv');" > /> > >