javax.naming.CommunicationException: Could not obtain connection to any of these urls: <servername>:1459 [Root exception is javax.naming.CommunicationException: Failed to connect to server <servername>:1459 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server <servername>:1459 [Root exception is java.net.ConnectException: Connection refused]]]

Server Fault | Dennis Röttger | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Connection Refused Error Java/Linux - Server Fault

    serverfault.com | 8 months ago
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: <servername>:1459 [Root exception is javax.naming.CommunicationException: Failed to connect to server <servername>:1459 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server <servername>:1459 [Root exception is java.net.ConnectException: Connection refused]]]
  2. 0

    Connection Refused Error Java/Linux

    Server Fault | 4 years ago | Dennis Röttger
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: <servername>:1459 [Root exception is javax.naming.CommunicationException: Failed to connect to server <servername>:1459 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server <servername>:1459 [Root exception is java.net.ConnectException: Connection refused]]]
  3. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 1 year ago
    javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shutdown Jboss server on Solaris 10 fails: naming.CommunicationException - TechRepublic

    techrepublic.com | 9 months ago
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 ]]
  6. 0

    Properly restarting jboss in linux

    experts-exchange.com | 10 months ago
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]]
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.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:276)
    9 frames
  3. org.jnp.interfaces
    NamingContext.lookup
    1. org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
    2. org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
    3. org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)
    4. org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
    5. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
    6. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
    6 frames
  4. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:392)
    1 frame
  5. JBoss Application Server Server
    Shutdown.main
    1. org.jboss.Shutdown.main(Shutdown.java:214)
    1 frame