[
https://issues.jboss.org/browse/JBIDE-12046?page=com.atlassian.jira.plugi...
]
Isaac Rooskov updated JBIDE-12046:
----------------------------------
Release Notes Text: 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. (was: 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 to a remote server.)
[maintenance] Inform users that their remote servers are unreachable
rather than wait for what breaks first
-----------------------------------------------------------------------------------------------------------
Key: JBIDE-12046
URL:
https://issues.jboss.org/browse/JBIDE-12046
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS/Servers
Affects Versions: 3.3.0.CR1
Reporter: Martin Malina
Assignee: Rob Stryker
Fix For: 3.3.1, 3.4.0.M1
Attachments: JBIDE_12201_12046.patch
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:
{code}
!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)
{code}
or
{code}
!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)
{code}
It would be nice if we could first check if the server is reachable at all and inform
users appropriately.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira