Extract the EJB container and Web container properties
for a specific server. Use the extractConfigProperties
command to extract the server configuration, as the following Jython
examples demonstrates:
AdminTask.extractConfigProperties('[-propertiesFileName ejbcontainer.props -configData
Server=server1 -filterMechanism SELECTED_SUBTYPES -selectedSubTypes [EJBContainer WebContainer]]')
The system extracts the properties file, as the following
example displays:
# # SubSection 1.0 # EJBContainer # ResourceType=EJBContainer
ImplementingResourceType=EJBContainer
ResourceId=Cell=!{cellName}:Node=!{nodeName}:Server=!{serverName}:ApplicationServer=ID#ApplicationServer_1:EJBContainer=ID#EJBCon
ntainer_1 AttributeInfo=components # # #Properties # EJBTimer={} #ObjectName*(null) name=null defaultDatasourceJNDIName=null
inactivePoolCleanupInterval=30000 #long passivationDirectory="${USER_INSTALL_ROOT}/temp" enableSFSBFailover=false #boolean
server=null parentComponent=WebSphere® Application Server, Network Deployment Server # # SubSection 1.0 # WebContainer # ResourceType=WebContainer
ImplementingResourceType=WebContainer
ResourceId=Cell=!{cellName}:Node=!{nodeName}:Server=!{serverName}:ApplicationServer=ID#ApplicationServer_1:WebContainer=ID#WebCon
ntainer_1 AttributeInfo=components # # #Properties # enableServletCaching=false #boolean name=null defaultVirtualHostName=null
server=null maximumPercentageExpiredEntries=15 #integer asyncIncludeTimeout=60000 #integer parentComponent=WebSphere Application Server, Network Deployment
Server disablePooling=false #boolean sessionAffinityFailoverServer=null maximumResponseStoreSize=100 #integer
allowAsyncRequestDispatching=false #boolean sessionAffinityTimeout=0 #integer EnvironmentVariablesSection # #Environment
Variables #Thu Apr 17 14:17:25 CDT 2008 cellName=myCell nodeName=myNode hostName=myhost.com serverName=dmgr
The
properties file does not display the cell, node, server, cluster,
application, core group, or node group names. Instead, the command
creates variables, such as !{cellName}, and includes them
in the EnvironmentVariables section at the bottom of the properties
file. The Environment Variables section contains each variable in
the properties file.
The EJBContainer=ID#EJBContainer_1 string
represents the EJBContainer object within the server. Use this XML
ID to uniquely identify the object in the configuration. You can
modify this field to EJBContainer=myContainer if the name field is
set to myContainer in the configuration before you apply the properties
file to the configuration.