I am getting following exception while starting application.

15:44:41,540 WARN [CreateCacheUtil] Error obtaining local Ip java.net.UnknownHostException: labseconix701.int.asurion.lab: labseconix701.int.asurion.lab: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1473) at com.securonix.application.common.CreateCacheUtil.buildCache(CreateCacheUtil.java:75) at com.securonix.application.common.CreateCacheUtil.getCache(CreateCacheUtil.java:269) at com.securonix.application.cluster.ClusterUtil.isClusteringEnabled(ClusterUtil.java:152) at com.securonix.application.cluster.ClusterUtil.<clinit>(ClusterUtil.java:81) at com.securonix.application.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:163) at com.securonix.application.hibernate.util.DbUtil.executeHQLQuery(DbUtil.java:851) at com.securonix.application.license.EncryptionUtil.loadEncryptionKey(EncryptionUtil.java:57) at com.securonix.application.license.EncryptionUtil$loadEncryptionKey.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at BootStrap$_closure1.doCall(BootStrap.groovy:40) 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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:930) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at groovy.lang.Closure.call(Closure.java:282) at groovy.lang.Closure.call(Closure.java:277)

asked 08 Oct '14, 05:20

Praful's gravatar image

Praful ♦♦
1264925
accept rate: 5%


To resolve this , I added entry of ipaddress and host name to /etc/hosts file.

link

answered 08 Oct '14, 05:21

Praful's gravatar image

Praful ♦♦
1264925
accept rate: 5%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 08 Oct '14, 05:20

Seen: 787 times

Last updated: 08 Oct '14, 05:21

Related questions