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
- Stop server
- Execute the patching-tool revert command
- 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 - Copy the
view_user_account.jspf
file to the deployed portal's[Liferay ROOT]\html\portlet\dockbar
folder - Execute the patching-tool install command
- Start server
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In