[jbosstools-issues] [JBoss JIRA] (JBIDE-21463) Port Forwarding: No error message pop up when attempt to port-forward to a port in use

Viacheslav Kabanovich (JIRA) issues at jboss.org
Mon Feb 22 19:53:00 EST 2016


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

Viacheslav Kabanovich commented on JBIDE-21463:
-----------------------------------------------

IPortForwardable.forwardPorts() completes and after that IPortForwardable.isForwarding() returns true. 
UI updates its state by checking this boolean, then it seems that IPortForwardable.isForwarding() should return false for the failure.
Implementation in restclient in forwardPorts() starts a process  with command 'oc' and in isForwarding() it checks if the process is still alive. So, it seems that at port-forwarding to a used port the process keeps to be alive and some other means are needed to see that it failed.

> Port Forwarding: No error message pop up when attempt to port-forward to a port in use
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21463
>                 URL: https://issues.jboss.org/browse/JBIDE-21463
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.Beta2
>         Environment: OpenShift 3 Tools: 3.1.0.Beta2-v20160114-1935-B149
> OS: Fedora 17 & MAC OS 10
>            Reporter: Xia Zhao
>              Labels: openshift_v3, port_forwarding_wizard
>             Fix For: 4.3.1.CR1
>
>
> No error message pop up when attempt to port-forward to a port in use in Jboss Developer Studio. This issue does not repro in Eclipse on Mac OS.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list