Jahia Dev Forum > remote export (distant...

0 (0 Good)
0 (0 Bad)

remote export (distant site export) not working

by  surajz »  2011/06/07 20:41

When I try to export a test site, I get the following error when I try to export my custom website
(ACME website works)

Tried different combination
1. target remote site empty
2. target remote site created by importing exported zip file
3. target remote site created by using the same template as local site.
4. install new jahia software and redo steps 1, 2, 3, 4


2010-03-11 10:28:00,035: INFO [BackgroundJob] - execute Background job ProductionJob_2_0
started @ Thu Mar 11 10:28:00 CST 2010
2010-03-11 10:28:00,926: INFO [ImportExportBaseService] - Getting http://155.44.106.89:8080/cmsstatus for en
2010-03-11 10:28:01,160: INFO [ImportExportBaseService] - Exporting differences tohttp://155.44.106.89:8080/repository
/default/content/users/admin/files/private/imports/importFromSite_mySite_toSite_hm_AndPublish_20100311102800.zip for lan
guages [en]
2010-03-11 10:28:01,317: ERROR [ImportExportBaseService] - Error when exporting content
java.lang.NullPointerException
at org.jahia.services.content.impl.jahia.JahiaContentNodeImpl.initFieldItem(JahiaContentNodeImpl.java:177)
at org.jahia.services.content.impl.jahia.JahiaContentNodeImpl.initFields(JahiaContentNodeImpl.java:131)
at org.jahia.services.content.impl.jahia.JahiaContainerNodeImpl.initFields(JahiaContainerNodeImpl.java:82)
at org.jahia.services.content.impl.jahia.JahiaContentNodeImpl.initProperties(JahiaContentNodeImpl.java:85)
at org.jahia.services.content.impl.jahia.NodeImpl.getProperty(NodeImpl.java:258)
at org.jahia.services.content.impl.jahia.JahiaContainerNodeImpl.getPrimaryNodeType(JahiaContainerNodeImpl.java:1
26)
at org.jahia.services.content.impl.jahia.NodeImpl.isNodeType(NodeImpl.java:339)
at org.jahia.services.content.JCRNodeWrapperImpl.isNodeType(JCRNodeWrapperImpl.java:611)
at org.jahia.services.content.JCRStoreService.decorate(JCRStoreService.java:461)
at org.jahia.services.content.JCRStoreService$$FastClassByCGLIB$$5542e717.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:70
0)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)

at org.jahia.services.content.JCRStoreService$$EnhancerByCGLIB$$d265f24e.decorate(<generated>)
at org.jahia.services.content.JCRStoreProvider.getNodeWrapper(JCRStoreProvider.java:516)
at org.jahia.services.content.JCRSessionWrapper.getNodeByUUID(JCRSessionWrapper.java:121)
at org.jahia.services.content.JCRStoreService.getNodeByUUID(JCRStoreService.java:494)
at org.jahia.services.content.JCRStoreService$$FastClassByCGLIB$$5542e717.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:70
0)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)

at org.jahia.services.content.JCRStoreService$$EnhancerByCGLIB$$d265f24e.getNodeByUUID(<generated>)
at org.jahia.content.ContentObject.getJCRNode(ContentObject.java:2146)
at org.jahia.services.importexport.JahiaLegacyExporter.export(JahiaLegacyExporter.java:432)
at org.jahia.services.importexport.JahiaLegacyExporter.export(JahiaLegacyExporter.java:661)
at org.jahia.services.importexport.JahiaLegacyExporter.export(JahiaLegacyExporter.java:661)
at org.jahia.services.importexport.JahiaLegacyExporter.export(JahiaLegacyExporter.java:135)
at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:712)
at org.jahia.services.importexport.ImportExportBaseService.exportZip(ImportExportBaseService.java:391)
at org.jahia.services.importexport.ImportExportBaseService.exportToSite(ImportExportBaseService.java:1847)
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:70
0)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)

at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$7bfac6ee.exportToSite(<generated>)
at org.jahia.services.importexport.ProductionJob.executeJahiaJob(ProductionJob.java:101)
at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:150)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2010-03-11 10:28:01,364: ERROR [BackgroundJob] - Cannot execute job
org.quartz.JobExecutionException: Production job execute fail for site hm to targethttp://155.44.106.89:8080/cms
at org.jahia.services.importexport.ProductionJob.failed(ProductionJob.java:143)
at org.jahia.services.importexport.ProductionJob.executeJahiaJob(ProductionJob.java:106)
at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:150)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2010-03-11 10:28:01,395: INFO [BackgroundJob] - Background job (of type production) ended with status failed executed i
n 1s
2010-03-11 10:28:01,410: INFO [JobRunShell] - Job ProductionJob.ProductionJob_2_0 threw a JobExecutionException:
org.quartz.JobExecutionException: org.quartz.JobExecutionException: Production job execute fail for site hm to target ht
tp://155.44.106.89:8080/cms [See nested exception: org.quartz.JobExecutionException: Production job execute fail for sit
e hm to target http://155.44.106.89:8080/cms]
at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:160)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.quartz.JobExecutionException: Production job execute fail for site hm to targethttp://155.44.106.89:8080

  (surajz)

Number of messages  30
Registration date
0 (0 Good)
0 (0 Bad)

Re: remote export (distant site export) not working

by  trenaud »  2011/06/07 20:41

Hi,

(same issue than your other post about import/export)

I am quite sure you are mentionning a bug already fixed (in January 2010). But to get the fix you need to download the last hotfix which is available into the clients/partner extranets.

If you need this hotfix for an evaluation/tests/developments and you don't have already access to this extranet, please contact info@jahia.com

Tristan
  • Re: remote export (distant site export) not working
    2011/06/07 20:41

    trenaud Hi,<br/><br/>(same issue than your other post about import/export)<br/><br/>I am quite sure you are mentionning a bug already fixed (in January 2010). But to get the fix you need to download the last hotfix which is available into the clients/partner extranets.<br/><br/>If you need this hotfix for an evaluation/tests/developments and you don't have already access to this extranet, please contact <!-- e --><a href="mailto:info@jahia.com">info@jahia.com</a><!-- e --><br/><br/>Tristan

  • Number of messages  71
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: remote export (distant site export) not working

    by  surajz »  2011/06/07 20:41

    Ok Thanks,

    Will get the hotfix and see if that helps. Root cause of the problem it, it cannot handle
    short cnd notation

    [hmh_templates:note] gt; jnt:container
    - noteTitle (string,text) i15d
    - noteBody (string,richtext) i15d

    [hmh_templates:home]

      (surajz)

    Number of messages  30
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page