Java threads stalled in InetAddress.getLocalHost or Inet4AddressImpl.getHostByAddr
Issue
- We have java/JBoss threads getting stalled in the following call:
"ajp-127.0.0.1-8009-1" daemon prio=10 tid=0x00002aaab468b000 nid=0x144f runnable [0x0000000046cda000]
java.lang.Thread.State: RUNNABLE
at java.net.Inet4AddressImpl.getLocalHostName(Native Method)
at java.net.InetAddress.getLocalHost(InetAddress.java:1342)
- Or stalled in:
"ajp-127.0.0.1-8009-1" daemon prio=10 tid=0x00007fc6e828a800 nid=0x5892 runnable [0x00007fc67b4c6000]
java.lang.Thread.State: RUNNABLE
at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
at java.net.InetAddress$1.getHostByAddr(InetAddress.java:880)
at java.net.InetAddress.getHostFromNameService(InetAddress.java:559)
at java.net.InetAddress.getCanonicalHostName(InetAddress.java:530)
at org.rhq.core.pc.PluginContainerConfiguration.getContainerName(PluginContainerConfiguration.java:700)
at org.rhq.core.pc.inventory.InventoryManager.discoverPlatform(InventoryManager.java:1651)
at org.rhq.core.pc.inventory.InventoryManager.executePlatformScan(InventoryManager.java:445)
at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.pluginDiscovery(AutoDiscoveryExecutor.java:154)
at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call(AutoDiscoveryExecutor.java:104)
at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call(AutoDiscoveryExecutor.java:70)
Environment
- Red Hat Enterprise Linux (RHEL)
- JBoss Enterprise Application Platform
- Java
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
