cancel
Showing results for 
Search instead for 
Did you mean: 

WCM Deployment errors with 3.3

samuel_penn
Champ in-the-making
Champ in-the-making
I've just upgraded from 3.2 Community to 3.3, and as part of that I've decided to run a separate live server for WCM (previously, the live site ran out of staging, which wasn't ideal, but it's a hobby website and I had limited hardware available at the time). I'm trying to deploy a web project created in 3.2, now upgraded to 3.3, to a fresh install of 3.3 (on a different vm) by using the avm deployment target.

It starts to work, then fails with the following error. The web project is called 'glendale', and I created a 'glendale-live' web project on the live server before trying the deployment, so I could see what's been deployed. A number of folders have been created in 'glendale-live', but no documents. It seems that the first attempt to create a document has failed. Log output from authoring server below:


20:43:45,194 ERROR [org.alfresco.repo.avm.actions.AVMDeployWebsiteAction] Deployment Error                     
org.alfresco.service.cmr.avm.AVMException: 07110009 Deployment exception, unable to deploy : srcPath:glendale:/www/avm_webapps, target:avm, version:26, adapterName:default, hostName:fafner, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 07110008 Error during deployment srcPath: glendale:/www/avm_webapps, version:26, adapterName:default, hostName:fafner, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 07110003 Failed to copy filename:/ROOT/arsmagica/greyhawk/races.xml                                                           
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1249)  
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                         
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                       
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)               
        at java.lang.reflect.Method.invoke(Method.java:597)                                                    
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)          
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)                                                                                                   
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)                                                                                                           
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:46)         
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                                                           
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                                                         
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)   
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                                                           
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)            
        at $Proxy87.deployDifferenceFS(Unknown Source)                                                         
        at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:403)   
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)                                                                                                           
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:726)        
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:658)            
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:494)                                                                     
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                                                         
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)                                                                                                         
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:503)                                                                        
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)     
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:506)                                                                             
        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: org.alfresco.service.cmr.avm.AVMException: 07110008 Error during deployment srcPath: glendale:/www/avm_webapps, version:26, adapterName:default, hostName:fafner, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 07110003 Failed to copy filename:/ROOT/arsmagica/greyhawk/races.xml                                 
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1224)  
        … 28 more                                                                                            
Caused by: org.alfresco.service.cmr.avm.AVMException: 07110003 Failed to copy filename:/ROOT/arsmagica/greyhawk/races.xml                                                                                                      
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1944)                                                                                                       
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.run(DeploymentServiceImpl.java:1850) 
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 07110040 Failed to set content property on stream closure:                                                                                                  
   node: avm://glendale-live/-1;www;avm_webapps;ROOT;arsmagica;greyhawk;races.xml                              
   property: {http://www.alfresco.org/model/content/1.0}content                                                
   writer: ContentAccessor[ contentUrl=store://2010/8/11/20/43/a93dd625-60f5-4ac8-942e-73700cd1f96a.bin, mimetype=text/xml, size=0, encoding=UTF-8, locale=en_US]                                                              
java.lang.NullPointerException                                                                                 
        at org.alfresco.repo.content.ContentServiceImpl$WriteStreamListener.contentStreamClosed(ContentServiceImpl.java:658)                                                                                                   
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.execute(AbstractContentAccessor.java:367)                                                                                                   
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                                                         
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:247)                                                                                                         
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.fireChannelClosed(AbstractContentAccessor.java:377)                                                                                           
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.implCloseChannel(AbstractContentAccessor.java:346)                                                                                            
        at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:114)     
        at java.nio.channels.Channels$1.close(Channels.java:155)                                               
        at java.io.FilterOutputStream.close(FilterOutputStream.java:160)                                       
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:777)       
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:758)       
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                                                         
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)                                                                                                         
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.sendImpl(AVMDeploymentTarget.java:832)         
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.access$1100(AVMDeploymentTarget.java:69)       
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:731)         
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:729)         
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)     
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.send(AVMDeploymentTarget.java:726)             
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.getSendToken(DeploymentReceiverEngineImpl.java:543)                                                                                                
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)          
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)                                                                                                   
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)                                                                                                           
        at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)                                                                                              
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                                                           
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)            
        at $Proxy198.getSendToken(Unknown Source)                                                              
        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.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)             
        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)                                                                                                
        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)                                                                                                    
        at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:73)                  
        at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:72)          
        at sun.reflect.GeneratedMethodAccessor5005.invoke(Unknown Source)                                      
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               
        at java.lang.reflect.Method.invoke(Method.java:616)                                                    
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)                                 
        at sun.rmi.transport.Transport$1.run(Transport.java:177)                                               
        at java.security.AccessController.doPrivileged(Native Method)                                          
        at sun.rmi.transport.Transport.serviceCall(Transport.java:173)                                         
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)                            
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)                    
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)                     
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)                     
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)                     
        at java.lang.Thread.run(Thread.java:636)                                                               
        at org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible(RemoteInvocationUtils.java:47)                                                                                          
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:352)       
        at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)         
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                                                           
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)            
        at $Proxy206.getSendToken(Unknown Source)                                                              
        at org.alfresco.repo.deploy.DeploymentReceiverServiceClient.send(DeploymentReceiverServiceClient.java:128)                                                                                                             
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1908)                                                                                                           
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1899)                                                                                                           
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                                                         
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:247)                                                                                                         
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1897)                                                                                                       
        … 1 more                                                                                             
