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
Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined
Marceau LE, módosítva 6 év-val korábban
New Member
Bejegyzések: 5
Csatlakozás dátuma: 2019.05.27.
Legújabb bejegyzések
Hi,I am unable to deploy a portlet in liferay DXP.
I use Liferay DXP 7.1 with Tomcat 8. I am testing under chrome browser.When I click on the deploy button
, nothing happened and I get the following JS error:
Uncaught TypeError: Cannot read property 'fr_FR' of undefined.
I get an http 500 loading this file : o/frontend-js-web/liferay/available_languages.jsp
On firefox, the error message is : Liferay.Language.direction is undefined.I already tried on Liferay portal 7.0 and 7.2 and I have the same error.
I think the french language doesn't work on this platform, did you implement it ?How can I fix that ? I tried change the language with en_US but I get the same issue.
I also try to deploy by copying my war file on /deploy folder but, the portlet seems to be not deployed, I can't find it on the portlet list and I don't have any error message.
Regards.
I use Liferay DXP 7.1 with Tomcat 8. I am testing under chrome browser.When I click on the deploy button
, nothing happened and I get the following JS error: Uncaught TypeError: Cannot read property 'fr_FR' of undefined.
I get an http 500 loading this file : o/frontend-js-web/liferay/available_languages.jsp
On firefox, the error message is : Liferay.Language.direction is undefined.I already tried on Liferay portal 7.0 and 7.2 and I have the same error.
I think the french language doesn't work on this platform, did you implement it ?How can I fix that ? I tried change the language with en_US but I get the same issue.
I also try to deploy by copying my war file on /deploy folder but, the portlet seems to be not deployed, I can't find it on the portlet list and I don't have any error message.
Regards.
Mellékletek:
David H Nebinger, módosítva 6 év-val korábban
Liferay Legend
Bejegyzések: 14933
Csatlakozás dátuma: 2006.09.02.
Legújabb bejegyzések
There is something wrong with your environment because french language support works on 7.0, 7.1 and 7.2.
Marceau LE, módosítva 6 év-val korábban
New Member
Bejegyzések: 5
Csatlakozás dátuma: 2019.05.27.
Legújabb bejegyzések
Hello David,
Thank you for your prompt response.
Sorry but I can't find any environment problem I just follow the documentation to implement the DXP Portal : https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/installing-liferay.
I tried to change the default language editing portal-ext.properties , adding:company.default.locale=en_US
But I have still the same problem.Do not you have any ideas of where that might come from ?
Regards
Thank you for your prompt response.
Sorry but I can't find any environment problem I just follow the documentation to implement the DXP Portal : https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/installing-liferay.
I tried to change the default language editing portal-ext.properties , adding:company.default.locale=en_US
But I have still the same problem.Do not you have any ideas of where that might come from ?
Regards
David H Nebinger, módosítva 6 év-val korábban
Liferay Legend
Bejegyzések: 14933
Csatlakozás dátuma: 2006.09.02.
Legújabb bejegyzések
If this is a basic install, then whatever changes you have made could be the source of the issue. Have you made any changes to tomcat's setenv.sh?
Any other environment variables defined or settings in portal-ext.properties which may be affecting this?
Any other environment variables defined or settings in portal-ext.properties which may be affecting this?
Marceau LE, módosítva 6 év-val korábban
New Member
Bejegyzések: 5
Csatlakozás dátuma: 2019.05.27.
Legújabb bejegyzések
Hi David,
I have made no changes on tomcat's setenv.sh.
Otherwise I just added the "company.default.locale" property in the portal-ext.properties :
jdbc.default.jndi.name=jdbc/lportalDb
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://127.0.0.1:3306/lportal
jdbc.default.username=root
jdbc.default.password=root
company.default.locale=en_US
But I have still the same error.It seems related to this exception : code="500", msg="", uri=/o/frontend-js-web/liferay/available_languages.jsp.
I also tried to launch it through an other tomcat that I downloaded but still same issue.
Regards.
I have made no changes on tomcat's setenv.sh.
Otherwise I just added the "company.default.locale" property in the portal-ext.properties :
jdbc.default.jndi.name=jdbc/lportalDb
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://127.0.0.1:3306/lportal
jdbc.default.username=root
jdbc.default.password=root
company.default.locale=en_US
But I have still the same error.It seems related to this exception : code="500", msg="", uri=/o/frontend-js-web/liferay/available_languages.jsp.
I also tried to launch it through an other tomcat that I downloaded but still same issue.
Regards.
Marceau LE, módosítva 6 év-val korábban
New Member
Bejegyzések: 5
Csatlakozás dátuma: 2019.05.27.
Legújabb bejegyzések
Hi,
I think it is related to this issue : https://liferay.dev/forums/-/message_boards/message/113745476
Same exception on the log, starting the server : java.lang.ClassFormatError: Truncated class file.
Regards.
I think it is related to this issue : https://liferay.dev/forums/-/message_boards/message/113745476
Same exception on the log, starting the server : java.lang.ClassFormatError: Truncated class file.
Regards.
Community
Company
Feedback