[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8301) Not clear what Start/Stop actually does for remote servers

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Apr 18 11:03:33 EDT 2011


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

Rob Stryker commented on JBIDE-8301:
------------------------------------

You cannot really avoid these actions. Either you want the state to be accurate, in which case commands will be launched and polling will be done to verify the state, or you want non-actions, in which case the 'started' / 'stopped' state is 100% meaningless and irrelevant. 

You can't have it both ways. Either the state is accurate, and commands get launched, polling done, actions fail, or the state is irrelevant, and there's no verification anything is up or down, and then other actions will fail when the adapter assumes the server is up and tries to execute JMX commands on it. 

Please tell me if you would prefer actions fail when they are unsuccessful but state is accurate, OR if you'd prefer state be innacurate and start / stop do whatever you want with no verification (and hte possibility of other behaviour errors when the adapter expects functionality to be available and it is not). 

> Not clear what Start/Stop actually does for remote servers
> ----------------------------------------------------------
>
>                 Key: JBIDE-8301
>                 URL: https://issues.jboss.org/browse/JBIDE-8301
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 3.2.1
>
>
> when starting/stopping remote servers its not really clear what is going on - i.e. what is the semantics when stopping  a server that were already running when started ?
> Does it execute a command or does it just disconnect ?
> For example right now when I try and stop a server it keeps coming back saying "Server jboss-eap remote failed to stop." and it still says "Started". How do I actually make the server adapter think the server has stopped so it doesn't keep deploying to it withuot having to restart eclipse.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list