AnsweredAssumed Answered

Unable to deploy to remote server

Question asked by chemeddl on Jul 30, 2007
Latest reply on Apr 28, 2008 by zaizi
I am working through the configuration of the Alfresco WCM and have the virtualization server running. However, I am not able to deploy a Web project to a remote server using the Community 2.1 Deployment client. The servers are talking to each other, but the Deployment client errors with the following, which I have taken from the View Deployment Report details.

Reason: Could not Initialize Remote Connection to [xxx.xxx.xxx.xxx]
Details
org.alfresco.service.cmr.avm.AVMException: Could not Initialize Remote Connection to 144.92.39.20 at org.alfresco.repo.deploy.DeploymentServiceImpl.getRemote(DeploymentServiceImpl.java:543) at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifference(DeploymentServiceImpl.java:109) 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:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154) at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy55.deployDifference(Unknown Source) at org.alfresco.repo.avm.actions.AVMDeploySnapshotAction.executeImpl(AVMDeploySnapshotAction.java:212) at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120) at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537) at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:472) at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.execute(AsynchronousActionExecutionQueueImpl.java:258) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155) at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:267) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: org.springframework.remoting.RemoteLookupFailureException: Could not find RMI service [rmi://144.92.39.20:44100/authentication] in RMI registry; nested exception is java.rmi.NotBoundException: authentication at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:210) at org.springframework.remoting.rmi.RmiClientInterceptor.prepare(RmiClientInterceptor.java:145) at org.springframework.remoting.rmi.RmiClientInterceptor.afterPropertiesSet(RmiClientInterceptor.java:133) at org.springframework.remoting.rmi.RmiProxyFactoryBean.afterPropertiesSet(RmiProxyFactoryBean.java:66) at org.alfresco.repo.deploy.DeploymentServiceImpl.getRemote(DeploymentServiceImpl.java:525) … 23 more Caused by: java.rmi.NotBoundException: authentication at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:613) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Naming.java:84) at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:199) … 27 more

It looks as though there is an authentication problem, but I do not know how to remedy the problem. The user and password are both the default on the the sending and receiving end.

Any insight would be greatly appeciated. Thanks.

Outcomes