Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12046

[maintenance] Inform users that their remote servers are unreachable rather than wait for what breaks first

XMLWordPrintable

    • Hide
      When a user tried to start or deploy to a remote server that was no longer reachable, various errors would be returned, however no adequate description of the issue was communicated. This issue has been resolved by returning a descriptive error when the remote server is unreachable and checking for file system responsiveness before attempting to publish.
      Show
      When a user tried to start or deploy to a remote server that was no longer reachable, various errors would be returned, however no adequate description of the issue was communicated. This issue has been resolved by returning a descriptive error when the remote server is unreachable and checking for file system responsiveness before attempting to publish.
    • Documented as Resolved Issue

      When you have a remote AS7 or deploy-only server set up and the remote host becomes unreachable and then you try to start the server or deploy to the deploy-only server, you get various errors, such as:

      !ENTRY org.jboss.ide.eclipse.as.rse.core 4 1644298251 2012-05-29 15:24:03.804
      !MESSAGE failed to delete /home/rasp/jbossqa/runtimes/jboss-as-7.1.1.Final/standalone/deployments/dynproj.war on host marvin.brq.redhat.com
      !STACK 0
      org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
      	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.makeSystemMessageException(SftpFileService.java:599)
      	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.getChannel(SftpFileService.java:546)
      	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.delete(SftpFileService.java:1124)
      	at org.jboss.ide.eclipse.as.rse.core.RSERemotePublishHandler$3.run(RSERemotePublishHandler.java:136)
      	at org.jboss.ide.eclipse.as.rse.core.RSERemotePublishHandler$1.run(RSERemotePublishHandler.java:79)
      

      or

      !ENTRY org.jboss.ide.eclipse.as.rse.core 4 0 2012-05-29 15:23:56.770
      !MESSAGE Could not execute command on remote server jboss-as-7.1.1.Final marvin
      !STACK 0
      org.eclipse.rse.services.files.RemoteFileException: Error creating Terminal
      	at org.eclipse.rse.internal.services.ssh.terminal.SshTerminalShell.<init>(SshTerminalShell.java:129)
      	at org.eclipse.rse.internal.services.ssh.terminal.SshTerminalService.launchTerminal(SshTerminalService.java:41)
      	at org.eclipse.rse.internal.services.shells.TerminalShellService.runCommand(TerminalShellService.java:65)
      	at org.eclipse.rse.services.shells.AbstractShellService.runCommand(AbstractShellService.java:53)
      	at org.jboss.ide.eclipse.as.rse.core.RSEHostShellModel$ServerShellModel.createStartupShell(RSEHostShellModel.java:95)
      	at org.jboss.ide.eclipse.as.rse.core.AbstractRSELaunchDelegate.executeRemoteCommand(AbstractRSELaunchDelegate.java:40)
      	at org.jboss.ide.eclipse.as.rse.core.RSEJBoss7StartLaunchDelegate.actualLaunch(RSEJBoss7StartLaunchDelegate.java:39)
      	at org.jboss.ide.eclipse.as.core.server.internal.launch.DelegatingStartLaunchConfiguration.actualLaunch(DelegatingStartLaunchConfiguration.java:58)
      	at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossStartLaunchConfiguration.launch(AbstractJBossStartLaunchConfiguration.java:139)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
      	at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3462)
      	at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3400)
      	at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      It would be nice if we could first check if the server is reachable at all and inform users appropriately.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: