Indeed there's some error getting localhost

13:40:29,172 ERROR Cache:202 - Unable to set localhost. This prevents creation 
of a GUID. Cause was: braincode-linux: braincode-linux
java.net.UnknownHostException: braincode-linux: braincode-linux
        at java.net.InetAddress.getLocalHost(InetAddress.java:1426)
        at net.sf.ehcache.Cache.<clinit>(Cache.java:200)
        at 
net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:302)
        at 
net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218)
        at net.sf.ehcache.CacheManager.configure(CacheManager.java:618)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:361)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:302)
        at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:131)
        at 
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)
        at 
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:238)
        at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
        at net.sf.basedb.core.HibernateUtil.init2(HibernateUtil.java:210)
        at net.sf.basedb.core.Application.start(Application.java:507)
        at net.sf.basedb.core.Application.start(Application.java:399)
        at 
net.sf.basedb.clients.web.servlet.StartStopServlet.init(StartStopServlet.java:58)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
        at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1385)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
        at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
        at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
        at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
        at java.lang.Thread.run(Thread.java:679)


How can this be solved?

Thanks
Paulo


On 2012-08-20, at 1:57 PM, Nicklas Nordborg <nick...@thep.lu.se> wrote:

> On 2012-08-20 18:56, Paulo Nuin wrote:
>> Hi
>> 
>> The computer has a name under /etc/HOSTNAME running SuSE, and network is 
>> fine.
> 
> Check Tomcat's log file if there are any error messages. The name is set 
> to 'unknown' if the name can't be retrieved from the system.
> 
> /Nicklas
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> The BASE general discussion mailing list
> basedb-users@lists.sourceforge.net
> unsubscribe: send a mail with subject "unsubscribe" to
> basedb-users-requ...@lists.sourceforge.net


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
basedb-users-requ...@lists.sourceforge.net

Reply via email to