Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 8586B180D7 for ; Thu, 18 Feb 2016 19:27:17 +0000 (UTC) Received: (qmail 91378 invoked by uid 500); 18 Feb 2016 19:27:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91322 invoked by uid 500); 18 Feb 2016 19:27:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 91240 invoked by uid 99); 18 Feb 2016 19:27:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2016 19:27:14 +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 4748EC10CE for ; Thu, 18 Feb 2016 19:27:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.713 X-Spam-Level: X-Spam-Status: No, score=0.713 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, NO_RDNS_DOTCOM_HELO=0.433, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ALUqdou7ApLe for ; Thu, 18 Feb 2016 19:27:13 +0000 (UTC) Received: from vms173007pub.verizon.net (vms173007pub.verizon.net [206.46.173.7]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id F14E75F1AE for ; Thu, 18 Feb 2016 19:27:12 +0000 (UTC) Received: from vz-proxy-m004.mx.aol.com ([64.236.83.2]) by vms173007.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O2R00ARMCOLGQ70@vms173007.mailsrvcs.net> for users@tomcat.apache.org; Thu, 18 Feb 2016 13:26:46 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=EdU1O6SC c=1 sm=1 tr=0 a=EDCZS3Slg7tGr17y9w9vtg==:117 a=IkcTkHD0fZMA:10 a=jFJIQSaiL_oA:10 a=j4nzMFrpAAAA:8 a=QfKxxUxMAAAA:8 a=29Yeu7KtsxfB4fletksA:9 a=PSSTMwOrCcaw21_Z:21 a=_xeu7WP57xg98uiy:21 a=QEXdDO2ut3YA:10 Received: by 71.127.40.115 with SMTP id 44c05a1d; Thu, 18 Feb 2016 19:26:46 GMT Subject: Re: Session on Tomcat 7 manager screem To: Tomcat Users List References: <1058952924.27335759.1455812881734.JavaMail.zimbra@redhat.com> <56C5F457.1020908@apache.org> <716470282.27341887.1455813932393.JavaMail.zimbra@redhat.com> <56C5F650.3040501@apache.org> <1355327473.27352652.1455814985499.JavaMail.zimbra@redhat.com> From: Christopher Schultz Message-id: <56C61AF5.1080609@christopherschultz.net> Date: Thu, 18 Feb 2016 14:26:45 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-version: 1.0 In-reply-to: <1355327473.27352652.1455814985499.JavaMail.zimbra@redhat.com> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Qadeer, On 2/18/16 12:03 PM, Qadeer Khan wrote: > Ok I got a little more information the user Get this, too: What exact version of Tomcat. 7.0.what? > On clicking on the session number '0', he is getting the following > error. Any idea? > > FAIL - Encountered exception org.apache.jasper.JasperException: > Unable to compile class for JSP: > > An error occurred at line: [18] in the generated java file: > [/opt/jboss/jws-3.0/tomcat7/work/Catalina/localhost/manager/org/apache /jsp/WEB_002dINF/jsp/sessionsList_jsp.java] Okay, > so this is JBoss. Has Tomcat itself been modified at all? Or is it a (mostly) stock Tomcat? > Only a type can be imported. > org.apache.catalina.ha.session.DeltaSession resolves to a package > > An error occurred at line: 109 in the jsp file: > /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a > type 106: Session currentSession = (Session) iter.next(); > 107: String currentSessionId = > JspHelper.escapeXml(currentSession.getId()); 108: String > type; 109: if (currentSession instanceof DeltaSession) { > 110: if (((DeltaSession) > currentSession).isPrimarySession()) { 111: type = > "Primary"; 112: } else { > > > An error occurred at line: 110 in the jsp file: > /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a > type 107: String currentSessionId = > JspHelper.escapeXml(currentSession.getId()); 108: String > type; 109: if (currentSession instanceof DeltaSession) { > 110: if (((DeltaSession) > currentSession).isPrimarySession()) { 111: type = > "Primary"; 112: } else { 113: type = > "Backup"; This suggests to me that something is broken in the Tomcat installation itself (meaning that the customer - or you - have broken something). Can you confirm that the manager web application matches the Tomcat version you are running? If you copied the manager from another Tomcat version, it might not work very well -- or at all. Back to your original question: > So there are sessions running by users but no increment shown > under 'session' > > Please throw some light as why it is not increment and what can be > done to fix it? Why are you so sure that there are user sessions? Is some other component telling you there *are* sessions? If so, which component is telling you that there are sessions in memory? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlbGGvUACgkQ9CaO5/Lv0PCpFQCfeqjXU92mDmfpuCXM3Rn7sDFR 0WIAn0wk2sFTWQU5j2VGWPJ1pvVlOAf6 =cWwW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org