-----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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org