[jbosstools-issues] [JBoss JIRA] (JBIDE-16634) No output to console using rse mode

Rob Stryker (JIRA) issues at jboss.org
Fri Feb 21 02:27:47 EST 2014


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

Rob Stryker commented on JBIDE-16634:
-------------------------------------

The bug seems caused by the following:
1) the initial command sent to the server ends with a &
2) our tools then sends an echo JBTOOLS_SERVER_START_CMD:\"$!   which shows the process id of the most recent command (so we know the pid)

During 1), we use the wrong API. Instead of creating a shell, and then sending the 2 commands, we instead call IShellService-object.launchCommand(etc), and then try to launch a second command on the same shell.   The effect this has is that once the first command is completed, the host shell shuts down (though the server still runs). The presence of the & causes the remote command to complete immediately. This also means we don't get to know the host shell id. 

Somehow this is either a regression or a bugfix in rse.  From all the reading, though, it seems its a bug fix in rse and that we were using the incorrect API which just happened to work. 
                
> No output to console using rse mode
> -----------------------------------
>
>                 Key: JBIDE-16634
>                 URL: https://issues.jboss.org/browse/JBIDE-16634
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Alpha2
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta1
>
>


--
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