Caused by: java.lang.NullPointerException
        at org.alfresco.repo.node.AbstractNodeServiceImpl.ignorePolicy(AbstractNodeServiceImpl.java:228)
        at org.alfresco.repo.node.AbstractNodeServiceImpl.invokeOnUpdateProperties(AbstractNodeServiceImpl.java:359)
        at org.alfresco.repo.avm.AVMNodeService.setProperty(AVMNodeService.java:1462)
        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.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
        at $Proxy10.setProperty(Unknown Source)
        at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:249)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:260)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:260)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy9.setProperty(Unknown Source)
        at org.alfresco.repo.content.ContentServiceImpl$WriteStreamListener.contentStreamClosed(ContentServiceImpl.java:634)
        … 65 more

There is a custom aspect defined on the documents, and the configuration files for these are on both servers.

Is anyone able to help?

Thanks,
Sam.
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
Have you got any policies running on your custom aspect?

samuel_penn
Champ in-the-making
Champ in-the-making
Have you got any policies running on your custom aspect?

No, though I do have a WCM metadata extractor set up. I removed this from the destination server, and the deployment now seems to work.

Does this mean deployment into the same server won't work if an extractor is defined?

Thanks very much,

Sam.

mrogers
Star Contributor
Star Contributor
From your stack trace I could see that there was a problem with one of the on update policies.  

So there's a bug somewhere which needs isolating and thinking about. :?

tejaskanani2920
Champ in-the-making
Champ in-the-making
I am facing the same issue … Not able to deploy the content from one instance to another when it contains some web content (rendered by web form which is having xs:list element in it). It works fine if we only have binary content(images,documents etc) in web project .

I've two separate alfresco 3.3SP1 instance running on my localmachine.

Configuration of web project and Deployment Receiver are as below.

1) project one - on alf3.3.1 instance 1 (localhost)

web project settings
project Name : test
DNS : test

Deployment Receiver Setting
Type : Live Server
Transtport Name : default
Host : localhost
port : 50525
Username : admin
Password : admin
Source Path : –
Excludes : –
Target Name : avm

So alf3.3.1 instance 2 is listening on port 50525

2) project two - on alf3.3.1 instance 2 (localhost)

web project settings
project Name : test-live
DNS : test-live

