[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 Dec 4 11:43:06 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-15602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-15602:
-------------------------------------

    Labels: openshift-java-client  (was: )

    
> 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
>            Priority: Minor
>              Labels: openshift-java-client
>             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:title=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