JON CLI shutdown() doesn't work on JBoss EAP 5.1
Issue
-
I am following the documentation to try and shutdown the server via a CLI script. When I try and call the operation:
server.shutdown(); -
I receive the following error.
Found resource localhost:1099 default of type JBossAS Server and ID 10276 --> Caught TypeError: Cannot find function shutdown.
Environment
- JBoss Operations Network (JON) 2.4.0
- JBoss Enterprise Application Platform (EAP) 5.x
- JBoss Enterprise Application Platform (EAP) 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
