cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone Deployment

padmalaya
Champ in-the-making
Champ in-the-making
Hi,

We are using Alfresco 3.3g community setup.
Can anybody summarise all the steps involved in deploying a particular site in ones web project.
We have followed the steps given in http://wiki.alfresco.com/wiki/WCM_Deployment_Engine.
However, The site is not getting published.
Please Help.

Thanks in advance.

Padmalaya
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
So what are you trying to do?

What have you done?

And what is happening?

padmalaya
Champ in-the-making
Champ in-the-making
Hii

We have installed alfresco 3.3 standalone deployment receiver then followed the steps below":
1> started alfresco web server and alfresco virtual server and deployment server.
2> Configured the web deployment server details as
i)Transport Name: default
Host: 172.18.224.234
Port: 44100
URL: 
Type: Live Server
Username: admin
 
and kept the rest fields as blank.
3> Clicked on preview website.

Howevr it shows a network error.
"server not found".

X
Network Access Message: The page cannot be displayed 

Explanation: The Web server refused the connection.

Try the following:
Refresh page: Search for the page again by clicking the Refresh button. The timeout could have occurred due to Internet congestion.
Check spelling: Check that the Web page address is spelled correctly. The address may have been mistyped.
Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.
Contact website: You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
If you are still not able to view the requested page, try contacting your administrator or Helpdesk.



Technical Information (for support personnel)
Error Code 10061: Connection refused
Background: The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
Date: 8/2/2010 10:47:55 AM [GMT]
Server: INKOLSALCEL02.India.TCS.com
Source: Remote server

mrogers
Star Contributor
Star Contributor
Is the Standalone Deployment Server listening on 172.18.224.234?

Do you see a line similar to the following in your deployment.log file?
10:25:55,265 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[172.18.224.234:44100](local),objID:[0:0:0, 0]]]]

What platform are you running on?     You may have a firewall preventing the connection.

padmalaya
Champ in-the-making
Champ in-the-making
Hii

Yes we do find the line which u mentioned above..


Here is the following log ..


