How can we shutdown an EAP 6 using JBoss ON CLI?

Solution Unverified - Updated -

Issue

  • How can we shutdown an EAP 6 using JBoss ON CLI?
  • I have found correct resource, but when I execute shutdown(), I get the error:
...
--> Caught TypeError: Cannot find function shutdown in object Resource[id=37731, uuid=ea1f501d-cb84-48b5-bf19-efd38274c4ae, type={JBossAS7}JBossAS7 Standalone Server, key=/usr/jbossas/standalone, name=EAP (myServer:9990), version=EAP 6.1.1.GA].
...

Environment

  • Red Hat JBoss Operations Network (JON) 3.1.2
  • Red Hat JBoss ON Command Line Interface (CLI) 3.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.