WebSphere Application Server - Express stores configuration data for each application server instance in XML documents, which reside in a cascading hierarchy of directories beneath the root directory for the instance. This hierarchy of directories makes up the administrative repository for a WebSphere Application Server - Express instance. The configuration documents describe the servers, nodes, applications, and resources that are part of the instance.
Hierarchy of configuration directories
The administrative repository for each instance starts with the config directory located directly under the root directory for the instance. For the myAppSvr instance, the administrative respository is contained in the /QIBM/UserData/WebASE51/ASE/myAppSvr/config directory.
The administrative repository for an instance contains the following directories and files:
/config
The config directory is the repository root directory for an instance. It contains a single file, plugin-cfg-service.xmi. The plugin-cfg-service file defines the custom service that causes the Web server plugin file, plugin-cfg.xml, to be regenerated each time the application server is started.
/config/cells
The cells subdirectory contains a single subdirectory for the cell to which the instance belongs. The cells directory also contains the Web server plugin file, plugin-cfg.xml. The Web server plugin that runs in your HTTP server instance uses this file to determine which web resources are installed in your instance.
/config/cells/cellname
For an instance of WebSphere Application Server - Express, the cell name is hostname_instance, where hostname is the iSeries system host name, and instance is the name of the instance.
The cell directory contains these files, which provide configuration data for the cell and for all of the nodes in the cell:
/config/cells/cellname/applications
The applications subdirectory contains a subdirectory for each application deployed in the cell.
/config/cells/cellname/applications/application
The names of the applications subdirectories match the names of the application's EAR files. For example, if an application is packaged in App1.ear, its subdirectory is also named App1.ear. Each deployed application subdirectory contains the EAR file for the application and a deployments subdirectory. The deployments subdirectory contains these files and subdirectories:
/config/cells/cellname/nodes
The nodes subdirectory contains a subdirectory for the instance node.
/config/cells/cellname/nodes/nodename
Node names for instances of WebSphere Application Server - Express are hostname_instance, where hostname is the iSeries system host name, and instance is the name of the instance.
Each node subdirectory contains these files:
Note: Some of these files have the same names as those in the containing cell directory. The configurations specified in node-level documents override the configurations specified in cell documents having the same name.
/config/cells/cellname/nodes/nodename/servers/servername
The name of the subdirectory corresponds to the name of the server. The name of the application server is the same as the name of your instance.
The server directory contains a server.xml file, which provides configuration data specific to the server process. The server can also have files such as variables.xml and resources.xml, which provide additional configuration data that applies only to the server process.
The server subdirectory can contain any of these files:
Note: Some of these files have the same names as those in the containing node or cell directory. The configurations specified in server-level documents override the configurations specified in node and cell documents having the same name.
config/templates
The templates directory contains two subdirectories, named default and system, which contain template XML files for several configuration object types such as servers and JDBC providers.
The WebSphere administrative console uses these templates when displaying default properties for a resource you are creating. You can also use these templates with the wsadmin scripting tool to create new resources based on the templates.
Here is an example of the structure.
config cells cell1 cell.xml resources.xml virtualhosts.xml variables.xml security.xml applications sampleApp1 deployment.xml META-INF application.xml ibm-application-ext.xml ibm-application-bnd.xml sampleApp2 deployment.xml META-INF application.xml ibm-application-ext.xml ibm-application-bnd.xml nodes nodeX node.xml variables.xml resources.xml serverindex.xml servers serverA server.xml variables.xml