QUE: It's given somewhere in Alfresco wiki (AVM_Deployment_Target-last paragraph) like we can change the storename which doesnt contain -live in it.
The property is storeNamePattern on avm-target.xml. By default it is "%storeName%-live". Change it to "%storeName%" to get rid of the -live part. But please note that if you do this you will no longer be able to deploy to the local server.
But i am not able to find any avm-target.xml in my alfresco source. Do we need to create it manually. Or else where we need to make change to remove "-live" from storename.

Now i've added some binary content(images,documents etc) in test project(instance 1) and deploy it through avm deployment process from stagging sandbox. It works fine and copies all the content to test-live web project (instance 2)

Next i've created some web content using web form(having some element using xs:list as well) and deploy it through avm deployment process from stagging sanbox from latest snapshot deploy option. And it gives me following error

15:37:27,642 User:admin ERROR [repo.deploy.DeploymentServiceImpl] Unable to abort deployment.  Error in exception handler
org.alfresco.deployment.impl.DeploymentException: 07210005 invalid ticket:3b49be70-29ac-4cbe-b0e8-10528ac3a4d1
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.getDeploymentTracker(DeploymentReceiverEngineImpl.java:266)
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.abort(DeploymentReceiverEngineImpl.java:328)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy205.abort(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)
        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)
        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)
        at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:73)
        at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:72)
        at sun.reflect.GeneratedMethodAccessor788.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        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)
        at org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible(RemoteInvocationUtils.java:47)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:352)
        at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy205.abort(Unknown Source)
        at org.alfresco.repo.deploy.DeploymentReceiverServiceClient.abort(DeploymentReceiverServiceClient.java:63)
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1212)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:46)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy87.deployDifferenceFS(Unknown Source)
        at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:403)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:726)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:658)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImp
l.java:494)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.j
ava:503)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:5
06)
        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)
15:37:36,226 User:admin ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error
org.alfresco.service.cmr.avm.AVMException: 07210015 Deployment exception, unable to deploy : srcPath:test:/www/avm_webapps, target:avm, versio
n:7, adapterName:default, hostName:localhost, port:50,525, errorSmiley Surprisedrg.alfresco.service.cmr.avm.AVMException: 07210014 Error during deployment sr
cPath: test:/www/avm_webapps, version:7, adapterName:default, hostName:localhost, port:50,525, errorSmiley Surprisedrg.alfresco.service.cmr.avm.AVMException
: 07210013 Failed to copy filename:/ROOT/a2.xml
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:46)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy87.deployDifferenceFS(Unknown Source)
        at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:403)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:726)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:658)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImp
l.java:494)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.j
ava:503)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:5
06)
        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: org.alfresco.service.cmr.avm.AVMException: 07210014 Error during deployment srcPath: test:/www/avm_webapps, version:7, adapterName:
default, hostName:localhost, port:50,525, errorSmiley Surprisedrg.alfresco.service.cmr.avm.AVMException: 07210013 Failed to copy filename:/ROOT/a2.xml
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1224)
        … 28 more
Caused by: org.alfresco.service.cmr.avm.AVMException: 07210013 Failed to copy filename:/ROOT/a2.xml
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1944)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.run(DeploymentServiceImpl.java:1850)
Caused by: java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$KeyIterator.next(HashMap.java:828)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:817)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:757)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.sendImpl(AVMDeploymentTarget.java:832)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.access$1100(AVMDeploymentTarget.java:69)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:731)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:728)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.send(AVMDeploymentTarget.java:726)
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.getSendToken(DeploymentReceiverEngineImpl.java:543)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy205.getSendToken(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)
        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)
        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)
        at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:73)
        at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:72)
        at sun.reflect.GeneratedMethodAccessor788.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        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)
        at org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible(RemoteInvocationUtils.java:47)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:352)
        at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy205.getSendToken(Unknown Source)
        at org.alfresco.repo.deploy.DeploymentReceiverServiceClient.send(DeploymentReceiverServiceClient.java:128)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1908)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1898)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:251)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1897)
        … 1 more

