Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27851

DirectServletRegistryImpl throws ClassCastException when Liferay runs on Tomcat 7.0.16 and before

    Details

      Description

      DirectServletRegistryImpl throws ClassCastException when Liferay runs on Tomcat 7.0.16 and before.

      This is because it assumes that all versions of Tomcat 7.0.x are such that JspServletWrapper.getDependants() returns a Map. However, this change did not happen until the Tomcat 7.0.19 release (possibly between the Tomcat 7.0.16 and Tomcat 7.0.19 releases). Therefore, when running Liferay on Tomcat 7.0.16, when JspServletWrapper.getDependants() returns a List instead of the expected Map, a ClassCastException is thrown.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              minhchau.dang Minhchau Dang
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 4 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2