cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting new install on Linux

alwick
Champ in-the-making
Champ in-the-making
Using fedora core 5 and out of the box alfresco-community install.

JDK 1.5.0_14

I get the following error starting up the server:
sco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl]: Constructor threw excep
tion; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failed to
get server IP address
Caused by:
org.springframework.beans.BeanInstantiationException: Could not instantiate bean
class [org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl]: Constr
uctor threw exception; nested exception is org.alfresco.error.AlfrescoRuntimeExc
eption: Failed to get server IP address
Caused by:
org.alfresco.error.AlfrescoRuntimeException: Failed to get server IP address
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.<init
>(HibernateNodeDaoServiceImpl.java:138)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:8
4)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:6
0)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:45)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:701)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:687)

Any ideas?

Thanks,

-Al Wick
1 REPLY 1

ds-crcpress
Champ in-the-making
Champ in-the-making
Try this trick:

# ifconfig {ethernet device} | grep "inet"
    inet {ipaddress.output} netmask {netmask.output} broadcast {broadcast.output}

# hostname
{hostname.output}

# vi /etc/hosts

add


127.0.0.1              {hostname.output}
{ipaddress.output}     {hostname.output}