Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Fixing broken view after overriding ext file
Patryk Łęczycki, modificado 6 Anos atrás.
New Member
Postagens: 7
Data de Entrada: 05/09/19
Postagens Recentes
Hi, I've got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:

The problem is that I don't know how to undo my changes and fix the view. I've tried redeploying whole project, rebuilding it, removing JAR from bundles - without results. The only way is to restart Liferay Server, but it takes much time and I wonder if there's any faster method, maybe cleaning some cache or something. I'd be glad for any help.

The problem is that I don't know how to undo my changes and fix the view. I've tried redeploying whole project, rebuilding it, removing JAR from bundles - without results. The only way is to restart Liferay Server, but it takes much time and I wonder if there's any faster method, maybe cleaning some cache or something. I'd be glad for any help.
Olaf Kock, modificado 6 Anos atrás.
Liferay Legend
Postagens: 6441
Data de Entrada: 23/09/08
Postagens Recentes
Patryk Łęczycki:
If - by ext-files - you mean that you deploy JSPs through an ext plugin, you should stop that practice. Redeploying an ext (as well as undeploying) requires restarting the server, and is the second most invasive way to introduce customizations into Liferay - right after changing the source and recompiling.
Hi, I've got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:
So: If you deploy in ext: You will have to restart. For further pointers, we'd need to know the JSP in question and the version you're running
Patryk Łęczycki, modificado 6 Anos atrás.
New Member
Postagens: 7
Data de Entrada: 05/09/19
Postagens Recentes
Olaf Kock:
Patryk Łęczycki:If - by ext-files - you mean that you deploy JSPs through an ext plugin, you should stop that practice. Redeploying an ext (as well as undeploying) requires restarting the server, and is the second most invasive way to introduce customizations into Liferay - right after changing the source and recompiling.
Hi, I've got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:
So: If you deploy in ext: You will have to restart. For further pointers, we'd need to know the JSP in question and the version you're running
Yes, at this moment I'm trying to modify top_meta.jsp by overriding top_meta-ext.jsp file. I want to add some meta to <head> and I have read that it's one of ways to achieve it. I use version 7.2.0-GA1
Olaf Kock, modificado 6 Anos atrás.
Liferay Legend
Postagens: 6441
Data de Entrada: 23/09/08
Postagens Recentes
Patryk Łęczycki:
Yes, at this moment I'm trying to modify top_meta.jsp by overriding top_meta-ext.jsp file. I want to add some meta to <head> and I have read that it's one of ways to achieve it. I use version 7.2.0-GA1
You should look at the options that you have for overriding all kinds of JSPs. If you absolutely must change core JSPs, you're looking for Custom JSP Bags.
Community
Company
Feedback