Forums de discussion

Expression Language not working in JSPs when using Wildfly

Harsh Raval, modifié il y a 6 années.

Expression Language not working in JSPs when using Wildfly

New Member Publications: 16 Date d'inscription: 14/03/17 Publications récentes
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, modifié il y a 6 années.

RE: Expression Language not working in JSPs when using Wildfly (Réponse)

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
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, modifié il y a 6 années.

RE: Expression Language not working in JSPs when using Wildfly

New Member Publications: 16 Date d'inscription: 14/03/17 Publications récentes
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, modifié il y a 6 années.

RE: Expression Language not working in JSPs when using Wildfly

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Glad it worked.

BTW, remember removing that property if you upgrade to GA4.
Harsh Raval, modifié il y a 6 années.

RE: Expression Language not working in JSPs when using Wildfly

New Member Publications: 16 Date d'inscription: 14/03/17 Publications récentes
Okay,

I'll take care of it.