javax.naming.CommunicationException: Could not obtain connection to any of these urls: remote://localhost:4447 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server remote:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server remote:1099 [Root exception is java.net.UnknownHostException: remote: Name or service not known]]]

Stack Overflow | Renju | 2 months ago
  1. 0

    Unable to access an EJB deployed in jboss as 7

    Stack Overflow | 2 months ago | Renju
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: remote://localhost:4447 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server remote:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server remote:1099 [Root exception is java.net.UnknownHostException: remote: Name or service not known]]]
  2. 0

    Exception in thread "main" javax.naming.CommunicationException

    Stack Overflow | 5 years ago | Rohit Elayathu
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: http://localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server http:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server http:1099 [Root exception is java.net.UnknownHostException: http]]]
  3. 0

    issue in stop running jvm, throwing errors. | JBoss Developer

    jboss.org | 1 year ago
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: JbossServerB:1199 [Root exception is javax.naming.CommunicationException: Failed to connect to server JbossServerB:1199 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server JbossServerB:1199 [Root exception is java.net.UnknownHostException: JbossServerB]]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JBAS-2237] Exception message and StackTrace do not correlate - JBoss Issue Tracker

    jboss.org | 7 months ago
    javax.naming.CommunicationException: Failed to connect to server https:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server https:1099 ]]
  6. 0

    [JBAS-2237] Exception message and StackTrace do not correlate - JBoss Issue Tracker

    jboss.org | 7 months ago
    javax.naming.CommunicationException: Failed to connect to server https:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server https:1099 ]]

  1. Andreas Häber 756 times, last 2 months ago
  2. tyson925 1 times, last 3 months ago
  3. rafalg 1 times, last 4 months ago
  4. Andreas Häber 1 times, last 6 months ago
  5. charries96 2 times, last 8 months ago
10 unregistered visitors
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

    remote: Name or service not known

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getByName
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
    3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
    4. java.net.InetAddress.getAllByName0(InetAddress.java:1246)
    5. java.net.InetAddress.getAllByName(InetAddress.java:1162)
    6. java.net.InetAddress.getAllByName(InetAddress.java:1098)
    7. java.net.InetAddress.getByName(InetAddress.java:1048)
    7 frames
  3. org.jnp.interfaces
    NamingContext.lookup
    1. org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76)
    2. org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
    3. org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
    4. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596)
    5. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
    5 frames
  4. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:411)
    1 frame
  5. com.test.ejb
    Client.main
    1. com.test.ejb.test.Client.main(Client.java:29)
    1 frame