cancel
Showing results for 
Search instead for 
Did you mean: 

404 error after installation - Alfreco 5.0.a on Redhat 6.5

hmis_panchkula
Champ in-the-making
Champ in-the-making
Hello,

I am new to linux and alfreco Smiley Indifferent Need some help in configuring Alfresco community 5.0.a on Redhat Linux. I am facing 404 error post installation.

1. Checked Tomcat & Postgeresql still getting following error:

HTTP Status 404 - /alfresco

type Status report

message /alfresco

description The requested resource is not available.
Apache Tomcat/7.0.53


Note: I have tried 127.0.0.1/share/page and faced same issue


Following is the Alfresco.log file:

18:52:21,217 ERROR [org.springframework.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-application-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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.render' while setting bean property 'webFrameworkRenderService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.render' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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 creating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/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:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   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:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processor.model.helper' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.render' while setting bean property 'webFrameworkRenderService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.render' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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 creating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
   … 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.render' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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 creating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
   … 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
   … 48 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.objectpersistence' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.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-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
   … 58 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.persister' defined in URL [jar:file:/opt/alfresco-5.0.a/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.1-M16.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
   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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
   … 68 more
Caused by: java.lang.ExceptionInInitializerError
   at org.springframework.extensions.surf.ModelHelper.newGUID(ModelHelper.java:166)
   at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.loadObjectAndDependants(ReadOnlyStoreObjectPersister.java:677)
   at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.getObjectByPath(ReadOnlyStoreObjectPersister.java:610)
   at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.init(ReadOnlyStoreObjectPersister.java:405)
   at org.springframework.extensions.surf.persister.MultiObjectPersister.init(MultiObjectPersister.java:465)
   at org.springframework.extensions.surf.persister.PersisterService.init(PersisterService.java:182)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
   … 75 more
Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: hmis: hmis: Name or service not known
   at org.springframework.extensions.webscripts.GUID.<clinit>(GUID.java:57)
   … 88 more
Caused by: java.net.UnknownHostException: hmis: hmis: Name or service not known
   at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
   at org.springframework.extensions.webscripts.GUID.<clinit>(GUID.java:53)
   … 88 more
Caused by: java.net.UnknownHostException: hmis: Name or service not known
   at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
   at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
   at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
   at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
   … 89 more
18:52:32,097 WARN  [org.alfresco.util.RuntimeSystemPropertiesSetter] [localhost-startStop-1] Could not find alfresco-jmxrmi.password on classpath
18:52:32,499 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco' with user 'alfresco'.
18:52:32,603 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.2.4
18:52:37,398 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
18:52:37,439 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
18:52:37,472 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
18:52:44,445 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
18:52:44,447 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
18:52:48,349 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbcSmiley Tongueostgresql://localhost:5432/alfresco, UserName=alfresco, PostgreSQL Native Driver
18:52:48,349 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
18:52:48,431 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 81 potential problems, results written to: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-alf_-8362480606395694629.txt
18:52:48,441 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 14 potential problems, results written to: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-avm_-5224530576584862821.txt
18:52:48,457 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 28 potential problems, results written to: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-jbpm_-6022486078840398004.txt
18:52:48,470 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 23 potential problems, results written to: /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-act_-7810748078120909183.txt
18:52:48,509 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-alf_-4224737329269157181.xml.
18:52:48,509 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-avm_-8629684443314461225.xml.
18:52:48,509 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-jbpm_-3934206182621469428.xml.
18:52:48,509 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-pre-upgrade-act_-1040617297489877901.xml.
18:52:48,524 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-3641656045086141877.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-RepoTables.sql).
18:52:54,671 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-3261765801360958034.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-LockTables.sql).
18:52:54,880 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-90133999178494736.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ContentTables.sql).
18:52:55,355 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-7661110971215396637.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-PropertyValueTables.sql).
18:52:56,374 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-2262642751961900408.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-AuditTables.sql).
18:52:56,850 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-8121629310785668480.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ActivityTables.sql).
18:52:57,360 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-6262858974683059742.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-UsageTables.sql).
18:52:57,459 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-7863196116155666927.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-SubscriptionTables.sql).
18:52:57,551 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-6751770642236747496.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-TenantTables.sql).
18:52:57,643 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-2248507624732863061.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-AvmTables.sql).
18:52:59,550 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-7633604814521265425.sql (Generated).
18:53:02,687 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-1271783606195612829.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoPostCreate-JBPM-Extra.sql).
18:53:02,729 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-6609902417941904935.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoPostCreate-JBPM-FK-indexes.sql).
18:53:06,353 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-Update-4713812637576703326.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoPostCreate-JBPM-varinst-indexes.sql).
18:53:06,401 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Create scripts executed in 18014 ms
18:53:10,014 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] All executed statements:  /opt/alfresco-5.0.a/tomcat/temp/Alfresco/AlfrescoSchema-PostgreSQLDialect-All_Statements-1061553018502674705.sql.
18:53:12,651 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml]
18:53:13,225 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-AVM.xml]
18:53:14,785 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-JBPM.xml]
18:53:16,077 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ACT.xml]
18:53:21,838 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-post-upgrade-alf_-7013974808618947654.xml.
18:53:21,838 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-post-upgrade-avm_-4609751593244903145.xml.
18:53:21,838 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-post-upgrade-jbpm_-3974393024758403834.xml.
18:53:21,838 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file /opt/alfresco-5.0.a/tomcat/temp/Alfresco/Alfresco-schema-PostgreSQLDialect-post-upgrade-act_-7856313636494480499.xml.
18:53:22,094 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 00300001 Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:362)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:723)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   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.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   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:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 00300000 Failed to get server IP address
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:465)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:437)
   at org.alfresco.util.ReadWriteLockExecuter.execute(ReadWriteLockExecuter.java:103)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getServerId(AbstractNodeDAOImpl.java:493)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getCurrentTransaction(AbstractNodeDAOImpl.java:660)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newNodeImpl(AbstractNodeDAOImpl.java:1371)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newStore(AbstractNodeDAOImpl.java:824)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.createStore(DbNodeServiceImpl.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:226)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:226)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy12.createStore(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy12.createStore(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at com.sun.proxy.$Proxy27.createStore(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:152)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:306)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy12.createStore(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
   at com.sun.proxy.$Proxy12.createStore(Unknown Source)
   at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:387)
   at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:71)
   at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:351)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
   at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:355)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:358)
   … 24 more
