Wildfly 14 CLI edit default jgroups
I'm having trouble to change the default channel for jgroups to use a different stack then udp.
I connect with
./jboss-cli.sh -c
Then i run
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
And i get error of
Failed to get the list of the operation properties:
"WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "jgroups"),
("channel" => "ee")
]"
I have a feeling I´m not connect to the standalone-ha.xml but instead the normal standalone.xml that doesn't contain jgroups. Any help with this would be appreciated.
Worth mentioning is that I'm running on a clean install of Wildfly 14 without any deployments or configurations.
command-line-interface wildfly
add a comment |
I'm having trouble to change the default channel for jgroups to use a different stack then udp.
I connect with
./jboss-cli.sh -c
Then i run
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
And i get error of
Failed to get the list of the operation properties:
"WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "jgroups"),
("channel" => "ee")
]"
I have a feeling I´m not connect to the standalone-ha.xml but instead the normal standalone.xml that doesn't contain jgroups. Any help with this would be appreciated.
Worth mentioning is that I'm running on a clean install of Wildfly 14 without any deployments or configurations.
command-line-interface wildfly
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53
add a comment |
I'm having trouble to change the default channel for jgroups to use a different stack then udp.
I connect with
./jboss-cli.sh -c
Then i run
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
And i get error of
Failed to get the list of the operation properties:
"WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "jgroups"),
("channel" => "ee")
]"
I have a feeling I´m not connect to the standalone-ha.xml but instead the normal standalone.xml that doesn't contain jgroups. Any help with this would be appreciated.
Worth mentioning is that I'm running on a clean install of Wildfly 14 without any deployments or configurations.
command-line-interface wildfly
I'm having trouble to change the default channel for jgroups to use a different stack then udp.
I connect with
./jboss-cli.sh -c
Then i run
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
And i get error of
Failed to get the list of the operation properties:
"WFLYCTL0030: No resource definition is registered for address [
("subsystem" => "jgroups"),
("channel" => "ee")
]"
I have a feeling I´m not connect to the standalone-ha.xml but instead the normal standalone.xml that doesn't contain jgroups. Any help with this would be appreciated.
Worth mentioning is that I'm running on a clean install of Wildfly 14 without any deployments or configurations.
command-line-interface wildfly
command-line-interface wildfly
edited Nov 13 '18 at 11:09
Marthin
asked Nov 13 '18 at 9:52
MarthinMarthin
3,405144887
3,405144887
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53
add a comment |
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53
add a comment |
1 Answer
1
active
oldest
votes
You need to run the server with ha profile configuration first of all:
wildfly-14.0.1.Final/bin/standalone.sh -c standalone-ha.xml
Run Jboss-cli:
wildfly-14.0.1.Final/bin/jboss-cli.sh -c --controller=127.0.0.1:9990
And then, on jboss-cli:
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278230%2fwildfly-14-cli-edit-default-jgroups%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to run the server with ha profile configuration first of all:
wildfly-14.0.1.Final/bin/standalone.sh -c standalone-ha.xml
Run Jboss-cli:
wildfly-14.0.1.Final/bin/jboss-cli.sh -c --controller=127.0.0.1:9990
And then, on jboss-cli:
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
add a comment |
You need to run the server with ha profile configuration first of all:
wildfly-14.0.1.Final/bin/standalone.sh -c standalone-ha.xml
Run Jboss-cli:
wildfly-14.0.1.Final/bin/jboss-cli.sh -c --controller=127.0.0.1:9990
And then, on jboss-cli:
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
add a comment |
You need to run the server with ha profile configuration first of all:
wildfly-14.0.1.Final/bin/standalone.sh -c standalone-ha.xml
Run Jboss-cli:
wildfly-14.0.1.Final/bin/jboss-cli.sh -c --controller=127.0.0.1:9990
And then, on jboss-cli:
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
You need to run the server with ha profile configuration first of all:
wildfly-14.0.1.Final/bin/standalone.sh -c standalone-ha.xml
Run Jboss-cli:
wildfly-14.0.1.Final/bin/jboss-cli.sh -c --controller=127.0.0.1:9990
And then, on jboss-cli:
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
edited Nov 13 '18 at 12:57
answered Nov 13 '18 at 10:19
Thiago ChagasThiago Chagas
20329
20329
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
add a comment |
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
I thought that was the case as well but it still throws the same exception
– Marthin
Nov 13 '18 at 11:02
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278230%2fwildfly-14-cli-edit-default-jgroups%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What's the output of: /profile=ha/subsystem=jgroups:read-resource
– Thiago Chagas
Nov 13 '18 at 11:35
Same exception for that. "No resource definition is registered for address"
– Marthin
Nov 13 '18 at 12:18
You are not using ha profile. I've downloaded the wildfly14 and found how to. See answer update.
– Thiago Chagas
Nov 13 '18 at 13:53