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]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)

Coderanch | angelin prema | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javax.naming.Communication Exception:

    Coderanch | 10 years ago | angelin prema
    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]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
  2. 0

    Connection Refused Error Java/Linux - Server Fault

    serverfault.com | 10 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 | 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

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

    linuxquestions.org | 11 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 | 2 years ago
    javax.naming.CommunicationException: Failed to connect to server localhost:1199 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1199 ]]

  1. osvzs 2 times, last 1 week ago
  2. Casper 1 times, last 1 week ago
  3. QrCeric 1 times, last 2 weeks ago
  4. poroszd 1 times, last 1 month ago
  5. rp 1 times, last 1 month ago
29 more registered users
65 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.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. com.dhyan.nms
    LoginControl$1.actionPerformed
    1. com.dhyan.nms.client.common.util.JNDIUtil.isServerResponding(JNDIUtil.java:115)
    2. com.dhyan.nms.client.security.ui.LoginControl$1.actionPerformed(LoginControl.java:1024)
    2 frames
  6. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    5. javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    6. javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:190)
    7. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
    8. javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
    9. javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
    10. javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:204)
    11. javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2840)
    12. javax.swing.JComponent.processKeyBindings(JComponent.java:2832)
    13. javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
    14. java.awt.Component.processEvent(Component.java:5265)
    15. java.awt.Container.processEvent(Container.java:1966)
    16. java.awt.Component.dispatchEventImpl(Component.java:3955)
    17. java.awt.Container.dispatchEventImpl(Container.java:2024)
    18. java.awt.Component.dispatchEvent(Component.java:3803)
    19. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
    20. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
    21. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
    22. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
    23. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
    24. java.awt.Component.dispatchEventImpl(Component.java:3841)
    25. java.awt.Container.dispatchEventImpl(Container.java:2024)
    26. java.awt.Window.dispatchEventImpl(Window.java:1774)
    27. java.awt.Component.dispatchEvent(Component.java:3803)
    28. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    29. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    30. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    31. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    32. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    33. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    33 frames