Resolution: Won't Fix
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
Fix Version/s: 6.2.0 CE B1
For security purposes related to
LPS-26321, web.xml listener elements like the following:
... will get consolidated into a context-param like the following:
But this should only happen if security-manager-enabled=true in the WEB-INF/liferay-plugin-package.properties file.
1. Install one of the following:
Liferay Portal 6.1.20 EE GA2 and then apply liferay-fix-pack-plugin-deployment-1-6120
– OR –
Build Liferay Portal 6.2.0-SNAPSHOT from the master branch.
2. Download the latest 3.2.x-SNAPSHOT version of the jsf2-portlet demo WAR
3. Copy the jsf2-portlet.war artifact to the /deploy folder
4. Examine the tomcat/webapps/jsf2-portlet/WEB-INF/web.xml file
If the bug still exists, then there will be no <listener> elements and they will have been replaced by the portalListenerClasses context-param.
If the bug is fixed, then the <listener> elements will remain, and there will not be a portalListenerClasses context-param.