Resolution: Won't Fix
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE
Fix Version/s: None
Component/s: Core Infrastructure
Liferay Portal 6.2 versions are generally bundled with Tomcat 7.
However they can also be set up with Tomcat 8 - that configuration works too, but there is a warning displayed for custom plugins referencing a Tomcat property which is deprecated since Tomcat 8.
Liferay 6.2.x with Tomcat 8.5.57
Steps to reproduce:
- Deploy Liferay 6.2 on Tomcat 8.5.57
- Start the bundle.
- Deploy the attached portlet (MVCPortlet6210-portlet-188.8.131.52.war).
During the deployment of the portlet, the following warning appears in the logs:
There are no warnings in the logs related to the 'antiJARLocking' property.
We found that during deployment, a context.xml file is added to the portlet's META-INF folder, which contains the following:
This file comes from the portal-impl.jar module:
If the property is removed from the context.xml file in the portal-impl.jar module, and the custom portlet is redeployed, the warning does not appear anymore.