Fórum

Expression Language not working in JSPs when using Wildfly

Harsh Raval, modificado 7 Anos atrás.

Expression Language not working in JSPs when using Wildfly

New Member Postagens: 16 Data de Entrada: 14/03/17 Postagens Recentes
Hi,

I have created a "Liferay Module Project".
I deployed that project in Liferay Wildfly server, the project was deployed perfectly.Also, In GOGO Shell status is showing "Active".
When I added portlet in the page, it was showing the error is "social portlet is temporarily unavailable".
But there is no error logs in any server.log file as well as {{date}}.log file under log folder.
I have used Liferay 7 CE GA1 and wildfly 10.0.

Update:
I am able to find out that it is happened due to EL expression in my jsp.
I found the similar Liferay Ticket URL : https://issues.liferay.com/browse/LPS-66766

Can any one have any idea about it.
One more thing, Same project working properly in Liferay 7 tomcat bundle but has issue with wildfly.
Any help will greatly appreciated.

Thanks In advance.
thumbnail
Juan Gonzalez, modificado 7 Anos atrás.

RE: Expression Language not working in JSPs when using Wildfly (Resposta)

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Hi Harsh.

I see you are using 7 GA1. That version probably has a lot of issues in Wildfly. Please upgrade to GA3, as many bugs will be fixed there.

Then, can you add this property in your portlet-ext.properties, as said here: https://issues.liferay.com/browse/LPS-65488?focusedCommentId=766528&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-766528

NOTE: If you are upgrading to GA3 take into account this regression (that will be available in GA4): https://issues.liferay.com/browse/LPS-71495
Thanks
Harsh Raval, modificado 7 Anos atrás.

RE: Expression Language not working in JSPs when using Wildfly

New Member Postagens: 16 Data de Entrada: 14/03/17 Postagens Recentes
Thanks Juan Gonzalez ,

It's working for me.
You saved my day emoticon.

I see you are using 7 GA1. That version probably has a lot of issues in Wildfly. Please upgrade to GA3, as many bugs will be fixed there.


NOTE: portal-ext.properties file is working in all Liferay 7 (GA1/GA2/GA3) in Wildfly.
thumbnail
Juan Gonzalez, modificado 7 Anos atrás.

RE: Expression Language not working in JSPs when using Wildfly

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Glad it worked.

BTW, remember removing that property if you upgrade to GA4.
Harsh Raval, modificado 7 Anos atrás.

RE: Expression Language not working in JSPs when using Wildfly

New Member Postagens: 16 Data de Entrada: 14/03/17 Postagens Recentes
Okay,

I'll take care of it.