Ok I got a little more information the user On cllicking 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] 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"; Stacktrace: Thanks Original Message ----- From: "Mark Thomas" <ma...@apache.org> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Thursday, February 18, 2016 11:50:24 AM Subject: Re: Session on Tomcat 7 manager screem On 18/02/2016 16:45, Qadeer Khan wrote: > Can you tell what a session definition is? You are claiming there is a bug with session handling yet you don't know what a session is? Oh dear. Time for you to spend some time reading the Servlet specification. Mark > > > On 18/02/2016 16:28, Qadeer Khan wrote: >> Hey Guys, >> >> Someone please throw some light as I am being asked about it several time now > > Then maybe try reading the responses you received to your previous post > and answering the questions you were asked. > >> There is are several running java applications deployed and running on >> tomcat server 7 but the 'session' field on the Manager screen always show a >> '0". > > OK. So there aren't any sessions. > >> So there are sessions running by users but no increment shown under 'session' > > You need to provide some evidence to back up that statement. You have > been asked several times for this and still have not provided any. What > have you done to confirm that sessions are created? > >> Please throw some light as why it is not increment and what can be done to >> fix it? > > You have yet to demonstrate that there is anything to fix. > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org