Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Michaël CORLOU
Liferay 6.2.0 GA1 bug - view_user_panel.jspf
12 de noviembre de 2013 8:17
Respuesta

Michaël CORLOU

Ranking: New Member

Mensajes: 6

Fecha de incorporación: 18 de abril de 2013

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 Erős
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
20 de enero de 2014 2:45
Respuesta

Tamás Erős

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 16 de enero de 2014

Mensajes recientes

Hi,

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

htomi
Juan Gonzalez
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
20 de enero de 2014 3:50
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1983

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

Hi Michael,

can you translate that French text?
Tamás Erős
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
20 de enero de 2014 3:54
Respuesta

Tamás Erős

Ranking: New Member

Mensajes: 5

Fecha de incorporación: 16 de enero de 2014

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
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
22 de enero de 2014 22:00
Respuesta

Shanmuga Venkatesh

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 19 de enero de 2011

Mensajes recientes

I'm getting the same problem on GA1. This problem happened when I tried configuring Open Social portlets. Any help appreciated!

Cheers!
Zoltan Paulovics
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
25 de enero de 2014 6:29
Respuesta

Zoltan Paulovics

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 17 de septiembre de 2007

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
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
18 de febrero de 2014 15:57
Respuesta

Miguel Pereira

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 19 de diciembre de 2013

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?
Christophe Cariou
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
3 de septiembre de 2014 5:09
Respuesta

Christophe Cariou

Ranking: Junior Member

Mensajes: 45

Fecha de incorporación: 1 de octubre de 2007

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
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
17 de noviembre de 2014 13:25
Respuesta

alan brito delgado

Ranking: New Member

Mensajes: 14

Fecha de incorporación: 30 de mayo de 2014

Mensajes recientes

Thanks a lot for your answer, now my problem it's solved.
Juan Gonzalez
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
18 de noviembre de 2014 1:07
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1983

Fecha de incorporación: 28 de octubre de 2008

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).
Christophe Cariou
RE: Liferay 6.2.0 GA1 bug - view_user_panel.jspf
18 de noviembre de 2014 1:25
Respuesta

Christophe Cariou

Ranking: Junior Member

Mensajes: 45

Fecha de incorporación: 1 de octubre de 2007

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