Bug 1147067
Summary: | Unable to undefine ThreadPool core-threads attribute | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jay Shaughnessy <jshaughn> |
Component: | Domain Management | Assignee: | Brian Stansberry <brian.stansberry> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | brian.stansberry, dandread, kkhan |
Target Milestone: | DR4 | ||
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: |
Description
Jay Shaughnessy
2014-09-26 18:45:31 UTC
I get this: [standalone@localhost:9999 /] /subsystem=threads/blocking-bounded-queue-thread-pool=pool:undefine-attribute(name=core-threads) { "outcome" => "failed", "failure-description" => "JBAS014749: Operation handler failed: java.lang.IllegalArgumentException", "rolled-back" => true } I don't know why you got a different failure. I thought perhaps it was the incorrect / before the : but even with that I get the failure above. That's a tangent though. The problem is server side, not in the CLI. The attribute doesn't have a default value but the handler for writes doesn't deal with undefined properly. I'm setting the component for this to Domain Management even though it's in a subsystem. But this little-used subsystem has no component in BZ. The fix is to have the write-attribute handler work the same as the add handler, and configure the runtime make core-threads match max-threads if the attribute is undefined. Brian, is it OK that core-threads value can exceed the max-threads value? Verified on EAP 6.4.0.DR6. |