Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-533

Manager: Users list jsp can't be compiled.

XMLWordPrintable

    • Hide

      1) Add a user to tomcat users xml
      2) Access manager app
      3) Click on number of sessions

      Show
      1) Add a user to tomcat users xml 2) Access manager app 3) Click on number of sessions

      When trying access sessionList.jsp via clicking on number of session in manager app exception is rised (same for tomcat7 and 8):

      An error occurred at line: [18] in the generated java file: [/opt/ews/workspace/jws-3.1/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";
      

            rhn-support-csutherl Coty Sutherland
            fgoldefu@redhat.com Filip Goldefus (Inactive)
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified