Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-1806 Migration 42 -> 5SP2: still lots of errors and not all the content is imported.
  3. JAHIA-1807

Migration: Importing several virtual sites at once - SessionSynchronization exceptions

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Cannot Reproduce
    • Major
    • WCM 5.0 SP2
    • WCM 5.0 SP2
    • None
    • 16804 SP2

    Description

      Created two virtual sites on my 4.2 installation and exported everything in the Admin Center. I reimported the whole ZIP, after having modified the two templates.jar file in each virtual site's ZIP file, on my nightly Sp2.

      Just after having creating the new virtual sites, I got some SessionSynchronization exceptions:

      166094 [jsp.jahia.engines.engine] DEBUG - LastScreen: edit, JspSource: login, EngineName: login
      166094 [jsp.jahia.engines.engine] DEBUG - JSP: /jsp/jahia/engines/login/login.jsp
      166219 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/engineName/login/pid/1] user=[guest] ip=[127.0.0.1] in [172ms]
      170203 [jsp.jahia.engines.engine] DEBUG - LastScreen: save, JspSource: login_close, EngineName: core
      170203 [jsp.jahia.engines.engine] DEBUG - JSP: /jsp/jahia/engines/login/close.jsp
      170234 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/engineName/login/pid/1] user=[root] ip=[127.0.0.1] in [93ms]
      170453 [org.apache.slide.security.SecurityImpl] INFO - Action aggregations loaded successfully
      170547 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/pid/1] user=[root] ip=[127.0.0.1] in [266ms]
      170969 [org.apache.slide.webdav.JahiaWebdavServlet] INFO - Webdav request [GET /site/test/shared/banner_home.gif] user=[root]
      170984 [org.apache.slide.webdav.JahiaWebdavServlet] INFO - Processed [GET /site/test/shared/banner_home.gif] in 15ms
      206062 [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] INFO - search service is running in Thread name=LuceneSearchIndexer Background Thread
      206062 [org.apache.slide.common.Namespace] INFO - Loading namespace mysite2 parameters
      206078 [org.apache.slide.common.Namespace] INFO - Loading namespace definition
      206078 [org.apache.slide.common.Namespace] INFO - nodestore: org.jahia.services.webdav.stores.JahiaDescriptorsStore
      206078 [file-content-store] INFO - File Store configured to E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/store, working directory E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/work
      206078 [org.apache.slide.common.Namespace] INFO - securitystore references nodestore
      206078 [org.apache.slide.common.Namespace] INFO - lockstore references nodestore
      206078 [org.apache.slide.common.Namespace] INFO - revisiondescriptorsstore references nodestore
      206078 [org.apache.slide.common.Namespace] INFO - revisiondescriptorstore references nodestore
      206078 [org.apache.slide.common.Namespace] INFO - contentstore references nodestore
      206078 [org.apache.slide.util.logger] INFO - Disabling cache timeout for store jahia
      206078 [org.apache.slide.util.logger] INFO - Setting object cache size for store jahia to 10000
      206078 [org.apache.slide.store.ExtendedStore] INFO - Setting permission cache size for store jahia to 10000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting lock cache size for store jahia to 10000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting descriptors cache size for store jahia to 10000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting descriptor cache size for store jahia to 10000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting content caching for store jahia to false
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting content cache size for store jahia to 10000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting content cache byte size for store jahia to 10000000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting transaction content cache size for store jahia to 1000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting transaction content cache byte size for store jahia to 1000000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Setting maximum byte size for content cache entry for store jahia to 50000
      206094 [org.apache.slide.store.ExtendedStore] INFO - Enabling full caching causing low isolation
      206094 [org.apache.slide.common.Namespace] INFO - Registering Store jahia (class org.jahia.services.webdav.stores.JahiaBindingStore) with parameters {} on scope /
      206094 [org.apache.slide.common.Namespace] INFO - Initializing Store jahia(org.jahia.services.webdav.stores.JahiaBindingStore)
      206109 [file-content-store] INFO - File Store configured to E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/mysite2/store, working directory E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/mysite2/work
      206109 [org.apache.slide.common.Namespace] INFO - Loading namespace mysite2 base data
      206141 [org.apache.slide.common.Namespace] INFO - Init namespace mysite2 configuration
      206141 [org.apache.slide.common.Namespace] INFO - Import data into namespace mysite2
      206141 [org.apache.slide.common.XMLUnmarshaller] INFO - Loading object /
      206156 [org.apache.slide.common.XMLUnmarshaller] INFO - Object already exists at /
      206187 [org.apache.slide.common.XMLUnmarshaller] INFO - Loading object /shared
      206312 [org.apache.slide.common.Namespace] INFO - Finish init namespace mysite2 configuration
      206328 [org.apache.slide.common.Namespace] INFO - Loading namespace mysite2 configuration
      206344 [org.apache.slide.util.logger] WARN - Invalid content interceptor : org.jahia.services.webdav.listeners.CMSSlideContentListener : org.jahia.services.webdav.listeners.CMSSlideContentListener cannot be cast to org.apache.slide.content.ContentInterceptor
      206344 [org.apache.slide.security.SecurityImpl] INFO - Action aggregations loaded successfully
      206922 [org.apache.slide.security.SecurityImpl] INFO - Action aggregations loaded successfully
      207594 [org.jahia.services.scheduler.BackgroundJob] INFO - execute Background job BackgroundJob-6579ef78-d32b-4095-b5dc-d25aa59c2cfc
      started @ Tue Mar 20 11:31:24 CET 2007
      207625 [org.apache.slide.common.Namespace] INFO - Loading namespace myjahiasite parameters
      207625 [org.apache.slide.common.Namespace] INFO - Loading namespace definition
      207625 [org.apache.slide.common.Namespace] INFO - nodestore: org.jahia.services.webdav.stores.JahiaDescriptorsStore
      207625 [file-content-store] INFO - File Store configured to E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/store, working directory E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/work
      207625 [org.apache.slide.common.Namespace] INFO - securitystore references nodestore
      207625 [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] INFO - search service is running in Thread name=LuceneSearchIndexer Background Thread
      207625 [org.apache.slide.common.Namespace] INFO - lockstore references nodestore
      207625 [org.apache.slide.common.Namespace] INFO - revisiondescriptorsstore references nodestore
      207625 [org.apache.slide.common.Namespace] INFO - revisiondescriptorstore references nodestore
      207641 [org.apache.slide.common.Namespace] INFO - contentstore references nodestore
      207641 [org.apache.slide.util.logger] INFO - Disabling cache timeout for store jahia
      207641 [org.apache.slide.util.logger] INFO - Setting object cache size for store jahia to 10000
      207641 [org.apache.slide.store.ExtendedStore] INFO - Setting permission cache size for store jahia to 10000
      207641 [org.apache.slide.store.ExtendedStore] INFO - Setting lock cache size for store jahia to 10000
      207656 [org.apache.slide.store.ExtendedStore] INFO - Setting descriptors cache size for store jahia to 10000
      207656 [org.apache.slide.store.ExtendedStore] INFO - Setting descriptor cache size for store jahia to 10000
      207656 [org.apache.slide.store.ExtendedStore] INFO - Setting content caching for store jahia to false
      207672 [org.apache.slide.store.ExtendedStore] INFO - Setting content cache size for store jahia to 10000
      207672 [org.apache.slide.store.ExtendedStore] INFO - Setting content cache byte size for store jahia to 10000000
      207766 [org.apache.slide.store.ExtendedStore] INFO - Setting transaction content cache size for store jahia to 1000
      207766 [org.apache.slide.store.ExtendedStore] INFO - Setting transaction content cache byte size for store jahia to 1000000
      207781 [org.apache.slide.store.ExtendedStore] INFO - Setting maximum byte size for content cache entry for store jahia to 50000
      207781 [org.apache.slide.store.ExtendedStore] INFO - Enabling full caching causing low isolation
      207781 [org.apache.slide.common.Namespace] INFO - Registering Store jahia (class org.jahia.services.webdav.stores.JahiaBindingStore) with parameters {} on scope /
      207781 [org.apache.slide.common.Namespace] INFO - Initializing Store jahia(org.jahia.services.webdav.stores.JahiaBindingStore)
      207781 [file-content-store] INFO - File Store configured to E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/myjahiasite/store, working directory E:\jahia5.0.2_r16804\tomcat\webapps\jahia\WEB-INF\var\content\slide/myjahiasite/work
      207797 [org.apache.slide.common.Namespace] INFO - Loading namespace myjahiasite base data
      207828 [org.apache.slide.common.Namespace] INFO - Init namespace myjahiasite configuration
      207828 [org.apache.slide.common.Namespace] INFO - Import data into namespace myjahiasite
      207828 [org.apache.slide.common.XMLUnmarshaller] INFO - Loading object /
      207828 [org.apache.slide.common.XMLUnmarshaller] INFO - Object already exists at /
      207875 [org.apache.slide.common.XMLUnmarshaller] INFO - Loading object /shared
      208016 [org.apache.slide.common.Namespace] INFO - Finish init namespace myjahiasite configuration
      208031 [org.jahia.services.scheduler.BackgroundJob] INFO - execute Background job BackgroundJob-4b8533a3-e092-4800-8fc0-e29e2d2cbf7b
      started @ Tue Mar 20 11:31:25 CET 2007
      208047 [org.apache.slide.common.Namespace] INFO - Loading namespace myjahiasite configuration
      208062 [org.apache.slide.util.logger] WARN - Invalid content interceptor : org.jahia.services.webdav.listeners.CMSSlideContentListener : org.jahia.services.webdav.listeners.CMSSlideContentListener cannot be cast to org.apache.slide.content.ContentInterceptor
      208078 [org.apache.slide.security.SecurityImpl] INFO - Action aggregations loaded successfully
      208109 [org.jahia.services.search.JahiaSiteIndexingJob] INFO - starting re-indexing site [0ms]
      208172 [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] INFO - Finished processing 1 indexing orders in 47ms.
      208219 [org.jahia.services.search.JahiaSiteIndexingJob] INFO - indexing time [110ms]
      208234 [org.jahia.services.scheduler.BackgroundJob] INFO - Background job (of type siteindexation) ended with status successful executed in 0s
      208594 [org.apache.slide.security.SecurityImpl] INFO - Action aggregations loaded successfully
      213359 [org.jahia.services.scheduler.BackgroundJob] INFO - execute Background job BackgroundJob-37a361f8-411b-4db2-9fee-f3c43dc145ea
      started @ Tue Mar 20 11:31:30 CET 2007
      213422 [org.hibernate.util.JDBCExceptionReporter] ERROR - L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_
      def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
      213437 [org.hibernate.util.JDBCExceptionReporter] ERROR - ERROR: could not serialize access due to concurrent update
      213437 [org.hibernate.event.def.AbstractFlushingEventListener] ERROR - Could not synchronize database state with session
      org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:181)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
      at org.springframework.orm.hibernate3.SessionFactoryUtils$SpringSessionSynchronization.beforeCommit(SessionFactoryUtils.java:869)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:564)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:424)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:258)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:67)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
      at org.jahia.hibernate.manager.JahiaTemplateManager$$EnhancerByCGLIB$$4e9dd393.insertPageTemplate(<generated>)
      at org.jahia.services.pages.JahiaPageTemplateBaseService.createPageTemplate(JahiaPageTemplateBaseService.java:160)
      at org.jahia.services.pages.JahiaPageTemplateBaseService$$FastClassByCGLIB$$3b3efb1d.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.pages.JahiaPageTemplateBaseService$$EnhancerByCGLIB$$434da418.createPageTemplate(<generated>)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService.registerTemplates(JahiaTemplatesDeployerBaseService.java:471)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$FastClassByCGLIB$$dd00fc0d.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$EnhancerByCGLIB$$27859be8.registerTemplates(<generated>)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1376)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1320)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.importFile(<generated>)
      at org.jahia.services.importexport.ImportJob.executeJahiaJob(ImportJob.java:68)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:126)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      Caused by: java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2,
      Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
      at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2478)
      at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298)
      at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
      at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2540)
      at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)
      ... 47 more
      213453 [org.jahia.services.scheduler.BackgroundJob] ERROR - Cannot execute job
      org.springframework.jdbc.UncategorizedSQLException: SessionSynchronization: encountered SQLException [L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pag
      es_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.]; nested exception is java.sql.BatchUpdateException: L'ΘlΘment du
      batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corpo
      rate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
      java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories
      Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
      at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2478)
      at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298)
      at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
      at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2540)
      at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
      at org.springframework.orm.hibernate3.SessionFactoryUtils$SpringSessionSynchronization.beforeCommit(SessionFactoryUtils.java:869)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:564)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:424)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:258)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:67)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
      at org.jahia.hibernate.manager.JahiaTemplateManager$$EnhancerByCGLIB$$4e9dd393.insertPageTemplate(<generated>)
      at org.jahia.services.pages.JahiaPageTemplateBaseService.createPageTemplate(JahiaPageTemplateBaseService.java:160)
      at org.jahia.services.pages.JahiaPageTemplateBaseService$$FastClassByCGLIB$$3b3efb1d.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.pages.JahiaPageTemplateBaseService$$EnhancerByCGLIB$$434da418.createPageTemplate(<generated>)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService.registerTemplates(JahiaTemplatesDeployerBaseService.java:471)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$FastClassByCGLIB$$dd00fc0d.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$EnhancerByCGLIB$$27859be8.registerTemplates(<generated>)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1376)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1320)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.importFile(<generated>)
      at org.jahia.services.importexport.ImportJob.executeJahiaJob(ImportJob.java:68)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:126)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      213469 [org.jahia.services.scheduler.BackgroundJob] INFO - Background job (of type import) ended with status failed executed in 5s
      213500 [org.jahia.services.search.JahiaSiteIndexingJob] INFO - starting re-indexing site [0ms]
      213953 [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] INFO - Finished processing 1 indexing orders in 16ms.
      213547 [org.quartz.core.JobRunShell] INFO - Job ImportJob.BackgroundJob-4b8533a3-e092-4800-8fc0-e29e2d2cbf7b threw a JobExecutionException:
      org.quartz.JobExecutionException: org.springframework.jdbc.UncategorizedSQLException: SessionSynchronization: encountered SQLException [L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahi
      a_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.]; nested exception is java.sql.
      BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /
      jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause. [See nested exception: org.springframework.jdbc.UncategorizedSQLException: SessionSynchronization: encountered SQLException [L'ΘlΘment du batch 0
      insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_por
      tal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.]; nested exception is java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_j
      ahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.]
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:131)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

      • Nested Exception (Underlying Cause) ---------------
        org.springframework.jdbc.UncategorizedSQLException: SessionSynchronization: encountered SQLException [L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pag
        es_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.]; nested exception is java.sql.BatchUpdateException: L'ΘlΘment du
        batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories Links, /jsp/jahia/templates/mysite2//corpo
        rate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
        java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_pages_def (jahiaid_jahia_pages_def, name_jahia_pages_def, sourcepath_jahia_pages_def, visible_jahia_pages_def, browsable_jahia_pages_def, warning_msg_jahia_pages_def, img_jahia_pages_def, id_jahia_pages_def) values (2, Directories
        Links, /jsp/jahia/templates/mysite2//corporate_portal_templates/links.jsp, 1, NULL, NULL, , 25) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
        at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2478)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2540)
        at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
        at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
        at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
        at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
        at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
        at org.springframework.orm.hibernate3.SessionFactoryUtils$SpringSessionSynchronization.beforeCommit(SessionFactoryUtils.java:869)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:564)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:424)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:258)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:67)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
        at org.jahia.hibernate.manager.JahiaTemplateManager$$EnhancerByCGLIB$$4e9dd393.insertPageTemplate(<generated>)
        at org.jahia.services.pages.JahiaPageTemplateBaseService.createPageTemplate(JahiaPageTemplateBaseService.java:160)
        at org.jahia.services.pages.JahiaPageTemplateBaseService$$FastClassByCGLIB$$3b3efb1d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
        at org.jahia.services.pages.JahiaPageTemplateBaseService$$EnhancerByCGLIB$$434da418.createPageTemplate(<generated>)
        at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService.registerTemplates(JahiaTemplatesDeployerBaseService.java:471)
        at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$FastClassByCGLIB$$dd00fc0d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
        at org.jahia.services.templates_deployer.JahiaTemplatesDeployerBaseService$$EnhancerByCGLIB$$27859be8.registerTemplates(<generated>)
        at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1376)
        at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:1320)
        at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
        at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
        at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.importFile(<generated>)
        at org.jahia.services.importexport.ImportJob.executeJahiaJob(ImportJob.java:68)
        at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:126)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
        214016 [org.jahia.services.search.JahiaSiteIndexingJob] INFO - indexing time [516ms]
        214281 [org.jahia.services.scheduler.BackgroundJob] INFO - Background job (of type siteindexation) ended with status successful executed in 0s
        214266 [org.jahia.services.scheduler.BackgroundJob] INFO - execute Background job BackgroundJob-f370130a-fd65-49bc-ab04-25b9439339de
        started @ Tue Mar 20 11:31:31 CET 2007
        248656 [org.jahia.services.importexport.ImportHandler] INFO - Import starts
        262187 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite/lang/de/pid/2] user=[root] ip=[127.0.0.1] in [13031ms]
        262922 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite/pid/2] user=[root] ip=[127.0.0.1] in [391ms]
        262922 [org.jahia.services.importexport.ImportHandler] WARN - Definitions not found : pictureAlignmain_1 / ContentContainer_2 (contentContainermain_1 in Home)
        262922 [org.jahia.services.importexport.ImportHandler] WARN - Not imported : pictureAlignmain_1 (f7c36bb9-6c35-4bf8-a354-0c7f31ffe832)
        270000 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite/urlkey] user=[root] ip=[127.0.0.1] in [6375ms]
        279453 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite/lang/de/pid/4] user=[root] ip=[127.0.0.1] in [6422ms]
        279516 [org.jahia.services.importexport.ImportHandler] WARN - Definitions not found : linkContainerList / ContentPage_4 (Blog listing)
        279516 [org.jahia.services.importexport.ImportHandler] WARN - Not imported : linkContainerList (605883e2-66e5-4480-b06d-f2ebc5248f32)
        284922 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite/pid/5] user=[root] ip=[127.0.0.1] in [4735ms]
        285453 [org.jahia.bin.Jahia] INFO - Processed [/jahia/Jahia/site/myjahiasite] user=[root] ip=[127.0.0.1] in [391ms]
        286406 [org.apache.struts.tiles.TilesPlugin] INFO - Factory already exists for module ''. The factory found is from module ''. No new creation.
        286406 [org.apache.struts.validator.ValidatorPlugIn] INFO - Loading validation rules file from '/WEB-INF/etc/struts/validator-rules.xml'

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      WCM 5.0 SP2