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]]]

Coderanch | angelin prema | 9 years ago
  1. 0

    javax.naming.Communication Exception:

    Coderanch | 9 years ago | angelin prema
    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]]]
  2. 0

    Connection Refused Error Java/Linux - Server Fault

    serverfault.com | 5 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]]]
  3. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 11 months 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

    LinuxQuestions.org - javax.naming.ServiceUnavailableException ...

    linuxquestions.org | 7 months ago
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: jnp://172.23.17.40:1100,jnp://172.23.17.41:1100 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 172.23.17.41:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.23.17.41:1100 [Root exception is java.net.ConnectException: Connection refused]]]
  6. 0

    [SPR-5194] DefaultMessageListenerContainer creation fail before JMS server startup - Spring JIRA

    spring.io | 1 year ago
    javax.naming.CommunicationException: Failed to connect to server localhost:1199 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1199 ]]
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:516)
    7. java.net.Socket.connect(Socket.java:466)
    8. java.net.Socket.<init>(Socket.java:366)
    9. java.net.Socket.<init>(Socket.java:266)
    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:239)
    4. org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
    5. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
    6. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
    6 frames
  4. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:351)
    1 frame
  5. JBoss Application Server Server
    DLQHandler.createService
    1. org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:192)
    1 frame
  6. JBoss Application Server System
    ServiceMBeanSupport.create
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
    2. org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
    2 frames
  7. JBoss Application Server Server
    JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run
    1. org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
    2. org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
    2 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame