Photo of the cover of WebSphere Application Server Administration Using Jython

Official companion web site

Modify

Most recently modified on 2011-09-25
This article supplements the following sections of our book:
Chapter 8: The AdminConfig Object
Create and Modify Methods
page 160 to 162
You can buy our book from
Back to home pageBack to table of contents pageBack to interesting articles page
commanddescription
modify

If at all possible, avoid using this command. Use AdminTask commands if available. This is a very low level command that may or may not conflict with certain advanced WAS configurations. You have to pass the configuration ID of the element you wish to modify and a JACL list of lists of attributes that you wish to modify. Assume that the example code for AdminConfig.create() succeeded.

print AdminConfig.show( jaasID ) print AdminConfig.modify( jaasID, \ [ ['description',' LOOK at what we just changed!!'] ] ) print AdminConfig.show( jaasID ) print AdminConfig.modify( jaasID, [ ['description','We made another change'], \ ['userId', 'different-Database-User-ID'] ] ) print AdminConfig.show( jaasID )

See also these related articles:
AdminConfig SyntaxThe WAS Configuration TreeConfiguration TypesConfiguration IDsShow and Tell (Part 1)Show and Tell (Part 2)Show and Tell (Part 3)Preserving ChangesModifyCreateConfiguration Validation (Part 1)Configuration Validation (Part 2)Almost Never Used Commands (Part 1)Almost Never Used Commands (Part 2)
Click here to schedule a speaker at your locationClick here to inquire about consulting for your companyClick here to inquire about training for your company.