<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: can't start the WCM Deployment Engine in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225085#M178215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We solved the same problem by adding a classpath argument "-cp ." to the java process in deploy_start.sh and deploy_stop.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;nohup java -server -cp . -Djava.ext.dirs=. org.alfresco.deployment.Main application-context.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;It seems like that on some systems, the "-Djava.ext.dirs=." only loads the zip and jar files (and in this case not deployment.properties)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 11:16:32 GMT</pubDate>
    <dc:creator>ludrik</dc:creator>
    <dc:date>2009-10-07T11:16:32Z</dc:date>
    <item>
      <title>can't start the WCM Deployment Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225081#M178211</link>
      <description>I am debuging my WCM Deployment . My alfresco 3.2 is running on linux ,ip 10.1.1.5I am installing WCM Deployment Engine on linux, ip 10.1.1.6.I downloaded the zip file alfresco-community-deployment-3.2.zipextract it to the dir /opt/deploymentthen edit the start script 'deploy_start.sh'#!/bin/shnohup</description>
      <pubDate>Tue, 11 Aug 2009 09:09:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225081#M178211</guid>
      <dc:creator>yahoon</dc:creator>
      <dc:date>2009-08-11T09:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: can't start the WCM Deployment Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225082#M178212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error reported is that it can't find your deployment.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the file exist in /opt/deployment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it readable by your java process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 12:14:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225082#M178212</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-08-11T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: can't start the WCM Deployment Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225083#M178213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;these are all the files under this dir&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;-rwxr-xr-x 1 root root 9543307 08-11 10:05 alfresco-community-deployment-3.2.zip&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 204450 07-03 15:53 alfresco-core-3.2.jar&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp; 89559 07-03 15:53 alfresco-deployment-3.2.jar&lt;BR /&gt;-rwxr-xr-x 1 root root 7105435 07-03 15:53 alfresco-repository-3.2.jar&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 753 07-03 15:53 application-context.xml&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp; 52915 07-03 15:53 commons-logging-1.1.jar&lt;BR /&gt;drwxr-xr-x 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 08-11 16:09 depdata&lt;BR /&gt;drwxr-xr-x 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 08-11 16:09 deplog&lt;BR /&gt;drwxr-xr-x 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 07-03 15:53 deployment&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 611 07-03 15:53 deployment.properties&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 1260 07-03 15:53 deploy_start.bat&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 158 08-11 15:59 deploy_start.sh&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 1224 07-03 15:53 deploy_stop.bat&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90 08-11 16:14 deploy_stop.sh&lt;BR /&gt;drwxr-xr-x 3 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 08-11 16:09 depmetadata&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp; 37328 07-03 15:53 jug-lgpl-2.0.0.jar&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 391834 07-03 15:53 log4j-1.2.15.jar&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 1436 07-03 15:53 log4j.properties&lt;BR /&gt;drwxr-xr-x 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 08-11 16:09 logs&lt;BR /&gt;-rw——- 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 7131 08-11 16:14 nohup.out&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 3354 07-03 15:53 readme.txt&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 977 07-03 15:53 shutdown-context.xml&lt;BR /&gt;-rwxr-xr-x 1 root root 2708329 07-03 15:53 spring-2.0.8.jar&lt;BR /&gt;drwxr-xr-x 2 root root&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 08-11 16:09 target&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I run ./deploy_start.sh as root.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;now the program can be started well ,but if I moved alfresco-community-deployment-3.2.zip out, the error come out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After extracting the install zip file , I didn't make any changes to other files except adding&amp;nbsp; " -Djava.rmi.server.hostname=xxxx " to ./deploy_start.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why it can't be ran directly ? need to change other things?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 13:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225083#M178213</guid>
      <dc:creator>yahoon</dc:creator>
      <dc:date>2009-08-11T13:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: can't start the WCM Deployment Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225084#M178214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is what I am confused about:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if the alfresco-community-deployment-3.2.zip under the dir , start is OK , see nohup.out&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;10:16:47,727 INFO&amp;nbsp; [alfresco.deployment.Main] Alfresco Deployment Receiver Starting&lt;BR /&gt;10:16:47,765 INFO&amp;nbsp; [context.support.FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1193779: display name [org.springframework.context.support.FileSystemXmlApplicationContext@1193779]; startup date [Tue Aug 11 10:16:47 CDT 2009]; root of context hierarchy&lt;BR /&gt;10:16:47,813 INFO&amp;nbsp; [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from file [/opt/deployment/application-context.xml]&lt;BR /&gt;10:16:47,958 INFO&amp;nbsp; [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from URL [jar:file:/opt/deployment/alfresco-community-deployment-3.2.zip!/deployment/deployment-receiver-context.xml]&lt;BR /&gt;10:16:47,982 INFO&amp;nbsp; [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from URL [jar:file:/opt/deployment/alfresco-community-deployment-3.2.zip!/deployment/default-target.xml]&lt;BR /&gt;10:16:47,998 INFO&amp;nbsp; [context.support.FileSystemXmlApplicationContext] Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@1193779]: org.springframework.beans.factory.support.DefaultListableBeanFactory@b76fa&lt;BR /&gt;10:16:48,052 INFO&amp;nbsp; [factory.config.PropertyPlaceholderConfigurer] Loading properties file from class path resource [deployment.properties]&lt;BR /&gt;10:16:48,059 INFO&amp;nbsp; [factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b76fa: defining beans [properties,deploymentReceiverCommandQueue,deploymentReaderManagement,fileSystemReceiverService,fileSystemReceiverHousekeeper,commandQueueHousekeeper,deploymentReceiverEngine,deploymentReceiverTransportRMI,org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean]; root of factory hierarchy&lt;BR /&gt;10:16:48,106 INFO&amp;nbsp; [remoting.rmi.RmiServiceExporter] Looking for RMI registry at port '44100'&lt;BR /&gt;10:16:48,126 INFO&amp;nbsp; [remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one&lt;BR /&gt;10:16:48,129 INFO&amp;nbsp; [impl.server.DeploymentReceiverEngineImpl] Alfresco Deployment Receiver Engine Started&lt;BR /&gt;10:16:48,171 INFO&amp;nbsp; [remoting.rmi.RmiServiceExporter] Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[10.1.7.33:44100](local),objID:[0:0:0, 0]]]]&lt;BR /&gt;10:16:48,188 INFO&amp;nbsp; [impl.server.DeploymentReceiverEngineImpl] deployment target registered, name=default&lt;BR /&gt;10:16:53,134 INFO&amp;nbsp; [impl.fsr.ValidateCommand] Validation starting for target:default&lt;BR /&gt;10:16:53,141 INFO&amp;nbsp; [impl.fsr.ValidateCommand] Validation finished&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;if the zip file is not under the dir ,the start fails ,see nohup.out&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;log4j:WARN No appenders could be found for logger (org.alfresco.deployment.Main).&lt;BR /&gt;log4j:WARN Please initialize the log4j system properly.&lt;BR /&gt;Unable to start deployment receiver&lt;BR /&gt;org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundEx&lt;BR /&gt;ception: class path resource [deployment.properties] cannot be opened because it does not exist&lt;BR /&gt;Caused by: java.io.FileNotFoundException: class path resource [deployment.properties] cannot be opened because it does not exist&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:179)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:158)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.jav&lt;BR /&gt;a:68)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext&lt;BR /&gt;.java:472)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.context.support.FileSystemXmlApplicationContext.&amp;lt;init&amp;gt;(FileSystemXmlApplicationContext.java:124)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.context.support.FileSystemXmlApplicationContext.&amp;lt;init&amp;gt;(FileSystemXmlApplicationContext.java:68)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.deployment.Main.main(Main.java:54)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;why this happen ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems it can't load the deployment.properties file under the dir ,but can load the one in the zip file . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;confuse a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 15:31:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225084#M178214</guid>
      <dc:creator>yahoon</dc:creator>
      <dc:date>2009-08-11T15:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: can't start the WCM Deployment Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225085#M178215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We solved the same problem by adding a classpath argument "-cp ." to the java process in deploy_start.sh and deploy_stop.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;nohup java -server -cp . -Djava.ext.dirs=. org.alfresco.deployment.Main application-context.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;It seems like that on some systems, the "-Djava.ext.dirs=." only loads the zip and jar files (and in this case not deployment.properties)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 11:16:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-start-the-wcm-deployment-engine/m-p/225085#M178215</guid>
      <dc:creator>ludrik</dc:creator>
      <dc:date>2009-10-07T11:16:32Z</dc:date>
    </item>
  </channel>
</rss>

