[jbosstools-issues] [JBoss JIRA] (JBIDE-16867) Problem occurrs when restarting JPP 6

Rob Stryker (JIRA) issues at jboss.org
Thu Mar 27 15:12:14 EDT 2014


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

Rob Stryker commented on JBIDE-16867:
-------------------------------------

After 30 more attempts, I am unable to replicate this with management poller.  Only with web poller.   Workaround:  Use management poller. 

The real issue here, as far as I can tell, is that servertools treats a restart as a shutdown followed by a start. The web port poller sees the server is shutdown slightly earlier than the process terminates. This means eclipse begins your next launch, possibly, before the original process is 100% terminated.  The flow looks like this:

1) you click restart
2) wtp tries to stop the server, sets state to 'stopping'
3) web port poller says server is stopped, sets state to 'stopped'
4) wtp immediately tries to launch server
5) my code sets server to 'starting', begins to launch new process
6) original launch process is now fully terminated, It sets server state to 'stopped'
7) wtp sees server state went from 'starting' to 'stopped', assumes start failed, shows dialog. 
                
> Problem occurrs when restarting JPP 6
> -------------------------------------
>
>                 Key: JBIDE-16867
>                 URL: https://issues.jboss.org/browse/JBIDE-16867
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta1
>         Environment: java.version=1.7.0_40
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk
>            Reporter: Radoslav Rábara
>            Assignee: Rob Stryker
>              Labels: respin-a
>             Fix For: 4.2.0.Beta1
>
>         Attachments: jpp.log
>
>


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