AnsweredAssumed Answered

Configuring FSR over HTTP in 3.2

Question asked by mudassirshahabuddin on Jan 13, 2010
Latest reply on Jan 14, 2010 by mudassirshahabuddin
I have deployed FSR Over HTTP in Alfresco 3.2 by following this article.
http://wiki.alfresco.com/wiki/WCM_Deployment_Engine

When I publish website, I get following exception. It throws 500 Internal Server Error

14:35:52,468 User:alfrescoadmin@yahoo.com ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error
org.alfresco.service.cmr.avm.AVMException: 00130003 Deployment exception, unable to deploy : srcPath:mysite:/www/avm_webapps, target:mysite, version:47
0, adapterName:spring HTTP, hostName:localhost, port:8,082, error:org.alfresco.service.cmr.avm.AVMException: 00130002 Error during deployment srcPath: vzdn
site:/www/avm_webapps, version:470, adapterName:spring HTTP, hostName:localhost, port:8,082, error:org.springframework.remoting.RemoteAccessException: Cann
ot access HTTP invoker remote service at [http://localhost:8082/alfrescoFSR/deployment]; nested exception is java.io.IOException: Did not receive successfu
l HTTP response: status code = 500, status message = [Internal Server Error]
        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 $Proxy78.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: 00130002 Error during deployment srcPath: mysite:/www/avm_webapps, version:470, adapterName:spring
HTTP, hostName:localhost, port:8,082, error:org.springframework.remoting.RemoteAccessException: Cannot access HTTP invoker remote service at [http://localh
ost:8082/alfrescoFSR/deployment]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 500, status message = [I
nternal Server Error]
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1146)
        … 28 more
Caused by: org.springframework.remoting.RemoteAccessException: Cannot access HTTP invoker remote service at [http://localhost:8082/alfrescoFSR/deployment];
nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 500, status message = [Internal Server Error]
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:196)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:157)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy164.createDirectory(Unknown Source)
        at org.alfresco.repo.deploy.DeploymentReceiverServiceClient.createDirectory(DeploymentReceiverServiceClient.java:126)
        at org.alfresco.repo.deploy.DeploymentServiceImpl.createOnFSR(DeploymentServiceImpl.java:1435)
        at org.alfresco.repo.deploy.DeploymentServiceImpl.createOnFSR(DeploymentServiceImpl.java:1451)
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDirectoryPushFSR(DeploymentServiceImpl.java:1298)
        at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1087)
        … 28 more
Caused by: java.io.IOException: Did not receive successful HTTP response: status code = 500, status message = [Internal Server Error]
        at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.validateResponse(SimpleHttpInvokerRequestExecutor.java:139)
        at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.doExecuteRequest(SimpleHttpInvokerRequestExecutor.java:62)
        at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:134)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:177)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:154)
        … 36 more


Any clues, what necessary configuration I have missed or done wrong.

ALSO, CAN SOMEONE SEND ME A deployment-context.xml file that is current in working condition.

Outcomes