Caused by: java.net.UnknownHostException: hmis: hmis: Name or service not known
   at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:461)
   … 90 more
Caused by: java.net.UnknownHostException: hmis: Name or service not known
   at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
   at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
   at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
   at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
   … 91 more
4 REPLIES 4

douglascrp
World-Class Innovator
World-Class Innovator
I think you have problems with your network configuration, based on the log you posted:

Caused by: org.alfresco.error.AlfrescoRuntimeException: 00300000 Failed to get server IP address

and

Caused by: java.net.UnknownHostException: hmis: hmis: Name or service not known


Make sure everything network related is working and try again.

resplin
Elite Collaborator
Elite Collaborator
You should confirm that your hostname and IP address is in /etc/hosts. If you don't you will get an error similar to that one.

Also, I highly recommend you use 5.0.c instead of 5.0.a so long as you don't need one of the removed pieces (Explorer UI, workflow console, etc).

vriffo
Champ on-the-rise
Champ on-the-rise
Hello,

I have the same problem, How you should configure /etc/hosts?.

Regards.
Valentina.

beber7
Champ in-the-making
Champ in-the-making
It's important to give people answer, specially after asking….

To edit the host file, you just have to add the hostname with the local ip ( 127.0.0.1 )

Let's say by default your hosts file is :

127.0.0.1 localhost localhost.domain1
::1

——– edit the file to have it this way ——

127.0.0.1 localhost localhost.domain1
::1
127.0.0.1 YourHostName

———————————

To find the hostname, 2 ways…
1) in the share.log like the post above you have an error telling you this :

"Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: hmis: hmis: Name or service not known"

The hostname is hmis in this case.
So in the exemple it will be

127.0.0.1 hmis

2) Type the command line hostname in a linux env.

Good luck.