[
https://issues.redhat.com/browse/WFCORE-5093?page=com.atlassian.jira.plug...
]
Ranabir Chakraborty updated WFCORE-5093:
----------------------------------------
Description:
The customer has opened one case where they are saying, CLI is not throwing an error while
adding invalid values of -Xmx and -Xms.
I tried to replicate the same in EAP 7.2.8 and I observe the same behavior.
~~~
[domain@localhost:9990 /]
/server-group=main-server-group/jvm=default:write-attribute(name=heap-size,value=toto)
{code:java}
{ "outcome" => "success",
"result" => undefined,
"server-groups" => {"main-server-group" => {"host"
=> {"master" => { "server-one" => {"response" =>
{ "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" } }}, "server-two" => {"response"
=> { "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" }
}} }}}} }
{code}
However, the server failed to start but it should not accept invalid values likes garbage
STRING while addition.
The domain controller is what would validate the value but what it, or even the Host
Controllers, would be running is not necessarily what the servers would be running.
was:
The customer has opened one case where they are saying, CLI is not throwing an error while
adding invalid values of -Xmx and -Xms.
I tried to replicate the same in EAP 7.2.8 and I observe the same behavior.
~~~
[domain@localhost:9990 /]
/server-group=main-server-group/jvm=default:write-attribute(name=heap-size,value=toto)
{code:java}
{ "outcome" => "success",
"result" => undefined,
"server-groups" => {"main-server-group" => {"host"
=> {"master" => { "server-one" => {"response" =>
{ "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" } }}, "server-two" => {"response"
=> { "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" }
}} }}}} }
{code}
However, the server failed to start but it should not accept invalid values likes STRING
while addition.
CLI accept invalid values for -Xms and -Xmx while adding
--------------------------------------------------------
Key: WFCORE-5093
URL:
https://issues.redhat.com/browse/WFCORE-5093
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Affects Versions: 13.0.0.Beta4
Reporter: Ranabir Chakraborty
Assignee: Ranabir Chakraborty
Priority: Major
The customer has opened one case where they are saying, CLI is not throwing an error
while adding invalid values of -Xmx and -Xms.
I tried to replicate the same in EAP 7.2.8 and I observe the same behavior.
~~~
[domain@localhost:9990 /]
/server-group=main-server-group/jvm=default:write-attribute(name=heap-size,value=toto)
{code:java}
{ "outcome" => "success",
"result" => undefined,
"server-groups" => {"main-server-group" => {"host"
=> {"master" => { "server-one" => {"response" =>
{ "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" } }}, "server-two" => {"response"
=> { "outcome" => "success", "response-headers" =>
{ "operation-requires-restart" => true, "process-state" =>
"restart-required" }
}} }}}} }
{code}
However, the server failed to start but it should not accept invalid values likes garbage
STRING while addition.
The domain controller is what would validate the value but what it, or even the Host
Controllers, would be running is not necessarily what the servers would be running.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)