[jboss-user] [Beginners Corner] - Failed to connect to localhost:1099

angelin do-not-reply at jboss.com
Fri Jun 29 03:21:06 EDT 2007


Hi ,
When I start my server i got this exception.
I am attaching the exception for reference.
DEBUG [org.jnp.interfaces.NamingContext] Failed to connect to localhost:1099
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)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at com.dhyan.nms.client.common.util.JNDIUtil.isServerResponding(JNDIUtil.java:115)
        at com.dhyan.nms.client.security.ui.LoginControl$1.actionPerformed(LoginControl.java:1024)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:190)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:204)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2840)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2832)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
        at java.awt.Component.processEvent(Component.java:5265)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
        at java.awt.Component.dispatchEventImpl(Component.java:3841)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: 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:243)
        ... 39 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)
        at java.net.Socket.(Socket.java:366)
        at java.net.Socket.(Socket.java:266)
        at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
        at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
        ... 39 more
2007-06-29 12:51:19,937 INFO  [System.out] Server communication failure
2007-06-29 12:51:19,938 WARN  [System.err] javax.naming.CommunicationException: Server Communication Failure.
2007-06-29 12:51:19,938 WARN  [System.err] at com.dhyan.nms.client.common.util.JNDIUtil.isServerResponding(JNDIUtil.java:127)2007-06-29 12:51:19,938 WARN  [System.err] at com.dhyan.nms.client.security.ui.LoginControl$1.actionPerformed(LoginControl.java:1024)
2007-06-29 12:51:19,938 WARN  [System.err] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
2007-06-29 12:51:19,938 WARN  [System.err] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
2007-06-29 12:51:19,938 WARN  [System.err] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)2007-06-29 12:51:19,938 WARN  [System.err] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:190)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:204)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2840)2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.JComponent.processKeyBindings(JComponent.java:2832)
2007-06-29 12:51:19,939 WARN  [System.err] at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
2007-06-29 12:51:19,939 WARN  [System.err] at java.awt.Component.processEvent(Component.java:5265)
2007-06-29 12:51:19,939 WARN  [System.err] at java.awt.Container.processEvent(Container.java:1966)
2007-06-29 12:51:19,940 WARN  [System.err] at java.awt.Component.dispatchEventImpl(Component.java:3955)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.Container.dispatchEventImpl(Container.java:2024)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.Component.dispatchEvent(Component.java:3803)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
2007-06-29 12:51:19,941 WARN  [System.err] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.Component.dispatchEventImpl(Component.java:3841)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.Container.dispatchEventImpl(Container.java:2024)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.Window.dispatchEventImpl(Window.java:1774)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.Component.dispatchEvent(Component.java:3803)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
2007-06-29 12:51:19,942 WARN  [System.err] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059026#4059026

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059026



More information about the jboss-user mailing list