[jbosstools-issues] [JBoss JIRA] (JBIDE-18147) Port forwarding, Environment Variables: Port forwarding tears the SSH session down, harms environment variables

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jan 9 09:27:30 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-18147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031309#comment-13031309 ] 

Andre Dietisheim commented on JBIDE-18147:
------------------------------------------

setting fixVersion to LATER since the main focus now is to create tooling for OpenShift v3.

> Port forwarding, Environment Variables: Port forwarding tears the SSH session down, harms environment variables
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18147
>                 URL: https://issues.jboss.org/browse/JBIDE-18147
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.2.0.CR1
>            Reporter: Marián Labuda
>             Fix For: LATER
>
>
> After starting and stopping port forwarding there happens something wrong with session / ssh calling. I found it in Environment variables shell after creating env. variable and clicking on Refresh button. Following error has shown in log and environment variable from table was not removed, although it should be (Refresh button update local environment variables to environment variable of an existing OpenShift application).
> {code}
> com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eap"
> 	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:871)
> 	at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:840)
> 	at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:614)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
> 	at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: com.jcraft.jsch.JSchException: session is down
> 	at com.jcraft.jsch.Session.openChannel(Session.java:843)
> 	at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:865)
> 	... 6 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list