AnsweredAssumed Answered

[debian wheezy] Community installer is not working

Question asked by jenot on Jul 19, 2013
Latest reply on Jul 26, 2013 by kaynezhang
Hey

For previous releases installer from Alfresco site was working just out-of-the-box.

Today it is not starting service.

Steps to reproduce
1. Install debian wheezy
2. Install libraries
3. Download alfresco-community-4.2.c-installer-linux-x64.bin
4. chmod +x alfresco-community-4.2.c-installer-linux-x64.bin
5. run installer alfresco-community-4.2.c-installer-linux-x64.bin
6. Installer is asking to go on page http://ip-hostname/share

Then it is not working and you see in catalina.out log similar entries


INFO: Deploying web application archive /opt/alfresco-4.2.c/tomcat/webapps/share.war
2013-07-19 13:11:07,534  ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.container' defined in URL [jar:file:/opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-app
lication-context.xml]: Cannot resolve reference to bean 'processor.model.helper' while setting bean property 'processorModelHelper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processor.model.helper' defined
in URL [jar:file:/opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.render' while setting bean property 'webFra
meworkRenderService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.render' defined in URL [jar:file:/opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org
/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.modelobject' while setting bean property 'modelObjectService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error cre
ating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'w
ebframework.service.objectpersistence' while setting bean property 'objectPersistenceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.objectpersistence' defined in URL [jar:file:/opt
/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.persister' while setting bean property 'persisterService'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.persister' defined in URL [jar:file:/opt/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensio
ns/surf/spring-surf-services-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)

Outcomes