Affects Version/s: 6.0.12 EE
Fix Version/s: 6.0.12 EE
Environment:LIFERAY VERSION: 6.0 SP 2
OPERATING SYSTEM: Linux
APPLICATION SERVER: Glassfish 3.x
JAVA VIRTUAL MACHINE: Java 6
DATABASE: MySQL 5.5
Similar Issues:Show 5 results
LPS-9618 Plugins need to be deployed twice after recompile / restart LPS-46155 Hook <after-filter> positions wrong place; only on multiple filter mappings. LPS-23507 Servlet-Filter loads before ROOT.xml causing null pointer exception on app server restart LPS-28742 Social Bookmarks hook causes errors after undeploy unless server is restarted LPS-16479 CLONE - Plugins need to be deployed twice after recompile / restart
This was resolved in my testing using liferay-fixpack-plugin-deployment-2-6012.zip.
I have created a hook with Servlet Filter. When I deploy the hook on the running system, everything works. But when I restart the server, a stack trace occurs upon startup.
STEPS TO REPRODUCE
The simple test will be just create a new hook with a servlet filter and deploy that in liferay 6.0 SP2 bundle. However, I've attached the client's hook to reproduce the issue.
1) Start up liferay 6.0 sp2
2) Deploy attached hook: test-hook.war
3) Hook deploys normally
4) Restart server.