[jbosstools-issues] [JBoss JIRA] (JBIDE-16999) Tooling does not recognize remote server failed to start

Martin Malina (JIRA) issues at jboss.org
Mon Apr 7 05:20:13 EDT 2014


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

Martin Malina commented on JBIDE-16999:
---------------------------------------

As discussed on irc, there are a couple of options to explore.
One is to run something like this after the java command is launched on the remote server:
{code}pid=$! ; echo $pid; wait $pid ; echo $?{code}
This would print the pid and then the exit status. The problem with this is that it would wait for the process to finish before printing anything. So an alternative is to run wait in background.

Another option could be to check periodically the pid is still alive. Something like
{code}ps|grep $pid{code}
                
> Tooling does not recognize remote server failed to start
> --------------------------------------------------------
>
>                 Key: JBIDE-16999
>                 URL: https://issues.jboss.org/browse/JBIDE-16999
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta1
>         Environment: JBDS 8.0.0.Beta1a B82
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta2
>
>
> When you set up a remote server and then start it, but the java process on the remote host fails (e.g. wrong java version), the tooling will show that the server is starting. It should recognize that failed process.

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