Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Fredrik Boström
"No JournalStructure exists" when upgrading 6.0.6-ce to 6.0-ee/6.1.10-ee
November 6, 2012 5:08 AM
Answer

Fredrik Boström

Rank: New Member

Posts: 2

Join Date: November 6, 2012

Recent Posts

I'm in the process of upgrading a Liferay installation from 6.0.6 to 6.1-ee. The upgrade process always fails on the [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal phase with the following stack trace

21:49:16,384 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal
21:49:20,666 ERROR [MainServlet:201] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10165, structureId=11432}
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10165, structureId=11432}
at com.liferay.portal.events.StartupAction.run(StartupAction.java:57)
at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1193)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:198)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10165, structureId=11432}
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)
at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:101)
at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:66)
at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:79)
at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:44)
at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:171)
at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:164)
at com.liferay.portal.ee.license.StartupAction.doRun(Unknown Source)
at com.liferay.portal.events.StartupAction.run(StartupAction.java:51)
... 29 more
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10165, structureId=11432}
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:89)
at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:42)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)
... 37 more
Caused by: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=10165, structureId=11432}
at com.liferay.portlet.journal.service.persistence.JournalStructurePersistenceImpl.findByG_S(JournalStructurePersistenceImpl.java:2155)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:2264)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:474)
at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:93)
at $Proxy172.checkStructure(Unknown Source)
at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.checkStructure(JournalArticleLocalServiceUtil.java:368)
at com.liferay.portal.verify.VerifyJournal.doVerify(VerifyJournal.java:142)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)
... 40 more
Stopping the server due to unexpected startup errors

I've tried to upgrade from the 6.0.6-ce installation to both 6.0-ee (liferay-portal-tomcat-6.0-ee-sp2-20110727) and 6.1.10-ee (liferay-portal-tomcat-6.1.10-ee-ga1-20120223174854827) and the same error occurs in both cases. The error also appears when I try to export all content from the 6.0.6-ce installation to a LAR file.

Any ideas what may cause this and how it can be fixed?
Aliabbas Surti
RE: "No JournalStructure exists" when upgrading 6.0.6-ce to 6.0-ee/6.1.10-e
May 29, 2013 8:41 PM
Answer

Aliabbas Surti

Rank: New Member

Posts: 11

Join Date: May 7, 2013

Recent Posts

I am getting a similar problem while doing an upgrade from EE 6_0_12 to EE 6_1_0. Any help on this would be appreciated.

Stacktrace:


03:28:52,874 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyGroup
03:28:52,959 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyJournal
03:29:01,381 ERROR [pool-2-thread-1][MainServlet:217] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=652891, structureId=685349}
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=652891, structureId=685349}
at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1306)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:214)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=652891, structureId=685349}
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:113)
at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)
at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:47)
at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:136)
at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:52)
at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:210)
at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:182)
at com.liferay.portal.ee.license.StartupAction.doRun(Unknown Source)
at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
... 20 more
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=652891, structureId=685349}
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:92)
at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:43)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
... 29 more
Caused by: com.liferay.portlet.journal.NoSuchStructureException: No JournalStructure exists with the key {groupId=652891, structureId=685349}
at com.liferay.portlet.journal.service.persistence.JournalStructurePersistenceImpl.findByG_S(JournalStructurePersistenceImpl.java:2877)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:2600)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.checkStructure(JournalArticleLocalServiceImpl.java:515)
at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy205.checkStructure(Unknown Source)
at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.checkStructure(JournalArticleLocalServiceUtil.java:382)
at com.liferay.portal.verify.VerifyJournal.doVerify(VerifyJournal.java:152)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
... 32 more
Stopping the server due to unexpected startup errors
Markus Blösch
RE: "No JournalStructure exists" when upgrading 6.0.6-ce to 6.0-ee/6.1.10-e
May 30, 2013 12:03 PM
Answer

Markus Blösch

Rank: New Member

Posts: 4

Join Date: April 30, 2013

Recent Posts

I'm currently working on the same exception.

My structures for templates for JournalArticles had referential errors in the parent structure ID. It seems to be an offset by 1 in the parent structure ID.

I've now deleted the corresponding structures and will retry the upgrade.
Aliabbas Surti
RE: "No JournalStructure exists" when upgrading 6.0.6-ce to 6.0-ee/6.1.10-e
May 30, 2013 4:20 PM
Answer

Aliabbas Surti

Rank: New Member

Posts: 11

Join Date: May 7, 2013

Recent Posts

Markus Blösch:
My structures for templates for JournalArticles had referential errors in the parent structure ID. It seems to be an offset by 1 in the parent structure ID.

I've now deleted the corresponding structures and will retry the upgrade.


Thanks Markus. Did you manage to do the upgrade?

If yes, could you please give some details on how you deleted the structures.

Cheers.