i just fixed this - you can update
org.jahia.services.importexport.ImportExportBaseService , this should
be ok now.
thanks
thomas
Le 16 janv. 07 à 16:16, Gustav a écrit :
Hi
I recently downloaded the updated sources from service pack branch
(5.0)
..., and then made a clean and deploy.
When I try to use autoexport feature with the updated jahia, I see the
following exception (before update sources it doesn't happens) I
update both
the source site and target site.
java.lang.ClassCastException: org.jahia.services.webdav.DAVFileAccess
at
org.jahia.services.importexport.ImportExportBaseService.exportFilesAcl
(ImportExportBaseService.java:1382)
at
org.jahia.services.importexport.ImportExportBaseService.exportZip
(ImportExportBaseService.java:284)
at
org.jahia.services.importexport.ImportExportBaseService.exportToSite
(ImportExportBaseService.java:1956)
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.exportToSite(<generated>)
at
org.jahia.services.importexport.ProductionJob.executeJahiaJob
(ProductionJob.java:88)
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)
1043096 [org.jahia.services.scheduler.BackgroundJob] INFO -
Background job
(of type production) ended with status failed executed in 357s
1043102 [org.quartz.core.JobRunShell] INFO - Job
ProductionJob.ProductionJob_1_0 threw a JobExecutionException:
org.quartz.JobExecutionException: java.lang.ClassCastException:
org.jahia.services.webdav.DAVFileAccess [See nested exception:
java.lang.ClassCastException: org.jahia.services.webdav.DAVFileAccess]
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) ---------------
java.lang.ClassCastException: org.jahia.services.webdav.DAVFileAccess
at
org.jahia.services.importexport.ImportExportBaseService.exportFilesAcl
(ImportExportBaseService.java:1382)
at
org.jahia.services.importexport.ImportExportBaseService.exportZip
(ImportExportBaseService.java:284)
at
org.jahia.services.importexport.ImportExportBaseService.exportToSite
(ImportExportBaseService.java:1956)
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.exportToSite(<generated>)
at
org.jahia.services.importexport.ProductionJob.executeJahiaJob
(ProductionJob.java:88)
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)
Thanks in advance
Best Regards
--
View this message in context: http://www.nabble.com/update-
problem-...-tf3021492.html#a8391801
Sent from the Jahia - Dev mailing list archive at Nabble.com.