java.net.UnknownHostException: localhost.localdomain: localhost.localdomain

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • dbconsole won't start in FC7
    via by 626886,
  • OEM is not up during installing Oracle11g !
    via by shipon_97,
  • Firfox: launch browser
    via by klaus,
  • InetAddress Example program in Java
    via by Unknown author,
  • Dear expert, Is Sonar 1.9.2 compatible with JDK 1.5? I am not able to startup sonar 1.9.2 on Tomcat 6.0.18 running against JDK 1.5. Below is the error message {noformat}[a_svn@bdtools03 bin]$ ./catalina.sh run Using CATALINA_BASE: /local/btd/tools/tomcat-6.0.18 Using CATALINA_HOME: /local/btd/tools/tomcat-6.0.18 Using CATALINA_TMPDIR: /local/btd/tools/tomcat-6.0.18/temp Using JRE_HOME: /local/tools/jdk1.5.0_19 Jun 8, 2009 3:33:07 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /local/tools/jdk1.5.0_19/jre/lib/i386/server:/local/tools/jdk1.5.0_19/jre/lib/i386:/local/tools/jdk1. 5.0_19/jre/../lib/i386 Jun 8, 2009 3:33:07 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8081 Jun 8, 2009 3:33:07 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1146 ms Jun 8, 2009 3:33:07 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jun 8, 2009 3:33:07 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 JNDI data source unavailable: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context; trying straight JDB C JNDI data source unavailable: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context; trying straight JDB C JNDI data source unavailable: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context; trying straight JDB C Jun 8, 2009 3:33:32 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jun 8, 2009 3:33:32 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/sonar] startup failed due to previous errors About to detach context named Sonar 2009.06.08 15:33:32 WARN root Stopping logger context Sonar Jun 8, 2009 3:33:33 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8081 Jun 8, 2009 3:33:33 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8010 Jun 8, 2009 3:33:33 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/30 config=null Jun 8, 2009 3:33:33 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 26219 ms Jun 8, 2009 3:33:33 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[8006]: java.net.UnknownHostException: localhost: localhost at java.net.InetAddress.getAllByName0(InetAddress.java:1145) at java.net.InetAddress.getAllByName(InetAddress.java:1072) at java.net.InetAddress.getAllByName(InetAddress.java:1008) at java.net.InetAddress.getByName(InetAddress.java:958) at org.apache.catalina.core.StandardServer.await(StandardServer.java:373) at org.apache.catalina.startup.Catalina.await(Catalina.java:642) at org.apache.catalina.startup.Catalina.start(Catalina.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Jun 8, 2009 3:33:33 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8081 Jun 8, 2009 3:33:34 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jun 8, 2009 3:33:34 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8081 {noformat} However, if I switch to JDK 1.6.0_10, it is starting up fine. Is Sonar 1.9.2 actually compatible with JDK 1.5? Please help... Regards, Hai
    via by Hai Phan,
    • java.net.UnknownHostException: localhost.localdomain: localhost.localdomain at java.net.InetAddress.getAllByName0(InetAddress.java:1145) at java.net.InetAddress.getAllByName(InetAddress.java:1072) at java.net.InetAddress.getAllByName(InetAddress.java:1008) at java.net.InetAddress.getByName(InetAddress.java:958) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4289) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598) at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167) at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155) at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364) at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290)

    Users with the same issue

    rp
    rp1 times, last one,
    poroszd
    poroszd1 times, last one,
    Dunmer
    Dunmer5 times, last one,
    iferca
    iferca1 times, last one,
    Andreas Häber
    Andreas Häber756 times, last one,
    45 more bugmates