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

Liferay JSPs fail to compile in Tomcat 7.0.77+

    Details

      Description

      This problem doesn't exist in master due to the refactoring that occurred when moving files to modules.

      An LPS where a change appears to have occurred is listed below. The LPS numbers may not be correct, because history disappears due to constant moving of files in master making it difficult to track down when a change was actually introduced.

      • /html/portlet/admin/server.jspf: LPS-56904
      • /html/portlet/asset_publisher/configuration_dynamic.jsp: LPS-67289
      • /html/portlet/document_library_display/view.jsp: LPS-60057
      • /html/portlet/layouts_admin/publish_layouts.jsp: LPS-59380
      • /html/portlet/sites_admin/view.jsp: LPS-55267
      • /html/portlet/users_admin/view_flat_users.jspf: LPS-60749

      Steps to Reproduce

      1. Deploy Liferay to Tomcat 7.0.77
      2. Download the attached precompile.xml
      3. Run the following command, replacing /path/to/tomcat/folder with the Tomcat 7.0.77 folder:
        ant -f precompile.xml -Dtomcat.home.dir="/path/to/tomcat/folder" -Dwebapp.home=ROOT -Dwebapp.work=_ -Djsp.java.version=1.6

      Expected behavior is that Jasper runs to completion. Actual behavior is that Jasper aborts early due to the large .java files created when processing Liferay's jsps.

      Link to Knowledge Base article:
      https://customer.liferay.com/documentation/knowledge-base/-/kb/477911

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 20 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE