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 J2C resource adapter:
Steps for this task
Using Jacl:
set node [$AdminConfig getid /Cell:mycell/Node:mynode/]
node = AdminConfig.getid('/Cell:mycell/Node:mynode/') print node
mynode(cells/mycell/nodes/mynode|node.xml#Node_1)
Using Jacl:
$AdminConfig required J2CResourceAdapter
print AdminConfig.required('J2CResourceAdapter')
Attribute Type name String
Using Jacl:
set rarFile c:/currentScript/cicseci.rar set option [list -rar.name RAR1]
Using Jython:
rarFile = 'c:/currentScript/cicseci.rar' option = '[-rar.name RAR1]'
Using Jacl:
set newra [$AdminConfig installResourceAdapter $rarFile mynode $option]
newra = AdminConfig.installResourceAdapter(rarFile, 'mynode', option) print newra
RAR1(cells/mycell/nodes/mynode|resources.xml#J2CResourceAdapter_1)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object