Bug 654383 - Documentation for CLI should be corrected to include AS5 shutDown()
Summary: Documentation for CLI should be corrected to include AS5 shutDown()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Documentation
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Deon Ballard
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks: jon241-bugs
TreeView+ depends on / blocked
 
Reported: 2010-11-17 18:21 UTC by dsteigne
Modified: 2018-10-27 11:24 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 01:36:46 UTC
Embargoed:


Attachments (Terms of Use)

Description dsteigne 2010-11-17 18:21:36 UTC
Description of problem:
Following the documentation to try and shutdown the server via a CLI script.  When you try and call the operation on an AS5:
server.shutdown();

as documented at:
http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html-single/CLI_Guide/index.html#Scripted_Group_Deployments_using_the_CLI_API-Creating_the_Script 

Receive Caught TypeError: Cannot find function shutdown. 

The function is shutdown() on AS4 but shutDown()on AS5, the documentation should contain this difference

Version-Release number of selected component (if applicable):

2.4 
How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Deon Ballard 2011-05-19 18:27:48 UTC
Changing modified bugs to ON_QA.

Comment 3 Andrew Ross 2011-05-19 21:58:04 UTC
(In reply to comment #1)
> I found two places where shutdown() was mentioned, and I added shutDown() to
> both:
> 
> *
> http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/CLI_Guide/Scripted_Group_Deployments_using_the_CLI_API.html#Scripted_Group_Deployments_using_the_CLI_API-Creating_the_Script
> (this is in the description)
> 
> *
> http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/CLI_Guide/Control_Grouped_Servers_Via_The_CLI-Creating_the_JON_Scripts.html#Creating_the_JON_Scripts-Start_stop_and_restart

"The shutdown function for AS4 servers is shutdown() and for AS5 servers is shutDown(). "

"shutdown() for AS4 servers and shutDown() for AS5 servers "

Verified: JBoss_Operations_Network-CLI_Guide-2.4-web-en-US-4-0.4.el5


Note You need to log in before you can comment on or make changes to this bug.