Bug 849964
Summary: | [eap6] Starting managed server fails afer 10seconds - Read timeout | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Libor Zoubek <lzoubek> | |
Component: | Plugins | Assignee: | Stefan Negrea <snegrea> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.4 | CC: | hrupp, theute | |
Target Milestone: | --- | |||
Target Release: | RHQ 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 851655 (view as bug list) | Environment: | ||
Last Closed: | 2013-08-31 10:10:28 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 707223, 851655 |
Description
Libor Zoubek
2012-08-21 11:10:55 UTC
Is there a longer stacktrace around somewhere? And are you sure about 10secs (and not 20secs) ? Operation code is in org.rhq.modules.plugins.jbossas7.ManagedASComponent#invokeOperation which does getASConnection().execute(op); which is public Result execute(Operation op) { return execute(op, false, 10); } So here the 10s timeout is defined. Option a) increase 10s to 30s by calling getASConnection().execute(op,<timeout in sec>); we have done that in one other place as well. b) add a config property to let the user specify a timeout value then continue with a) [15:27:41] <mfoley> yeah ... increasing the timeout ... that seems low-risk fix for this point in the JON 3.1.1 lifecycle ... i am good with that Applied option a) from comment #5. The timeout was increased from 10 to 30 seconds to avoid situations in which managed server operations run slower than expected due to heavy load on the host machine. master branch commit: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=b8a6a496d40915abb22fdd87753aec0c131ed95d verified on JON 3.1.1.CR1 Bulk close of old bugs in VERIFIED state. |