Foros de discusión

Liferay 6.2.0 GA1 bug - view_user_panel.jspf

Michaël CORLOU, modificado hace 10 años.

Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 6 Fecha de incorporación: 18/04/13 Mensajes recientes
hello,

i've a problem with liferay, i try to explain sorry my english wasn't good, i'v 2 server (master and slave) with DRBD replication and heartbeat control on service. When the master is out heartbeat tell slave to take master place and start liferay service. So liferay doesn't love that because i've this error :

ERROR [http-bio-8080-exec-11][PortletRequestDispatcherImpl:131] org.apache.jasper.JasperException: /html/portlet/dockbar/view.jsp (line: 220, column: 2) /html/portlet/dockbar/view_user_panel.jspf (line: 32, column: 2) /html/portlet/dockbar/view_user_account.jspf (line: 32, column: 1) Le fichier "/html/portlet/dockbar/view_user_account.portal.jspf" n'a pas été trouvé
org.apache.jasper.JasperException: /html/portlet/dockbar/view.jsp (line: 220, column: 2) /html/portlet/dockbar/view_user_panel.jspf (line: 32, column: 2) /html/portlet/dockbar/view_user_account.jspf (line: 32, column: 1) Le fichier "/html/portlet/dockbar/view_user_account.portal.jspf" n'a pas été trouvé

do you know how can i do to solve this problem ?

thanks you
Tamás Hanák, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 6 Fecha de incorporación: 16/01/14 Mensajes recientes
Hi,

I have the same problem.
Could you solve the problem? How?

htomi
thumbnail
Juan Gonzalez, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Hi Michael,

can you translate that French text?
Tamás Hanák, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 6 Fecha de incorporación: 16/01/14 Mensajes recientes
ERROR [http-bio-8080-exec-17][render_portlet_jsp:132] null
org.apache.jasper.JasperException: /html/portlet/dockbar/view.jsp (line: 220, column: 2) /html/portlet/dockbar/view_user_panel.jspf (line: 32, column: 2) /html/portlet/dockbar/view_user_account.jspf (line: 32, column: 1) File "/html/portlet/dockbar/view_user_account.portal.jspf" not found

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:324)
at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:357)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:467)
at org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1779)
at org.apache.jasper.compiler.Parser.parse(Parser.java:135)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:193)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
Shanmuga Venkatesh, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 2 Fecha de incorporación: 19/01/11 Mensajes recientes
I'm getting the same problem on GA1. This problem happened when I tried configuring Open Social portlets. Any help appreciated!

Cheers!
thumbnail
Zoltan Paulovics, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 2 Fecha de incorporación: 17/09/07 Mensajes recientes
Have the same broblem.

My experience is: when I restart the portal the portal-bandle/tomcat-7.0.42/webapps/ROOT/html/portlet/dockbar/view_user_account.jspf has been overwritn.

The last line in that file "<%@ include file="/html/portlet/dockbar/view_user_account.jspf" %> has been replaced by "<%@ include file="/html/portlet/dockbar/view_user_account.portal.jspf" %>"

The ".portal" string inserted before the extension.

The only way I could fix the problem to delete the "tomcat-7.0.42/webapps/ROOT" directory and copy it from the fress bundle.

Any idia?
Miguel Pereira, modificado hace 10 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 2 Fecha de incorporación: 19/12/13 Mensajes recientes
I have a similar problem.. apperantly removing the work directory under tomcat and restarting did the trick. For one machine but the problems still exists on a different server... Anyone know if this has been fixed / patched?
thumbnail
Christophe Cariou, modificado hace 9 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

Junior Member Mensajes: 57 Fecha de incorporación: 1/10/07 Mensajes recientes
Bonjour Michaël,

je pense que le problème vient du plugin "Notifications".

Ce plugin semble hooker la jspf view_user_account.jspf en effectuant un include de la version renommée de la page d'origine view_user_account.portal.jspf.
(cf https://github.com/liferay/liferay-plugins/tree/master/portlets/notifications-portlet/docroot/META-INF/custom_jsps/html/portlet/dockbar)

C'est assez bizarre comme façon de faire, mais bon...

Par contre, il semble que la jspf renommée view_user_account.portal.jspf disparaisse par la suite (peut être après un redémarrage).

Pour rétablir un comportement correct d'un portail Liferay dans cette situation, il vous faut reconstruire un fichier view_user_account.portal.jspf et le positionner dans le dossier : /liferay-portal-6.2-ce-ga2/tomcat-7.0.42/webapps/ROOT/html/portlet/dockbar.

Vous pouvez retrouver un tel fichier soit dans un bundle, soit directement sur github (par exemple pour la 6.2 : https://github.com/liferay/liferay-portal/blob/6.2.x/portal-web/docroot/html/portlet/dockbar/view_user_account.jspf

Pensez bien à renommer ce fichier en view_user_account.portal.jspf (inclure la mention ".portal").

Pas besoin de rédémarrer, juste un refresh dans le navigateur...

-- In English now --

Trouble came from "Notifications" plugin.

It seems to hook the view_user_account.jspf by reincluding it by its "backup" name : view_user_account.portal.jspf.

It's a little bit weird, but that's the way it is.

Anyway, the fact is that the renamed jsp view_user_account.portal.jspf could disappear in some unknown situations (perhaps a portal restart...).
And after that, the Dockbar will have troubles... (cf logs sample send by Michael).

To restore a correct running, you have to retrieve an original view_user_account.portal.jspf and rename/put it in the folder /liferay-portal-6.2-ce-ga2/tomcat-7.0.42/webapps/ROOT/html/portlet/dockbar

Don't miss the ".portal" in the renamed name.

After that, the Dockbar will run correctly (no need to restart, just refresh the browser).

Links :
Notifactions plugin hooked page : https://github.com/liferay/liferay-plugins/tree/master/portlets/notifications-portlet/docroot/META-INF/custom_jsps/html/portlet/dockbar)
Liferay 6.2 original page : https://github.com/liferay/liferay-portal/blob/6.2.x/portal-web/docroot/html/portlet/dockbar/view_user_account.jspf
alan brito delgado, modificado hace 9 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

New Member Mensajes: 14 Fecha de incorporación: 30/05/14 Mensajes recientes
Thanks a lot for your answer, now my problem it's solved.
thumbnail
Juan Gonzalez, modificado hace 9 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Seems that problem is caused by shutting down the server "killing" the process, instead of doing a "soft" shutdown. In case of hooks, killing the process won't let Liferay to replace the overwritten jsp by hooks (Social Office has some of them).
thumbnail
Christophe Cariou, modificado hace 9 años.

RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf

Junior Member Mensajes: 57 Fecha de incorporación: 1/10/07 Mensajes recientes
Hi Juan,

you should be right and thanks to your comment I've identified the situation when it occurs in our Liferay instances :

As we use Vagrant hosts in development stages, we oftenly "halt" the vm, without a clean Liferay stop.
So the shutdown kill the Liferay/Java process and then we are in this bad case.

Thanks again for the clue, I'll spread that to my team.

Christophe