[jbosstools-issues] [JBoss JIRA] (JBIDE-14658) Management poller too slow for synchronous polling, should be disabled

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue May 28 06:28:07 EDT 2013


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

Rob Stryker commented on JBIDE-14658:
-------------------------------------

The PR has been updated. The solution now involves the following:

1) Adding getProperty method to the IAS7ManagementDetails, which is a parameter to all management requests. This allows for extendability of future enhancements, which can then be served via a property key.  
2) Adding a new PROPERTY_TIMEOUT string constant to serve as a property key
3) Synchronous state requests now force a timeout of less than 1 second. 

The getProperty interface method returns an Object to ensure that if in the future more complex additions are required, they can all be added via property keys without necessitating future api changes... only key additions.   Each key should declare what type of values are acceptable for the given key. 
                
> Management poller too slow for synchronous polling, should be disabled
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-14658
>                 URL: https://issues.jboss.org/browse/JBIDE-14658
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.1.0.Beta2
>
>
> The management poller has a timeout of 5000 ms deep in the app server client jar code. I haven't figured out how to isolate it yet, or to change the timeout value, and so until that can be done, it'd be better to ensure that the management poller is disabled for synchronous calls when the server is likely down (ie during a 'startup' call) until that can be figured out. 
> This would have the effect of the web port poller being used for such synchronous calls. This could be reversed once sufficient api was discovered / added to control the timeouts. 

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