Dockbar Display Error After Patch Installation With Patching Tool

After installation of a new hotfix, the dockbar fails to display and an error message can be found in the logs:

ERROR [http-bio-8080-exec-1][LiferayMethodExceptionEventHandler:34]com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.StackOverflowError
com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.StackOverflowError
at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:129)
at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:140)
at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:63)
...
[http-bio-8080-exec-2][PortletRequestDispatcherImpl:131]org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.view_jsp
org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.view_jsp
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)​

This may be experienced when patching Liferay after an unfinished/incorrect shutdown process of the portal.

Resolution

  1. Stop server
  2. Execute the patching-tool revert command
  3. Download the attached view_user_account.jspf file or copy it from a Liferay Portal 6.2 EE SP1's [Liferay ROOT]\html\portlet\dockbar folder
  4. Copy the view_user_account.jspf file to the deployed portal's [Liferay ROOT]\html\portlet\dockbar folder
  5. Execute the patching-tool install command
  6. Start server
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0