Configure an enterprise bean container
- Identify the appserver and assign it to the server variable.
set server [$AdminConfig getid /Cell:cellname/Node:nodename/Server:servername/]- Identify the EJB container belonging to the server and assign it to the ejbContainer variable.
set ejbContainer [$AdminConfig list EJBContainer $server]- View all the attributes of the EJB container, not including nested attributes:
$AdminConfig show $ejbContainerView all the attributes of the EJB container, including nested attributes:
$showall $ejbContainer- Modify the EJB cache settings
$AdminConfig modify $ejbContainer {{cacheSet {{cacheSize 2500} {cleanupInterval 3500}}}}Modify the cleanup interval attribute:
$AdminConfig modify $ejbContainer {{inactivePoolCleanupInterval 15000}}- Save changes:
$AdminConfig saveHere is a sample script: set_ejb_container.jacl