Wildfly 14 CLI edit default jgroups












0















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.










share|improve this question

























  • 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
















0















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.










share|improve this question

























  • 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














0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 11:09







Marthin

















asked Nov 13 '18 at 9:52









MarthinMarthin

3,395144887




3,395144887













  • 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













  • 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












1 Answer
1






active

oldest

votes


















0














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)





share|improve this answer


























  • I thought that was the case as well but it still throws the same exception

    – Marthin
    Nov 13 '18 at 11:02











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
});


}
});














draft saved

draft discarded


















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









0














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)





share|improve this answer


























  • I thought that was the case as well but it still throws the same exception

    – Marthin
    Nov 13 '18 at 11:02
















0














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)





share|improve this answer


























  • I thought that was the case as well but it still throws the same exception

    – Marthin
    Nov 13 '18 at 11:02














0












0








0







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)





share|improve this answer















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)






share|improve this answer














share|improve this answer



share|improve this answer








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



















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma