Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
benjamin garcia
[RESOLVED] upgrade liferay 6.0.5 vers 6.1.0
26 de Outubro de 2012 05:24
Resposta

benjamin garcia

Ranking: New Member

Mensagens: 10

Data de entrada: 4 de Setembro de 2012

Mensagens recentes

Bonjour,

Je suis en train de passer liferay en 6.1.1 depuis une version 6.0.5.
Voyant des erreurs lors de la migration, je suis revenu en arrière afin de procéder en deux étapes :
  1. 6.0.5 vers 6.1.0
  2. 6.1.0 vers 6.1.1

Malheureusement, dès la première migration je me retrouve avec cette erreur :
 1
 208:23:00,719 ERROR [pool-2-thread-1][PortalInstances:468] com.liferay.portal.kernel.events.ActionException: com.liferay.portlet.dynamicdatamapping.StructureNameException
 3com.liferay.portal.kernel.events.ActionException: com.liferay.portlet.dynamicdatamapping.StructureNameException
 4    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:64)
 5    at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:30)
 6    at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:106)
 7    at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
 8    at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)
 9    at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:462)
10    at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
11    at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:798)
12    at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:355)
13    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
14    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
15    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
16    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
17    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
18    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
19    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
20    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
21    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
22    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
23    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
24    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
25    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
26    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
27    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
28    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
29    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
30    at java.lang.Thread.run(Thread.java:662)
31Caused by: com.liferay.portlet.dynamicdatamapping.StructureNameException
32    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validateLanguages(DDMStructureLocalServiceImpl.java:681)
33    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:648)
34    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:624)
35    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.addStructure(DDMStructureLocalServiceImpl.java:92)
36    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
37    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
38    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
39    at java.lang.reflect.Method.invoke(Method.java:597)
40    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
41    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
42    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
43    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
44    at $Proxy200.addStructure(Unknown Source)
45    at com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.addStructure(DDMStructureLocalServiceUtil.java:296)
46    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.addDLRawMetadataStructures(AddDefaultDocumentLibraryStructuresAction.java:190)
47    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.doRun(AddDefaultDocumentLibraryStructuresAction.java:276)
48    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:61)
49        ... 26 more

Hormis cette erreur, les themes et hook fonctionnent mais pas les portlets. Quelqu'un aurait-il une idée?

Merci d'avance,

Benjamin
Juan Gonzalez
RE: upgrade liferay 6.0.5 vers 6.1.0
4 de Setembro de 2012 04:50
Resposta

Juan Gonzalez

Ranking: Liferay Legend

Mensagens: 3035

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

It's this issue: LPS-29349 Startup exception when en_US not present:

Seems it's not yet resolved properly.
benjamin garcia
RE: upgrade liferay 6.0.5 vers 6.1.0
4 de Setembro de 2012 05:48
Resposta

benjamin garcia

Ranking: New Member

Mensagens: 10

Data de entrada: 4 de Setembro de 2012

Mensagens recentes

Ok, thank you.

So, If I understand my portlets problems are not the same point.

Thank you.

I put it resolve when LPS-29349 will be closed.

Benjamin
Abhed Dekavadiya
RE: upgrade liferay 6.0.5 vers 6.1.0
25 de Novembro de 2012 14:29
Resposta

Abhed Dekavadiya

Ranking: Junior Member

Mensagens: 74

Data de entrada: 5 de Outubro de 2010

Mensagens recentes

Hi Benjamin,

Did you resolved this issue? I am also facing the same issue.
I tried adding 'en_US' in locale, but still the same error.

kind regards,
Abhed
Juan Gonzalez
RE: upgrade liferay 6.0.5 vers 6.1.0
26 de Novembro de 2012 00:00
Resposta

Juan Gonzalez

Ranking: Liferay Legend

Mensagens: 3035

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Unless you patch your Liferay version issue will remain.

You can download a patched version here:

https://www.lcepatchers.org/nightly-build

After that you can save your locale in portal configuration and issue should be solved.
Abhed Dekavadiya
RE: upgrade liferay 6.0.5 vers 6.1.0
28 de Novembro de 2012 09:56
Resposta

Abhed Dekavadiya

Ranking: Junior Member

Mensagens: 74

Data de entrada: 5 de Outubro de 2010

Mensagens recentes

Hi Juan,

Thanks for your reply. I recently joined the CE patchers community, though haven't contributed anything yet.
From the link: https://www.lcepatchers.org/downloads, I saw your name as author of bug fixes. I downloaded the tomcat-bundle with patches for listed bugs.
I really appreciate the effort spent on helping the community !

I need your suggestion here, "Is this patch-fixed tomcat bundle authorized by Liferay?". I am not doubting anything here, but wondering if I can use this for my client's production environment ?
In other case, I would prefer to apply patch on liferay's tomcat bundle for the only bugs which I am facing right now.
How can I view the modified files for code fix for defect LPS-29349 ? I think that Liferay JIRA is not integrated with git, I couldn't find any link in fish-eye options.

Thanks in advance!

regards,
Abhed
Juan Gonzalez
RE: upgrade liferay 6.0.5 vers 6.1.0
28 de Novembro de 2012 23:42
Resposta

Juan Gonzalez

Ranking: Liferay Legend

Mensagens: 3035

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Hi Adhed,

Abhed Dekavadiya:

I need your suggestion here, "Is this patch-fixed tomcat bundle authorized by Liferay?".

No, it isn't. This is only one of other great community initiatives. But is made by Liferay freaks with many experiencie in this emoticon.

Abhed Dekavadiya:

I am not doubting anything here, but wondering if I can use this for my client's production environment ?

Well, I am using this in production since september, and no problem. Don't know about anybody complaining about an issue neither. But, perhaps you'd like to test something.

Abhed Dekavadiya:

In other case, I would prefer to apply patch on liferay's tomcat bundle for the only bugs which I am facing right now.
How can I view the modified files for code fix for defect LPS-29349 ? I think that Liferay JIRA is not integrated with git, I couldn't find any link in fish-eye options.
Abhed

Here you are:

https://github.com/brianchandotcom/liferay-portal/commit/d33de6e67e1146372bbde84e7cac7d262037b378

https://github.com/brianchandotcom/liferay-portal/commit/93ae637ba9ba933a31aba721f886f5238c818399
Abhed Dekavadiya
RE: upgrade liferay 6.0.5 vers 6.1.0
13 de Dezembro de 2012 10:12
Resposta

Abhed Dekavadiya

Ranking: Junior Member

Mensagens: 74

Data de entrada: 5 de Outubro de 2010

Mensagens recentes

Thanks Juan, Now I am also using the patched version on production.
Roshan Qureshi
RE: upgrade liferay 6.0.5 vers 6.1.0
27 de Março de 2014 02:45
Resposta

Roshan Qureshi

Ranking: Regular Member

Mensagens: 144

Data de entrada: 24 de Agosto de 2010

Mensagens recentes

Hi Everybody,

I had a similar issue. Following are the steps worked for me to resolve the issue.

http://roshanqureshi.blogspot.com/2014/03/structurenameexception-while-importing.html

Hope this will help..!

Regards,
Roshan Qureshi