As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Nov 30, 2007 8:11:09 AM org.springframework.remoting.support.RemoteInvocationTraceInterceptor invoke WARNING: Processing of RmiServiceExporter remote call resulted in fatal exception: org.alfresco.deployment.DeploymentReceiverService.getListing org.alfresco.deployment.impl.DeploymentException: Could not get listing for /. Aborted. at org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl.getListing(DeploymentReceiverServiceImpl.java:426) at org.alfresco.deployment.impl.server.DeploymentReceiverTransportImpl.getListing(DeploymentReceiverTransportImpl.java:163) 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.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy0.getListing(Unknown Source) 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.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:72) at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:62) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) 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:595) Caused by: org.alfresco.deployment.impl.DeploymentException: Could not read metadata file depmetadata/default.md/.md. at org.alfresco.deployment.impl.server.Target.getDirectory(Target.java:386) at org.alfresco.deployment.impl.server.Target.getListing(Target.java:264) at org.alfresco.deployment.impl.server.Deployment.getListing(Deployment.java:307) at org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl.getListing(DeploymentReceiverServiceImpl.java:421) … 32 more Caused by: java.io.FileNotFoundException: depmetadata/default.md/.md. (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at org.alfresco.deployment.impl.server.Target.getDirectory(Target.java:379) … 35 more
dep.datadir=depdata dep.logdir=deplog dep.metadatadir=depmetadata dep.rmi.port=44100
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreUnresolvablePlaceholders"> <value>true</value> </property> <property name="locations"> <list> <value>classpath:deployment.properties</value> </list> </property> </bean> <bean id="configuration" class="org.alfresco.deployment.config.Configuration" init-method="init"> <property name="dataDirectory"> <value>${dep.datadir}</value> </property> <property name="logDirectory"> <value>${dep.logdir}</value> </property> <property name="metaDataDirectory"> <value>${dep.metadatadir}</value> </property> <!– Target Configuration. Modify for your site. –> <property name="targetData"> <map> <entry key="default"> <map> <entry key="root"><value>~/cda-tomcat/webapps</value></entry> <entry key="user"><value>admin</value></entry> <entry key="password"><value>admin</value></entry> <entry key="runnable"><value>org.alfresco.deployment.SampleRunnable</value></entry> <!– <entry key="program"><value>/path/to/program</value></entry> –> </map> </entry> <entry key="sampleTarget"> <map> <entry key="root"><value>target</value></entry> <entry key="user"><value>Giles</value></entry> <entry key="password"><value>Watcher</value></entry> <entry key="runnable"><value>org.alfresco.deployment.SampleRunnable</value></entry> <!– <entry key="program"><value>/path/to/program</value></entry> –> </map> </entry> </map> </property> </bean> <bean id="deploymentReceiverService" class="org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl" init-method="init"> <property name="configuration"> <ref bean="configuration"/> </property> </bean> <bean id="deploymentReceiverTransport" class="org.alfresco.deployment.impl.server.DeploymentReceiverTransportImpl"> <property name="deploymentReceiverService"> <ref bean="deploymentReceiverService"/> </property> </bean> <bean id="deploymentReceiverTransportRMI" class="org.springframework.remoting.rmi.RmiServiceExporter"> <property name="service"> <ref bean="deploymentReceiverTransport"/> </property> <property name="serviceInterface"> <value>org.alfresco.deployment.DeploymentReceiverTransport</value> </property> <property name="serviceName"> <value>deployment</value> </property> <property name="registryPort"> <value>${dep.rmi.port}</value> </property> </bean> </beans>
<entry key="runnable"><value>org.alfresco.deployment.SampleRunnable</value></entry>
/cda-tomcat/webapps
~/cda-tomcat/webapps
Nov 30, 2007 2:09:34 PM org.springframework.core.CollectionFactory <clinit> INFO: JDK 1.4+ collections available Nov 30, 2007 2:09:35 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from file [/vol0/home/cms/deployment/application-context.xml] Nov 30, 2007 2:09:35 PM org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=26680060]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy Nov 30, 2007 2:09:35 PM org.springframework.context.support.AbstractApplicationContext refresh INFO: 5 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=26680060] Nov 30, 2007 2:09:35 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties INFO: Loading properties file from class path resource [deployment.properties] Nov 30, 2007 2:09:35 PM org.springframework.context.support.AbstractApplicationContext initMessageSource INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1a80a69] Nov 30, 2007 2:09:35 PM org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@cdb06e] Nov 30, 2007 2:09:35 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy] Nov 30, 2007 2:09:35 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy} Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in file [/vol0/home/cms/deployment/application-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException Caused by: java.lang.NullPointerException at org.alfresco.deployment.impl.server.Target.recursiveInitialize(Target.java:150) at org.alfresco.deployment.impl.server.Target.initialize(Target.java:137) at org.alfresco.deployment.impl.server.Target.<init>(Target.java:125) at org.alfresco.deployment.config.Configuration.init(Configuration.java:133) 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.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1122) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:89) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:74) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:65) at org.alfresco.deployment.Main.main(Main.java:47)
Nov 30, 2007 2:13:38 PM org.springframework.core.CollectionFactory <clinit> INFO: JDK 1.4+ collections available Nov 30, 2007 2:13:38 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from file [/vol0/home/cms/deployment/application-context.xml] Nov 30, 2007 2:13:39 PM org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory INFO: Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=26680060]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy Nov 30, 2007 2:13:39 PM org.springframework.context.support.AbstractApplicationContext refresh INFO: 5 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=26680060] Nov 30, 2007 2:13:39 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties INFO: Loading properties file from class path resource [deployment.properties] Nov 30, 2007 2:13:39 PM org.springframework.context.support.AbstractApplicationContext initMessageSource INFO: Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1a80a69] Nov 30, 2007 2:13:39 PM org.springframework.context.support.AbstractApplicationContext initApplicationEventMulticaster INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@cdb06e] Nov 30, 2007 2:13:39 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [properties,configuration,deploymentReceiverService,deploymentReceiverTransport,deploymentReceiverTransportRMI]; root of BeanFactory hierarchy] Nov 30, 2007 2:13:39 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry INFO: Looking for RMI registry at port '44100' Nov 30, 2007 2:13:39 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry WARNING: Could not detect RMI registry - creating new one Nov 30, 2007 2:13:39 PM org.springframework.aop.framework.DefaultAopProxyFactory <clinit> INFO: CGLIB2 not available: proxyTargetClass feature disabled Nov 30, 2007 2:13:39 PM org.springframework.remoting.rmi.RmiServiceExporter prepare INFO: Binding service 'deployment' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[10.3.17.23:44100](local),objID:[0:0:0, 0]]]]
Dec 3, 2007 10:12:07 AM org.springframework.remoting.support.RemoteInvocationTraceInterceptor invoke WARNING: Processing of RmiServiceExporter remote call resulted in fatal exception: org.alfresco.deployment.DeploymentReceiverService.getListing org.alfresco.deployment.impl.DeploymentException: Could not get listing for /. Aborted. at org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl.getListing(DeploymentReceiverServiceImpl.java:426) at org.alfresco.deployment.impl.server.DeploymentReceiverTransportImpl.getListing(DeploymentReceiverTransportImpl.java:163) 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.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy0.getListing(Unknown Source) 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.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.rmi.RmiBasedExporter.invoke(RmiBasedExporter.java:72) at org.springframework.remoting.rmi.RmiInvocationWrapper.invoke(RmiInvocationWrapper.java:62) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) 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:595) Caused by: org.alfresco.deployment.impl.DeploymentException: Could not read metadata file metadata/default.md/.md. at org.alfresco.deployment.impl.server.Target.getDirectory(Target.java:386) at org.alfresco.deployment.impl.server.Target.getListing(Target.java:264) at org.alfresco.deployment.impl.server.Deployment.getListing(Deployment.java:307) at org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl.getListing(DeploymentReceiverServiceImpl.java:421) … 32 more Caused by: java.io.FileNotFoundException: metadata/default.md/.md. (Is a directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at org.alfresco.deployment.impl.server.Target.getDirectory(Target.java:379) … 35 more
Is there any way to copy contents of one web folder to another?
What if I don't want to have many different web projects, but just want to change the deployment so it won't be