Foros de discusión

Exception during startup after upgrading to LR7.0 GA3

Kim Zeevaarders, modificado hace 7 años.

Exception during startup after upgrading to LR7.0 GA3

Junior Member Mensajes: 82 Fecha de incorporación: 7/09/12 Mensajes recientes
Hi all,

After upgrading to LR7.0 GA3 I get the following error in the startup log:


<log4j:event logger="com.liferay.portal.kernel.messaging.SerialDestination" timestamp="1473763850326" level="ERROR" thread="liferay/hot_deploy-1">
<log4j:message>Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=10157, groupId=0, command=deploy, servletContextName=product-app-theme}}</log4j:message>
<log4j:throwable>com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.LocaleException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.liferay.portal.kernel.exception.LocaleException
	at com.liferay.exportimport.controller.LayoutImportController.validateFile(LayoutImportController.java:1470)
	at com.liferay.exportimport.controller.LayoutImportController.doImportFile(LayoutImportController.java:435)
	at com.liferay.exportimport.controller.LayoutImportController.importFile(LayoutImportController.java:225)
	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:217)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
	at com.sun.proxy.$Proxy151.importLayouts(Unknown Source)
	at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.importLayouts(ExportImportLocalServiceUtil.java:209)
	at com.liferay.exportimport.resources.importer.internal.util.LARImporter.importResources(LARImporter.java:89)
	at com.liferay.exportimport.resources.importer.internal.messaging.ResourcesImporterHotDeployMessageListener._importResources(ResourcesImporterHotDeployMessageListener.java:259)
	at com.liferay.exportimport.resources.importer.internal.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:150)
	at com.liferay.exportimport.resources.importer.internal.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:163)
	at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more
</log4j:throwable>
<log4j:locationinfo class="com.liferay.portal.kernel.messaging.SerialDestination$1" method="run" file="SerialDestination.java" line="61" />
</log4j:event>


Could anybody point me in the right direction as how to fix/analyze this problem?

Thx!

Regards,

Kim Zeevaarders
The Netherlands
Cristiano Toncelli, modificado hace 7 años.

RE: Exception during startup after upgrading to LR7.0 GA3

New Member Mensajes: 2 Fecha de incorporación: 21/07/15 Mensajes recientes
I have same error during startup (Liferay 7.0.0 GA3 on Tomcat and MySQL):

14:21:54,983 ERROR [liferay/hot_deploy-1][SerialDestination:61] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20116, groupId=0, command=deploy, servletContextName=product-app-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.LocaleException

Apparently, everything still works. Anyone knows what causes it and how to get rid of it?

CT Liv
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Exception during startup after upgrading to LR7.0 GA3

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
This happens if you are trying to import a LAR file that has a different set of supported locales than the system which exported the LAR.
Kim Zeevaarders, modificado hace 7 años.

RE: Exception during startup after upgrading to LR7.0 GA3

Junior Member Mensajes: 82 Fecha de incorporación: 7/09/12 Mensajes recientes
Hi David,

Thanks for the feedback. I cannot say if this is actually the case since the exception vanished at some point (probably by some change I made in the set-up emoticon)

Regards,

Kim
Cristiano Toncelli, modificado hace 7 años.

RE: Exception during startup after upgrading to LR7.0 GA3

New Member Mensajes: 2 Fecha de incorporación: 21/07/15 Mensajes recientes
The error appears during first boot (but it does not in other server restarts).

I did not install anything, yet. Maybe the reason is related to this line I added to "portal-ext.properties":

locales.enabled=en_US,it_IT,fr_FR,de_DE,es_ES

DB (MySQL) is declared in another line of "portal-ext.properties":

jdbc.default.url=jdbc:mysql://lep-db/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Exception during startup after upgrading to LR7.0 GA3

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
For a LAR import to work the languages of the exporting system and importing systems must be the same.