[jbosstools-issues] [JBoss JIRA] (JBIDE-17473) After forcestop, management shutdown does not clear forcestop flag

Rob Stryker (JIRA) issues at jboss.org
Thu Jul 3 03:14:24 EDT 2014


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

Rob Stryker commented on JBIDE-17473:
-------------------------------------

As soon as I change the password in your step 2 and save the editor,  I get an error dialog that shows up that says that we cannot verify the server is up.  This is actually kinda expected, as an incremental publish is being called once the server editor is saved, and since we're in management mode, we need to verify the server's management is up and ready. This isn't really relevant to the issue, but just thought I'd mention it. 

1. Start a remote EAP 6.2 (management, no runtime)
2. Once server is started, change credentials in server editor to something wrong
    2a)  Error message as shown above  (SEMI-expected?)
3. Stop server - fails (expected)
4. Stop server again - is killed (expected)
5. Fix credentials in server editor and save
6. Start server again
7. Stop server -   WORKS AS EXPECTED

I've traced through the code to verify I'm not missing anything, and it seems all flags are properly maintained and cleared when they're supposed to. 

So, I'm not able to replicate this.  

> After forcestop, management shutdown does not clear forcestop flag
> ------------------------------------------------------------------
>
>                 Key: JBIDE-17473
>                 URL: https://issues.jboss.org/browse/JBIDE-17473
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta3
>
>
> After a failed stop attempt, a flag is set on the server that the next stop attempt should be a force / kill of the process. 
> The second stop attempt is a force kill. 
> If you then start the server, and try to shut it down, it is force-killed immediately. This should not happen. It should try a normal stop first. 
> Solution is to clear the force flag after a force stop. 



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list