Home

Failed to get server IP address

You are here

2 posts / 0 new
Last post
Failed to get server IP address

hi

i need some help with a config issue.
I have build my alfresco on my local machine, configured it and it did run ok.
that same set up was copied to another machine and now it starts tomcat but fails to start alfresco. This is the log:

'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'indexerAndSearcherFactory' while setting bean property 'indexerAndSearcherFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'nodeDaoService' while setting bean property 'nodeDaoService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDaoService' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'nodeDaoServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDaoServiceImpl' defined in class path resource [alfresco/hibernate-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl]: Constructor threw exception; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failed to get server IP address

can anyone give me a hint please what to do about that?
Thanx Bjoern

Quote:

14:51:02,429 ERROR [net.sf.ehcache.Cache] Unable to set localhost. This prevents creation of a GUID. Cause was: alfresco: alfresco
java.net.UnknownHostException: alfresco: alfresco
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at net.sf.ehcache.Cache.(Cache.java:106)

It might be worth checking your DNS and the machine's hosts file to make sure that the host can be resolved OK.

Regards,
Jan

<--- If this post was helpful, please click Yes on the Post Rating, thank you --->

http://wiki.alfresco.com/ - Alfresco Wiki docs
http://issues.alfresco.com/ - JIRA bug reporting site
https://developer.alfresco.com/ - Alfresco Developer Resources
https://my.alfresco.com/ - Signup for a free account to use "Alfresco in the cloud"