java.net.UnknownHostException: (none): (none)

Oracle Community | itdude | 7 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Startup Problem - Port used

    Oracle Community | 7 years ago | itdude
    java.net.UnknownHostException: (none): (none)
  2. 0
    samebug tip
    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts
  3. 0

    InetAddress.getLocalHost() throws UnknownHostException

    Stack Overflow | 7 years ago | jhwist
    java.net.UnknownHostException: desvearth01: desvearth01
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting a java.net.UnknownHostException - forum.slicehost.com

    slicehost.com | 2 years ago
    java.net.UnknownHostException: turtledome-cd: turtledome-cd
  6. 0

    Error al iniciar glassfish

    Google Groups | 8 years ago | Laura
    org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    (none): (none)

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1353)
    1 frame
  3. Common Utilities
    NetUtils.getCanonicalHostName
    1. com.sun.enterprise.util.net.NetUtils.getCanonicalHostName(NetUtils.java:305)
    1 frame
  4. Kernel Classes
    SystemTasks.postConstruct
    1. com.sun.enterprise.v3.server.SystemTasks.setSystemPropertiesFromEnv(SystemTasks.java:146)
    2. com.sun.enterprise.v3.server.SystemTasks.postConstruct(SystemTasks.java:94)
    2 frames
  5. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
    2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
    3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
    4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
    5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
    6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
    6 frames
  6. HK2 Implementation Utilities
    Habitat.getByType
    1. org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1048)
    2. org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1029)
    2 frames
  7. Inversion of Control / Autodependency mechanism
    InjectInjectionResolver.getValue
    1. com.sun.hk2.component.InjectInjectionResolver.getComponentInjectValue(InjectInjectionResolver.java:159)
    2. com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:90)
    2 frames
  8. HK2 Implementation Utilities
    InjectionManager.inject
    1. org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:141)
    2. org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:91)
    2 frames
  9. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:126)
    2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
    3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
    4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
    5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
    6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
    6 frames
  10. HK2 core module
    Main.findStartupService
    1. com.sun.enterprise.module.bootstrap.Main.findStartupService(Main.java:378)
    1 frame
  11. Kernel Classes
    GlassFishActivator$1.newGlassFish
    1. org.glassfish.kernel.GlassFishActivator$1.newGlassFish(GlassFishActivator.java:105)
    1 frame
  12. Appserver Core
    GlassFishMain$Launcher.launch
    1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:113)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  14. Appserver Core
    ASMain.main
    1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
    2. com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)[#|2011-04-13T16:02:58.512+0200|WARNING|glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=1;_ThreadName=main;|RAR8068: Using default datasource : __ds_jdbc_ra for pool : mysql_liberty_groupPool|#]
    2 frames