"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
Attachments
1
relates
Activity
Show:

Steven Sun March 5, 2017 at 10:48 PMEdited
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
Fixed
Details
Assignee
Steven SunSteven Sun(Deactivated)Reporter
Uğurcan ÇetinUğurcan Çetin(Deactivated)Branch Version/s
6.2.x6.1.xBackported to Branch
CommittedFix Priority
4Git Pull Request
Story Points
1.5Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.2.x
6.1.x
Backported to Branch
Committed
Fix Priority
4
Git Pull Request
Story Points
1.5
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created February 20, 2017 at 8:38 AM
Updated June 26, 2023 at 1:03 AM
Resolved May 23, 2017 at 9:34 PM
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)Start up the portal
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.