[jbosstools-issues] [JBoss JIRA] (JBIDE-15602) openshift-java-client: ApplicationResource#sshExecCmd is throwing with wrong msg

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Oct 2 12:32:02 EDT 2013


Andre Dietisheim created JBIDE-15602:
----------------------------------------

             Summary: openshift-java-client: ApplicationResource#sshExecCmd is throwing with wrong msg
                 Key: JBIDE-15602
                 URL: https://issues.jboss.org/browse/JBIDE-15602
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.2.0.Alpha1
            Reporter: Andre Dietisheim
            Assignee: Andre Dietisheim
             Fix For: 4.2.x


The message that is used when throwing an exception is wrong, it's reporting a failure to list forwardable ports where it's failing to execute an ssh-command:
{code:ApplicationResource#sshExecCmd}
try {
			session.openChannel("exec");
			channel = session.openChannel("exec");
			((ChannelExec) channel).setCommand(command);
			channel.connect();
			return sshStream.getLines(channel);
		} catch (JSchException e) {
			throw new OpenShiftSSHOperationException(e, "Failed to list forwardable ports for application \"{0}\"",
					this.getName());
		} catch (IOException e) {
			throw new OpenShiftSSHOperationException(e, "Failed to list forwardable ports for application \"{0}\"",
					this.getName());
		} finally {
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list