16:02:49,520 INFO  [org.alfresco.deployment.Main] Alfresco Deployment Receiver Starting
16:02:49,650 INFO  [org.springframework.context.support.FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@ce5b1c: startup date [Mon Aug 02 16:02:49 IST 2010]; root of context hierarchy
16:02:49,790 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\application-context.xml]
16:02:50,121 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\deployment-receiver-context.xml]
16:02:50,161 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\default-target.xml]
16:02:50,311 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] Loading properties file from class path resource [deployment.properties]
16:02:50,321 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1bf3d87: defining beans [properties,deploymentReceiverCommandQueue,deploymentReaderManagement,fileSystemReceiverService,fileSystemReceiverHousekeeper,commandQueueHousekeeper,deploymentReceiverEngine,deploymentReceiverTransportRMI,org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean#0]; root of factory hierarchy
16:02:50,391 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Looking for RMI registry at port '44100'
16:02:50,391 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] Alfresco Deployment Receiver Engine Started
16:02:51,633 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one
16:02:51,923 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[172.18.224.234:44100](local),objID:[0:0:0, 0]]]]
16:02:55,989 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] deployment target registered, name=default
16:03:00,936 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation starting for target:default
16:03:00,936 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation finished
16:06:03,259 INFO  [org.alfresco.deployment.Main] Alfresco Deployment Receiver Starting
16:06:03,289 INFO  [org.springframework.context.support.FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@181edf4: startup date [Mon Aug 02 16:06:03 IST 2010]; root of context hierarchy
16:06:03,379 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\shutdown-context.xml]
16:06:03,709 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] Loading properties file from class path resource [deployment.properties]
16:06:03,719 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@79a2e7: defining beans [properties,shutdownBean]; root of factory hierarchy
16:06:04,180 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] Shutting down Implementation
16:06:06,513 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] Alfresco Deployment Receiver Engine Stopped
16:06:06,513 INFO  [org.springframework.context.support.FileSystemXmlApplicationContext] Closing org.springframework.context.support.FileSystemXmlApplicationContext@ce5b1c: startup date [Mon Aug 02 16:02:49 IST 2010]; root of context hierarchy
16:06:06,513 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1bf3d87: defining beans [properties,deploymentReceiverCommandQueue,deploymentReaderManagement,fileSystemReceiverService,fileSystemReceiverHousekeeper,commandQueueHousekeeper,deploymentReceiverEngine,deploymentReceiverTransportRMI,org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean#0]; root of factory hierarchy
16:06:06,513 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Unbinding RMI service 'deployment' from registry at port '44100'
16:06:18,090 INFO  [org.alfresco.deployment.Main] Alfresco Deployment Receiver Starting
16:06:18,130 INFO  [org.springframework.context.support.FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@12d3205: startup date [Mon Aug 02 16:06:18 IST 2010]; root of context hierarchy
16:06:18,210 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\application-context.xml]
16:06:18,450 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\deployment-receiver-context.xml]
16:06:18,470 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\default-target.xml]
16:06:18,581 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] Loading properties file from class path resource [deployment.properties]
16:06:18,601 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15bdc50: defining beans [properties,deploymentReceiverCommandQueue,deploymentReaderManagement,fileSystemReceiverService,fileSystemReceiverHousekeeper,commandQueueHousekeeper,deploymentReceiverEngine,deploymentReceiverTransportRMI,org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean#0]; root of factory hierarchy
16:06:18,631 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] Alfresco Deployment Receiver Engine Started
16:06:18,661 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Looking for RMI registry at port '44100'
16:06:19,792 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one
16:06:19,832 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[172.18.224.234:44100](local),objID:[0:0:0, 0]]]]
16:06:19,852 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] deployment target registered, name=default
16:06:23,638 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation starting for target:default
16:06:23,658 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation finished
18:37:09,455 INFO  [org.alfresco.deployment.Main] Alfresco Deployment Receiver Starting
18:37:09,495 INFO  [org.springframework.context.support.FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@12d3205: startup date [Mon Aug 02 18:37:09 IST 2010]; root of context hierarchy
18:37:09,575 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\application-context.xml]
18:37:09,835 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\deployment-receiver-context.xml]
18:37:09,855 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [C:\Alfresco\Deployment\deployment\default-target.xml]
18:37:09,975 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] Loading properties file from class path resource [deployment.properties]
18:37:09,995 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15bdc50: defining beans [properties,deploymentReceiverCommandQueue,deploymentReaderManagement,fileSystemReceiverService,fileSystemReceiverHousekeeper,commandQueueHousekeeper,deploymentReceiverEngine,deploymentReceiverTransportRMI,org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean#0]; root of factory hierarchy
18:37:10,005 INFO  [org.alfresco.deployment.impl.fsr.FileSystemReceiverServiceImpl] creating data directory:C:Alfresco   omcatwebapps
18:37:10,035 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] Alfresco Deployment Receiver Engine Started
18:37:10,055 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Looking for RMI registry at port '44100'
18:37:11,167 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one
18:37:11,217 INFO  [org.springframework.remoting.rmi.RmiServiceExporter] Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[172.18.224.234:44100](local),objID:[0:0:0, 0]]]]
18:37:11,237 INFO  [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] deployment target registered, name=default
18:37:15,033 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation starting for target:default
18:37:15,043 INFO  [org.alfresco.deployment.impl.fsr.ValidateCommand] Validation finished
18:39:08,966 INFO  [org.alfresco.deployment.impl.fsr.FileSystemDeploymentTarget] Prepare ticket: b53068e0-e5ee-47e4-9abb-21c2d9d1b9cb
18:40:56,841 INFO  [org.alfresco.deployment.impl.fsr.FileSystemDeploymentTarget] Prepare ticket: 3d5226e2-3a06-4fb8-8411-5ac86f7bb487
18:47:52,219 INFO  [org.alfresco.deployment.impl.fsr.FileSystemDeploymentTarget] Prepare ticket: 5b4f703b-d00e-4740-bf02-efb7120370d4


However deployment is successful in the server.
How to disable the firewall if at all it is preventing the connection.

Pls suggest how to deal with the above issue.

tejaskanani2920
Champ in-the-making
Champ in-the-making
2> Configured the web deployment server details as
i)Transport Name: default
Host: 172.18.224.234
Port: 44100
URL: 
Type: Live Server
Username: admin
 
and kept the rest fields as blank.

Hi,

what value have you given for Target Name property ?