Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to configure a new custom property:
Steps for this task
Using Jacl:
set newmp [$AdminConfig getid /Cell:mycell/Node:mynode/MailProvider:MP1/]
newmp = AdminConfig.create('MailProvider', node, mpAttrs) print newmp
MP1(cells/mycell/nodes/mynode|resources.xml#MailProvider_1)
Using Jacl:
set propSet [$AdminConfig showAttribute $newmp propertySet]
propSet = AdminConfig.showAttribute(newmp, 'propertySet') print propSet
(cells/mycell/nodes/mynode|resources.xml#PropertySet_2)
Using Jacl:
$AdminConfig required J2EEResourceProperty
print AdminConfig.required('J2EEResourceProperty')
Attribute Type name String
Using Jacl:
set name [list name CP1] set cpAttrs [list $name]
{name CP1}
name = ['name', 'CP1'] cpAttrs = [name] print cpAttrs
[[name, CP1]]
Using Jacl:
$AdminConfig create J2EEResourceProperty $propSet $cpAttrs
print AdminConfig.create('J2EEResourceProperty', propSet, cpAttrs)
CP1(cells/mycell/nodes/mynode|resources.xml#J2EEResourceProperty_2)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object