-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR12
-
None
-
User Experience
-
-
-
-
-
-
- Start EAP
- Add buffer pool
- Try to set buffer-size to negative value
Currently, setting of negative value passes:
[standalone@localhost:9990 /] /subsystem=io/buffer-pool=foo:write-attribute(name=buffer-size, value=-20 { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } }
although error in server log is thrown after reload:
2017-02-27 08:36:29,222 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "io"), ("buffer-pool" => "foo") ]) - failure description: { "WFLYCTL0080: Failed services" => {"org.wildfly.io.buffer-pool.foo" => "org.jboss.msc.service.StartException in service org.wildfly.io.buffer-pool.foo: Failed to start service Caused by: java.lang.IllegalArgumentException: XNIO000015: Parameter 'bufferSize' is out of range"}, "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.io.buffer-pool.foo"] }
There should be validation of this attribute.
- is cloned by
-
WFCORE-2334 It is possible to set buffer pool buffer-size attribute to negative value
- Resolved
-
JBEAP-9210 (7.0.z) It is possible to set buffer pool buffer-size attribute to negative value
- Closed
- is incorporated by
-
JBEAP-8874 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta6
- Closed