cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment to File Server (on same box) Not working :-(

ninerfan
Champ in-the-making
Champ in-the-making
The following Alfresco bits are installed on Windows 2003 Server

Alfresco-Community-2.1R1-Setup.exe
Alfresco-WCM-Community-2.1R1-Setup.exe
alfresco-community-deployment-2.1.0

I've configured the receiver files deployment.properties & application-context.xml

I specified 44100 port on web project and in config files. No luck.

When I try to deploy I get the same problem as others have posted here.
Deployment Fails. The funny thing is that when I click back to view recent snapshots of the sandbox it shows deployment still in progress. Of course no helpful error message is returned anywhere. I tried using \\hostname when configuring the deployment on the project but that gave errors about Invalid Properties as mentioned in other posts in this forum. If I just use hostname it fails to initialize the connection.

Here is the output from the Alfresco Deployment Receiver when I run deploy_start.bat

C:\Program Files\Alfresco\Deployment>.\deploy_start.bat
.
==============================
= Alfresco Deployment Server =
=   use control-c to stop    =
==============================
.
Aug 7, 2007 2:56:11 PM org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
Aug 7, 2007 2:56:12 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [C:\Program Files\Alfresco\Deployment\application-context.xml]
Aug 7, 2007 2:56:13 PM org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode
=16270214]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuratio
n,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy
Aug 7, 2007 2:56:13 PM org.springframework.context.support.AbstractApplicationContext refresh
INFO: 5 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCo
de=16270214]
Aug 7, 2007 2:56:13 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [deployment.properties]
Aug 7, 2007 2:56:13 PM org.springframework.context.support.AbstractApplicationContext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.Deleg
atingMessageSource@1e87719]
Aug 7, 2007 2:56:13 PM org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springfra
mework.context.event.SimpleApplicationEventMulticaster@1d256fa]
Aug 7, 2007 2:56:13 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defi
ning beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRM
I]; root of BeanFactory hierarchy]
Aug 7, 2007 2:56:14 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Looking for RMI registry at port '44100'
Aug 7, 2007 2:56:16 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
WARNING: Could not detect RMI registry - creating new one
Aug 7, 2007 2:56:16 PM org.springframework.aop.framework.DefaultAopProxyFactory <clinit>
INFO: CGLIB2 not available: proxyTargetClass feature disabled
Aug 7, 2007 2:56:17 PM org.springframework.remoting.rmi.RmiServiceExporter prepare
INFO: Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[141.177.49.214:44
100](local),objID:[0:0:0, 0]]]]
—————————————
Here is some output from the main alfresco server process. Note that I also have not been able to get preview working with the virtualization server. Could that be effecting deployments?

15:33:36,588 ERROR [alfresco.mbeans.VirtServerRegistry] Could not connect to vir
tualization server: service:jmx:rmi://ignored/jndi/rmi://141-177-49-21410:50 AM
7/31/2007.ip.alfrescodemo.net:50501/alfresco/jmxrmi
15:52:57,935 ERROR [alfresco.mbeans.VirtServerRegistry] Could not connect to vir
tualization server: service:jmx:rmi://ignored/jndi/rmi://141-177-49-21410:50 AM
7/31/2007.ip.alfrescodemo.net:50501/alfresco/jmxrmi
15:53:05,037 ERROR [alfresco.mbeans.VirtServerRegistry] Could not connect to vir
tualization server: service:jmx:rmi://ignored/jndi/rmi://141-177-49-21410:50 AM
7/31/2007.ip.alfrescodemo.net:50501/alfresco/jmxrmi
15:53:16,764 ERROR [avm.actions.AVMDeploySnapshotAction] org.alfresco.service.cm
r.avm.AVMException: Could not Initialize Remote Connection to 141.177.49.214
Can anybody provide ideas how to troubleshoot the deploy connection.
2 REPLIES 2

kvc
Champ in-the-making
Champ in-the-making
Everyone:

There's been about six forum posts on this same issue.  Unfortunately, it was a critical bug.

A fix was checked-in yesterday:

http://issues.alfresco.com/browse/WCM-692

We will look into providing an updated deployment.zip.  I will post an update on this forum.

Kevin

ninerfan
Champ in-the-making
Champ in-the-making
Thanks for the info Kevin,

Not sure if this will help you guys in fixing that bug but at least in my case I tried shutting down the deployment receiver and doing a local deploy as recommended in this wiki paragraph, but even as localhost or 127.0.0.1 the deployment still failed. Even with no port number specified.

"To test or demonstrate the deployment capabilities it's a lot easier to use the same instance of Alfresco rather than setting up another instance on the same machine and having to change port numbers or to have multiple machines especially for demos off site. To cater for this the entries localhost and 127.0.0.1 literally mean the same Alfresco instance. "

-Ninerfan