I have been wrestling with the standalone deployment receiver for almost a day, trying to get it set up to deploy an Alfresco WCM web project from my Alfresco server over to a separate server.
The lack of complete, correct documentation for the WCM deployment process is extremely frustrating!
Whenever I try to deploy from within Alfresco, I’m getting errors in the Alfresco UI:
Deployment Failed 11030002 Path /www/avm_webapps not found.
The full exception is included at the end of this email. What is odd is if I change the “Source Path” in the deployment configuration, say to be “/html”, then I get the message “Path /www/avm_webapps/html not found”. It seems like it’s looking for some root directory that doesn’t exist… Is it looking for this folder on the source, or the target? I’m not sure whether these errors are coming from the “source” or the “target” in the first place, but they show up in the logs of the source (Alfresco), not the target (Standalone receiver), so assuming it's something misconfigured in Alfresco.
Appreciate any ideas folks may have.
-Jason
Here is the configuration of my deployment receiver for the web project "proto"…
Type: Test Server Display Name: win7-liferay Display Group: win7-liferay Transport Name: default Host: win7-liferay Port: 44100 URL: http://win7-liferay:8080/proto Username: admin Password: ***** Source Path: (blank) Excludes: (blank) Target Name: proto
Here is the full exception I get when trying to deploy…
11:24:18,484 User:admin ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error org.alfresco.service.cmr.avm.AVMException: 11030004 Deployment exception, unable to deploy : srcPathroto–admin:/www/avm_webapps, targetroto, version:45, adapterName:default, hostName:win7-liferay , port:44,100, errorrg.alfresco.service.cmr.avm.AVMException: 11030003 Error during deployment srcPath: proto–admin:/www/avm_webapps, version:45, adapterName:default, hostName:win7-liferay, port:44 ,100, errorrg.alfresco.service.cmr.avm.AVMNotFoundException: 11030002 Path /www/avm_webapps not found. at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1171) 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:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:70) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327) at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:73) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy82.deployDifferenceFS(Unknown Source) at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:405) at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127) at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711) at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648) at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:369) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:234) at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:378) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514) at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:381) 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: 11030003 Error during deployment srcPath: proto–admin:/www/avm_webapps, version:45, adapterName:default, hostName:win7-liferay, port:44,100, erro rrg.alfresco.service.cmr.avm.AVMNotFoundException: 11030002 Path /www/avm_webapps not found. at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1146) … 28 more Caused by: org.alfresco.service.cmr.avm.AVMNotFoundException: 11030002 Path /www/avm_webapps not found. at org.alfresco.repo.avm.AVMStoreImpl.getListing(AVMStoreImpl.java:734) at org.alfresco.repo.avm.AVMRepository.getListing(AVMRepository.java:1108) at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:195) at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:173) at org.alfresco.repo.avm.MultiTAVMService.getDirectoryListing(MultiTAVMService.java:294) 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:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy10.getDirectoryListing(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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.alfresco.repo.search.AVMSnapShotTriggeredIndexingMethodInterceptor.invoke(AVMSnapShotTriggeredIndexingMethodInterceptor.java:159) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:70) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327) at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:73) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy10.getDirectoryListing(Unknown Source) at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDirectoryPushFSR(DeploymentServiceImpl.java:1221) at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1087) … 28 more
can you post ur ROOT and Folder structure for ur web app? 1. I think you need to specify the Source Path in FSR config. 2. Another thing is clean you repo and recreate your indexes.