0 Replies Latest reply on Oct 2, 2004 10:46 PM by sjlib

    Fail to start remote JBoss Server from JBoss IDE

    sjlib

      I installed the JBoss IDE for Eclipse 3.0. I'm trying to start a remote (on my local network) JBoss Server 3.23 through the plugin (Server Navigator). I configure the JBoss Remote Configuration host and port correctly. On the server machine I have the following :
      evil-queen bin # echo $JAVA_OPTS
      -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4142,suspend=n
      The run.sh script is being called to start the server.

      Please point me in the right direction of what I may be doing wrong or additional steps to troubleshoot. I can bring up the JMX console so the server starts and stops correctly. I've even deployed .wars to it successfully. I can't get the JBoss IDE inside Eclipse to recognize my remote server.

      No matter what I try I get the following exception: (By the way, no firewall on the machine that runs the JBoss Server) Any suggestions are appreciated. Thanks.

      Failed to connect to remote VM. Connection refused.
      java.net.ConnectException: Connection refused
      java.net.PlainSocketImpl.socketConnect(Native Method)
      java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      java.net.Socket.connect(Socket.java:452)
      java.net.Socket.connect(Socket.java:402)
      java.net.Socket.(Socket.java:309)
      java.net.Socket.(Socket.java:124)
      org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:47)
      org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:103)
      org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:131)
      org.jboss.ide.eclipse.launcher.core.configuration.RemoteServerLaunchConfigurationDelegate.launch(RemoteServerLaunchConfigurationDelegate.java:87)
      org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
      org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
      org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
      org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)