Start and stop a JBoss EAP server with CURL command
Issue
- How to start and stop JBOSS EAP using CURL command (REST API) ?
[jboss@server ~]$ curl --digest http://localhost/management --header "Content-Type:application/json" -u jboss:***** -d '{"address":[{"host":"host"},{"server":"server1"}],"operation":"start"}'
{
"outcome" : "failed",
"result" : null,
"failure-description" : "WFLYCTL0031: No operation named 'start' exists at address [\n (\"host\" => \"host\"),\n (\"server\" => \"server1\")\n]",
"rolled-back" : true
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.4.x
- 7.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.