I don't know whether I did any mistake in configuring deployment receiver OR its an issue with alfresco 3.3 sp1.
If any body have faced same issue before and able to resolve it. It would be appreciated if you share it. Or if you have any idea what could be problem please guide me.

mrogers
Star Contributor
Star Contributor
For issues with Alfresco Enterprise please contact Alfreso Support.

samuel_penn
Champ in-the-making
Champ in-the-making
I'm slightly further now, having fixed some other issues that cropped up. Though I have the basic website deployed to the production instance, I'm having issues deploying new modifications, getting a ConcurrentModificationException some times.

Note that I'm not using web forms, but I have XML meta data extraction on the XML files. The custom properties are defined on both servers.

If I try to deploy /ROOT/index.xml, I get the error:

Deployment Failed
08020058 Failed to copy filename:/ROOT/bsd.txt

bsd.txt has not been changed in this snapshot (and, as it's name suggests, is a plain text file), and exists on both the authoring and production servers. If I try to redeploy the failed snapshot, then it succeeds without error, but doesn't actually work (the new index.xml has not been deployed). On the production (destination) server I get the follow error in the logs:


12:31:00,986 User:web ERROR [impl.server.DeploymentReceiverEngineImpl] error in getSendToken ticket:da97c162-f88a-477a-9588-ef891b8343c8 path:/ROOT/bsd.txt, guid:a68e29f8-1000-41a2-938a-c2972feb955e                                                                                                                                                                               
java.util.ConcurrentModificationException                                                                                                                                                 
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)                                                                                                                     
        at java.util.HashMap$KeyIterator.next(HashMap.java:828)                                                                                                                           
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:817)                                                                                  
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:758)                                                                                  
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                    
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.sendImpl(AVMDeploymentTarget.java:832)                                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.access$1100(AVMDeploymentTarget.java:69)                                                                                  
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:731)                                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:729)                                                                                    
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)                                                                                
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.send(AVMDeploymentTarget.java:726)                                                                                        
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.getSendToken(DeploymentReceiverEngineImpl.java:543)                                                           
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                    
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)                                                                                     
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)                                                              
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)                                                                      
        at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)                                                         
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                      
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)                                                                                       
        at $Proxy198.getSendToken(Unknown Source)                                                                                                                                         
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                    
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)                                                                                        
        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)                                                           
        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)                                                               
        at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:73)                                                                                             
        at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:72)                                                                                     
        at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)                                                                                                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)                                                                                                            
        at sun.rmi.transport.Transport$1.run(Transport.java:159)                                                                                                                          
        at java.security.AccessController.doPrivileged(Native Method)                                                                                                                     
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)                                                                                                                    
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)                                                                                                       
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)                                                                                               
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)                                                                                                
        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)  

On the second attempt, a get a similar error for index.xml, though the UI doesn't report it.

On the authoring server, the logs error is:


12:31:06,855 User:sam ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error                                                                                                         
org.alfresco.service.cmr.avm.AVMException: 08020062 Deployment exception, unable to deploy : srcPath:yags:/www/avm_webapps, target:avm, version:68, adapterName:default, hostName:gundam, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 08020061 Error during deployment srcPath: yags:/www/avm_webapps, version:68, adapterName:default, hostName:gundam, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 08020058 Failed to copy filename:/ROOT/bsd.txt                                                                                         
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1249)                                                                             
        at sun.reflect.GeneratedMethodAccessor1087.invoke(Unknown Source)                                                                                                                 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)                                                                                     
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)                                                              
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)                                                                      
        at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:46)                                                                                    
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                      
        at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)                                                                           
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                    
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)                                                                              
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                      
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)                                                                                       
        at $Proxy87.deployDifferenceFS(Unknown Source)                                                                                                                                    
        at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:403)                                                                              
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)                                                                      
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:726)                                                                                   
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:658)                                                                                       
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:494)                                
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                    
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)                                                                    
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:503)                                   
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)                                                                                
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:506)                                        
        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: org.alfresco.service.cmr.avm.AVMException: 08020061 Error during deployment srcPath: yags:/www/avm_webapps, version:68, adapterName:default, hostName:gundam, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 08020058 Failed to copy filename:/ROOT/bsd.txt                                                                                                
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1224)                                                                             
        … 27 more                                                                                                                                                                       
Caused by: org.alfresco.service.cmr.avm.AVMException: 08020058 Failed to copy filename:/ROOT/bsd.txt                                                                                      
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1944)                                                                  
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.run(DeploymentServiceImpl.java:1860)                                                                            
Caused by: java.util.ConcurrentModificationException                                                                                                                                      
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)                                                                                                                     
        at java.util.HashMap$KeyIterator.next(HashMap.java:828)                                                                                                                           
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:817)                                                                                  
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$10.execute(AVMDeploymentTarget.java:758)                                                                                  
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)                                                                    
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.sendImpl(AVMDeploymentTarget.java:832)                                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.access$1100(AVMDeploymentTarget.java:69)                                                                                  
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:731)                                                                                    
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget$9.doWork(AVMDeploymentTarget.java:729)                                                                                    
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)                                                                                
        at org.alfresco.deployment.impl.asr.AVMDeploymentTarget.send(AVMDeploymentTarget.java:726)                                                                                        
        at org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl.getSendToken(DeploymentReceiverEngineImpl.java:543)                                                           
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                    
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)                                                                                     
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)                                                              
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)                                                                      
        at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)                                                         
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)                                                                      
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)                                                                                       
        at $Proxy198.getSendToken(Unknown Source)                                                                                                                                         
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                    
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                          
        at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                               
        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)                                                                                        
        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)                                                           
        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)                                                               
        at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:73)
        at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:72)
        at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        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)
        at org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible(RemoteInvocationUtils.java:47)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:352)
        at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy198.getSendToken(Unknown Source)
        at org.alfresco.repo.deploy.DeploymentReceiverServiceClient.send(DeploymentReceiverServiceClient.java:128)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1908)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker$1.execute(DeploymentServiceImpl.java:1899)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:247)
        at org.alfresco.repo.deploy.DeploymentServiceImpl$SendQueueWorker.copyFileToFSR(DeploymentServiceImpl.java:1897)
        … 1 more

Some files are copying across okay, others aren't. Some files have failed, then later on succeeded, so I'm not sure what is going on.

The source project is called 'yags', and I setup a project on the destination server called 'yags-live' before doing the first deployment so that I can see what files have been deployed onto production. index.xml is definitely still the old version. Just double checked bsd.txt, and the content looks identical on both servers, but is 1.33K on the authoring server and 1.37K on the production server. Editing the authoring server version (changed a copyright date from 2009 to 2010), and it's size is now listed as 1.37K. Trying to deploy that change gives the same error of not being able to deploy.

Any help greatly appreciated.

Sam.

samuel_penn
Champ in-the-making
Champ in-the-making
I deleted bsd.txt from the authoring server, and deployed that change which worked, removing the copy of bsd.txt from the production instance. Re-adding bsd.txt to authoring, and deploying that, worked. So now bsd.txt exists on both.

However, I still get errors with what appears to be .xml files. If I delete index.xml, I can deploy that change fine, and it is removed from the destination server. However, if I re-create it, then I get the same error again when trying to deploy.

tvaughan77
Champ in-the-making
Champ in-the-making
FYI - I was getting the same types of errors (unable to copy file) on my brand new Alfresco 3.4.b –> FSR 3.4 deployment.  Turns out, the disk was just full.  So, that's one thing to check for anyone in the future who stumbles on this thread….
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.