Tomcat 7's sessionsList.jsp does not work on EWS 2

Solution Verified - Updated -

Issue

  • The sessionsList.jsp page in the Tomcat 7 manager app does not work on EWS 2. It throws the following error:
An error occurred at line: [18] in the generated java file: [/usr/share/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 {

Environment

  • JBoss Enterprise Web Server (EWS) 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content