"org.apache.jasper.JasperException: Unable to compile class for JSP" html\common\themes\portlet.jsp when you deploy Liferay 6.2 to Tomcat 7.0.75

Description

  1. Deploy Liferay 6.2 to Tomcat 7.0.75
    (Note: when using 62x, make sure jsp.precompile is disabled otherwise you won't get the error)

  2. Start up the portal

  3. Go to the default page

Experienced behavior: The following error message is displayed in the log:

Expected behavior: After starting up the portal the above exceptions shouldn't be thrown
Reproduced on branch commit e4fcbbfdaddb1c316dc3bb4e00b113a0e966effb


Workaround Replace tomcat-7.0.75/lib/jasper.jar with an older version of jasper.jar (for example, copy from tomcat-7.0.62). This recent change in Jasper (first shipped with tomcat-7.0.75) might be related: http://bz.apache.org/bugzilla/show_bug.cgi?id=60356.

Attachments

1

Activity

Show:

Steven Sun March 5, 2017 at 10:48 PM
Edited

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0.75 + 6.2.10 EE SP17.

Fixed on:
Tomcat 7.0.75 + MySQL 5.7. Portal ee-6.2.x GIT ID: da614c15129e7e4f4fc1721372f3621f44adb365.

No error throw during start up.

Miguel Ángel Pastor Olivar February 26, 2017 at 10:06 PM

Just started reviewing migue/liferay-portal-ee#74.

 

Sent from GH

Fixed

Details

Assignee

Reporter

Branch Version/s

6.2.x
6.1.x

Backported to Branch

Committed

Fix Priority

4

Git Pull Request

Story Points

Components

Fix versions

Affects versions

Priority

Zendesk Support

Created February 20, 2017 at 8:38 AM
Updated June 26, 2023 at 1:03 AM
Resolved May 23, 2017 at 9:34 PM
Loading...