[jbosstools-issues] [JBoss JIRA] (JBIDE-18147) Port forwarding cause tearing down the session

Marián Labuda (JIRA) issues at jboss.org
Fri Aug 29 01:33:00 EDT 2014


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

Marián Labuda updated JBIDE-18147:
----------------------------------
    Workaround Description: 
1. Open Port forwarding shell and click Refresh. Close Port forwarding shell.
2. Open Edit user environment variable shell. Add variable locally and hit Refresh button. 
3. Table will be emptied and there is no error.
                Workaround: Workaround Exists


> Port forwarding cause tearing down the session
> ----------------------------------------------
>
>                 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: 4.2.0.CR2
>
>
> 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.1#6329)



More information about the jbosstools-issues mailing list